python3-packaging: break build cycle
This commit is contained in:
parent
120dbc7fc6
commit
1ceec9826f
|
@ -2,8 +2,10 @@
|
||||||
pkgname=python3-packaging
|
pkgname=python3-packaging
|
||||||
version=22.0
|
version=22.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-pep517
|
# This package is required by python3-build, used by the python3-pep517 style;
|
||||||
hostmakedepends="python3-flit_core"
|
# using that style here would create a cycle
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-flit_core python3-installer"
|
||||||
depends="python3-parsing"
|
depends="python3-parsing"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="Core utilities for Python packages (Python3)"
|
short_desc="Core utilities for Python packages (Python3)"
|
||||||
|
@ -14,6 +16,12 @@ distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz"
|
||||||
checksum=2198ec20bd4c017b8f9717e00f0c8714076fc2fd93816750ab48e2c41de2cfd3
|
checksum=2198ec20bd4c017b8f9717e00f0c8714076fc2fd93816750ab48e2c41de2cfd3
|
||||||
make_check=no # provides no tests
|
make_check=no # provides no tests
|
||||||
|
|
||||||
post_install() {
|
do_build() {
|
||||||
|
python3 -m flit_core.wheel
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
python3 -m installer --destdir "${DESTDIR}" \
|
||||||
|
"dist/packaging-${version}-py3-none-any.whl"
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue