-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New package: python3-packaging-20.7
- Loading branch information
Showing
4 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,19 @@ | ||
# Template file for 'python-packaging' | ||
pkgname=python-packaging | ||
version=20.4 | ||
revision=1 | ||
revision=2 | ||
wrksrc="packaging-${version}" | ||
build_style=python-module | ||
pycompile_module="packaging" | ||
hostmakedepends="python-setuptools python3-setuptools" | ||
depends="python-attrs python-parsing python-six" | ||
build_style=python2-module | ||
hostmakedepends="python-setuptools" | ||
depends="python-parsing python-six" | ||
short_desc="Core utilities for Python packages (Python2)" | ||
maintainer="Alessio Sergi <[email protected]>" | ||
license="Apache-2.0, BSD-2-Clause" | ||
homepage="https://github.com/pypa/packaging" | ||
changelog="https://raw.githubusercontent.com/pypa/packaging/master/CHANGELOG.rst" | ||
distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz" | ||
checksum=4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8 | ||
|
||
post_install() { | ||
vlicense LICENSE | ||
} | ||
|
||
python3-packaging_package() { | ||
pycompile_module="packaging" | ||
depends="python3-attrs python3-parsing python3-six" | ||
short_desc="${short_desc/Python2/Python3}" | ||
pkg_install() { | ||
vmove usr/lib/python3* | ||
vlicense LICENSE | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# packaging >= 20.5 drops setuptools for flit, which is py3-only; | ||
# prevent update hits on newer versions since they require py3 to build | ||
pattern="packaging-\K20\.4(\.[0-9.]+)?(?=.tar.gz)" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Template file for 'python3-packaging' | ||
pkgname=python3-packaging | ||
version=20.7 | ||
revision=1 | ||
wrksrc="packaging-${version}" | ||
build_style=python3-pep517 | ||
hostmakedepends="python3-flit_core" | ||
depends="python3-parsing" | ||
checkdepends="python3-pytest" | ||
short_desc="Core utilities for Python packages (Python3)" | ||
maintainer="Andrew J. Hesford <[email protected]>" | ||
license="Apache-2.0, BSD-2-Clause" | ||
homepage="https://github.com/pypa/packaging" | ||
distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz" | ||
checksum=05af3bb85d320377db281cf254ab050e1a7ebcbf5410685a9a407e18a1f81236 | ||
|
||
do_check() { | ||
: provides no tests | ||
} | ||
|
||
post_install() { | ||
vlicense LICENSE | ||
} |