From 773bfa947c86cb9053e71b68c754fb027e8dbde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 31 Dec 2023 17:47:02 -0300 Subject: [PATCH] New package: python3-pyproject-api-1.6.1 --- srcpkgs/python3-pyproject-api/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-pyproject-api/template diff --git a/srcpkgs/python3-pyproject-api/template b/srcpkgs/python3-pyproject-api/template new file mode 100644 index 00000000000..aa2a8c74fe1 --- /dev/null +++ b/srcpkgs/python3-pyproject-api/template @@ -0,0 +1,24 @@ +# Template file for 'python3-pyproject-api' +pkgname=python3-pyproject-api +version=1.6.1 +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 " +license="MIT" +homepage="https://github.com/tox-dev/pyproject-api" +changelog="https://raw.githubusercontent.com/tox-dev/pyproject-api/main/docs/changelog.rst" +distfiles="${PYPI_SITE}/p/pyproject-api/pyproject_api-${version}.tar.gz" +checksum=1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538 + +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 +}