summaryrefslogtreecommitdiff
path: root/dev-python/packaging
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-09-30 19:07:39 -0500
committerCrucible <crucible@localhost>2026-09-30 19:07:39 -0500
commit9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784 (patch)
tree5f38413a80b9e584e9f6c579b013e8abd6ae2702 /dev-python/packaging
parent9c4e6e8fed8999df35813182c3b9577d541394e0 (diff)
downloadsrcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.tar.gz
srcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.tar.xz
srcux-9ac03f0d5a1a2f7a9a0656fe7cd27ef2588da784.zip
Publish srcux candidate 0000000528-20260930-190542
Diffstat (limited to 'dev-python/packaging')
-rw-r--r--dev-python/packaging/packaging-26.3.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/packaging/packaging-26.3.ebuild b/dev-python/packaging/packaging-26.3.ebuild
index c5adb200d150..e9fdbf3eac47 100644
--- a/dev-python/packaging/packaging-26.3.ebuild
+++ b/dev-python/packaging/packaging-26.3.ebuild
@@ -6,6 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=flit-core
PYPI_VERIFY_REPO=https://github.com/pypa/packaging
+PYTHON_FULLY_TESTED=( python3_{12..15} python3_{14..15}t )
PYTHON_COMPAT=( python3_{13..14} )
inherit distutils-r1 pypi
@@ -27,9 +28,11 @@ RDEPEND="
"
DEPEND="
test? (
- dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ ' "${PYTHON_FULLY_TESTED[@]}")
)
"
@@ -37,5 +40,12 @@ EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
+ local EPYTEST_PLUGINS=( "${EPYTEST_PLUGINS[@]}" )
+ local EPYTEST_IGNORE=()
+ if has_version "dev-python/hypothesis[${PYTHON_USEDEP}]"; then
+ EPYTEST_PLUGINS+=( hypothesis )
+ else
+ EPYTEST_IGNORE+=( tests/property/ )
+ fi
epytest --capture=no
}