python3-pyproject-hooks: update to 1.0.0.

This commit is contained in:
Andrew J. Hesford 2023-01-16 11:05:15 -05:00
parent c04d0b846f
commit 0cef5f08fc
1 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'python3-pyproject-hooks'
pkgname=python3-pyproject-hooks
version=0.13.0
version=1.0.0
revision=1
# This package is required by python3-build, used by the python3-pep517 style;
# using that style here would create a cycle
@ -13,8 +13,8 @@ short_desc="Low-level library for calling Python build backends"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="MIT"
homepage="https://pyproject-hooks.readthedocs.io/"
distfiles="${PYPI_SITE}/p/pep517/pep517-${version}.tar.gz"
checksum=ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59
distfiles="${PYPI_SITE}/p/pyproject_hooks/pyproject_hooks-${version}.tar.gz"
checksum=f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5
do_build() {
python3 -m flit_core.wheel
@ -22,11 +22,11 @@ do_build() {
do_check() {
rm pytest.ini
python3 -m pytest -n $XBPS_MAKEJOBS
PYTHONPATH="$(cd src && pwd)" pytest3 -n $XBPS_MAKEJOBS tests
}
do_install() {
python3 -m installer --destdir "${DESTDIR}" \
"dist/pep517-${version}-py3-none-any.whl"
"dist/pyproject_hooks-${version}-py3-none-any.whl"
vlicense LICENSE
}