28 lines
886 B
Bash
28 lines
886 B
Bash
# Template file for 'python3-packaging'
|
|
pkgname=python3-packaging
|
|
version=23.0
|
|
revision=1
|
|
# This package is required by python3-build, used by the python3-pep517 style;
|
|
# using that style here would create a cycle
|
|
build_style=python3-module
|
|
hostmakedepends="python3-flit_core python3-installer"
|
|
depends="python3-parsing"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Core utilities for Python packages (Python3)"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="Apache-2.0, BSD-2-Clause"
|
|
homepage="https://github.com/pypa/packaging"
|
|
distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz"
|
|
checksum=b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97
|
|
make_check=no # provides no tests
|
|
|
|
do_build() {
|
|
python3 -m flit_core.wheel
|
|
}
|
|
|
|
do_install() {
|
|
python3 -m installer --destdir "${DESTDIR}" \
|
|
"dist/packaging-${version}-py3-none-any.whl"
|
|
vlicense LICENSE
|
|
}
|