summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-17 20:36:43 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-17 20:54:50 +0200
commit76d8aad092267581d6921071a263fe92e3ce763f (patch)
tree02d806987c6a2522b8caaef38326fdc09a050a0d
parentdev-python/sphinx: Bump to 7.2.2 (diff)
downloadgentoo-76d8aad092267581d6921071a263fe92e3ce763f.tar.gz
gentoo-76d8aad092267581d6921071a263fe92e3ce763f.tar.bz2
gentoo-76d8aad092267581d6921071a263fe92e3ce763f.zip
dev-python/pyproject-api: Bump to 1.5.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/pyproject-api/Manifest1
-rw-r--r--dev-python/pyproject-api/pyproject-api-1.5.4.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest
index bdfd9819129c..ca44683b7daf 100644
--- a/dev-python/pyproject-api/Manifest
+++ b/dev-python/pyproject-api/Manifest
@@ -1 +1,2 @@
DIST pyproject_api-1.5.3.tar.gz 22128 BLAKE2B 0004682932717db0926e0e080ee78a9b24a9fc0025769e0cbe300bcf0ed50ddbabb52c257e2860718f87707072701ba2912e0fbf32b5481bd2993fb2b304e7c7 SHA512 719c4a9d747d8b5fbf3ac86c5f828c9fe10592a5dd71f68ffe308a8b73036de6777e32ddbcbaa7a45dcb23d0963555abab3e0fc4ddfc5eaac864b8892a1b67b8
+DIST pyproject_api-1.5.4.tar.gz 22002 BLAKE2B c56e2a98640696cd4f9796bb6d896db792bf956bea8e0f38c675aef03cd087204b254dbaf6d1fcd30dbe3107364409b8a0184dbdda651bedf37e147cd8a1b276 SHA512 e97305faa1420afa39274098e3d367ced49be8db4a87fda3f7c81b54e3a4b79eca80cf9b7eeb9b11af580535d758a750be8fb070e343355f43f93ee8a979357c
diff --git a/dev-python/pyproject-api/pyproject-api-1.5.4.ebuild b/dev-python/pyproject-api/pyproject-api-1.5.4.ebuild
new file mode 100644
index 000000000000..639b331a2ea0
--- /dev/null
+++ b/dev-python/pyproject-api/pyproject-api-1.5.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="API to interact with the python pyproject.toml based projects"
+HOMEPAGE="
+ https://github.com/tox-dev/pyproject-api/
+ https://pypi.org/project/pyproject-api/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/packaging-23.1[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+ ' 3.{8..10})
+"
+BDEPEND="
+ >=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
+ >=dev-python/setuptools-67.8[${PYTHON_USEDEP}]
+ >=dev-python/wheel-0.40[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # requires Python 2 installed
+ tests/test_frontend.py::test_can_build_on_python_2
+)