summaryrefslogtreecommitdiff
path: root/dev-python/priority
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-28 21:15:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-28 21:15:34 +0100
commit14bda3c9c57c13e8a59303f400678313fd770bdd (patch)
tree1d76323e4e249e0515128cd6ca42e167a9575294 /dev-python/priority
parente5346f2f512bd7faf413f3de3ef7fbcfbcd974b3 (diff)
gentoo auto-resync : 28:05:2023 - 21:15:34
Diffstat (limited to 'dev-python/priority')
-rw-r--r--dev-python/priority/Manifest4
-rw-r--r--dev-python/priority/priority-1.3.0-r1.ebuild19
-rw-r--r--dev-python/priority/priority-2.0.0-r1.ebuild19
3 files changed, 36 insertions, 6 deletions
diff --git a/dev-python/priority/Manifest b/dev-python/priority/Manifest
index 2ff65545eb35..bbe3ec44a40f 100644
--- a/dev-python/priority/Manifest
+++ b/dev-python/priority/Manifest
@@ -1,6 +1,6 @@
AUX priority-1.3.0-test-timeout.patch 716 BLAKE2B b48691b508a4116c9656acaa3a31871e5c8a66c45d6724506590c95e09eac027969def8198c5bdaa14e50cd77ea105881b7ddb7f36c95665502799f5ea751b6d SHA512 9e809600bc972baf4e1f5366c65db5e5d050bcfd0df23da3d1f75f653a0fdc27f7e4a59e96e13bd42636360653dfdc1de1991e6684e95bfffbf0c4384d7dc550
DIST priority-1.3.0.tar.gz 13827 BLAKE2B 8c100eb44ed42f4f624bfb37dd6f698a3da84812783bd44ba82afef565562379a7677b3cbc9e16c4ea5a5dcc91d0897fa47c341a81bc1875461a72aff328fcff SHA512 cefb13b15e99ef98c37fdd1486466c9e1d7d04b4574cbca1665fde7b7b44cc7d66964bed41184315a9b51bd6f9d0e02bbe113bfa004a754ac270170309b71e0a
DIST priority-2.0.0.tar.gz 24792 BLAKE2B c230f74aba3153edafba4bf85965a726ac3d3f5e2293d7c496b65fda260722cc44e4582666eee9d715e0d0686695434f8e0cbbd089c105bb45b777bf6eb4d72c SHA512 f90648a3ff1ee4131f30e99ecd8c36110abf484733f507edefcede8fdcb9ec3a618b9278e85724855709f41facee438061e4c5cae201b6e916c22f4a451db575
-EBUILD priority-1.3.0-r1.ebuild 717 BLAKE2B 02d135cec7828e6415e6c17a312fcb4045b43a0969b38d47ae8056f9189b8c891eec0717b1f2ef0bbf4223a9e09c3078fd5cd54031425ed0865af85790a81f8d SHA512 0f3a9186d2f1d280038046bff195548d5496cb4c8c1ceb3854b0342daff818a775513a1a43619a069a0f7060b33c72b6d789dd54a0f40e1f286192b7cfe02cfc
-EBUILD priority-2.0.0-r1.ebuild 655 BLAKE2B c47dc89d934baad36429e4a4b0faada4b9301792d5d71388bbd56679a8f3ad07fd1e5f753c5bb10119f36789b6c5287859c3670679f29e1d2c3cefcef488010e SHA512 aa1de639eae7593270144f552357e1a6744ea4fecc6dcd05fdb0c8f95fcc20985a202e13184beeafd128c3036a3415ca1d04c521b2042df3d9a0dd40c1c55d13
+EBUILD priority-1.3.0-r1.ebuild 1021 BLAKE2B c997d63bd83591ee8993a8599eb6bafa8cb018d9f39c1a964a1a4dd8b7369035fa50dc870345364c8a410dfa7f29e0abb46a222c139fd02a55428a531ee8393c SHA512 692a75e77fa177b58350c57cecf2201314294f09ba2bc7b8357a89e3a56cb85e1d0349177e4f91430e291b8ed52621251bd13b6d85cd1cef3652442e579aa0e7
+EBUILD priority-2.0.0-r1.ebuild 959 BLAKE2B 5a0425fa51e0d7bcdbf35cfcd18ea571d934ded9d60c460201d1e80d36057b2c18f2a8e0b46fb379e1889f8400779f626ed623bc26aabf132d0adf9d76eb8c83 SHA512 1eae65af67eaaaf0156f0521110a1309b11e45c33c0ac63455d9062d5f96d6ad3f67b85bdfef5d9f2de229fd1032c83dc218cb2e6dbd075094010233de88159c
MISC metadata.xml 864 BLAKE2B a4d4d8f4f8c2f4fa5223060a708f5ce75d8cb8c9bbee43e3c9a71eb4d06e0ae675e8864fb3538c971617f138cf4f548e2bc2884f930a0fb40bdb270aad0c2736 SHA512 4c9a614833f2e769551cd584cc80601ea7bd5a630afd4de760a6a219cf50bb65fba9db137dcd8ebed52a0a00e606a24288f347785a3e2fbce4777ade324e0080
diff --git a/dev-python/priority/priority-1.3.0-r1.ebuild b/dev-python/priority/priority-1.3.0-r1.ebuild
index 8ec5649ecee6..aa850d60259f 100644
--- a/dev-python/priority/priority-1.3.0-r1.ebuild
+++ b/dev-python/priority/priority-1.3.0-r1.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_TESTED=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 )
inherit distutils-r1 pypi
@@ -20,7 +21,11 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
BDEPEND="
- test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep '
+ >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
+ ' "${PYTHON_TESTED[@]}")
+ )
"
PATCHES=(
@@ -28,3 +33,13 @@ PATCHES=(
)
distutils_enable_tests pytest
+
+python_test() {
+ # https://github.com/python/cpython/issues/105042
+ if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+ einfo "Skipping tests on ${EPYTHON} (xfail)"
+ return
+ fi
+
+ epytest
+}
diff --git a/dev-python/priority/priority-2.0.0-r1.ebuild b/dev-python/priority/priority-2.0.0-r1.ebuild
index f44bf4ebf0f7..b885dd5d5d6d 100644
--- a/dev-python/priority/priority-2.0.0-r1.ebuild
+++ b/dev-python/priority/priority-2.0.0-r1.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_TESTED=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 )
inherit distutils-r1 pypi
@@ -20,7 +21,21 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
BDEPEND="
- test? ( >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep '
+ >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
+ ' "${PYTHON_TESTED[@]}")
+ )
"
distutils_enable_tests pytest
+
+python_test() {
+ # https://github.com/python/cpython/issues/105042
+ if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+ einfo "Skipping tests on ${EPYTHON} (xfail)"
+ return
+ fi
+
+ epytest
+}