void-packages/srcpkgs/python3-pyproject-api/template
2025-02-17 22:37:27 -05:00

24 lines
872 B
Bash

# Template file for 'python3-pyproject-api'
pkgname=python3-pyproject-api
version=1.9.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3-packaging"
checkdepends="python3-pytest python3-pytest-mock python3-wheel"
short_desc="API to interact with the python pyproject.toml based projects"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/tox-dev/pyproject-api"
changelog="https://github.com/tox-dev/pyproject-api/releases"
distfiles="${PYPI_SITE}/p/pyproject-api/pyproject_api-${version}.tar.gz"
checksum=7e8a9854b2dfb49454fae421cb86af43efbb2b2454e5646ffb7623540321ae6e
if [ "$XBPS_BUILD_ENVIRONMENT" = void-packages-ci ]; then
# this test fails on CI
make_check_args+=" --deselect tests/test_frontend_setuptools.py::test_result_missing"
fi
post_install() {
vlicense LICENSE
}