summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-30 21:42:25 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-30 21:50:50 +0200
commita79baa05133dc745e8bca1bb2c64eb7c80fcb403 (patch)
treef7da93754516ff5a924041d6710a231af5d6af9c /app-arch/brotli
parentsci-mathematics/wxmaxima: Stabilize 23.04.1 x86, #888462 (diff)
downloadgentoo-a79baa05133dc745e8bca1bb2c64eb7c80fcb403.tar.gz
gentoo-a79baa05133dc745e8bca1bb2c64eb7c80fcb403.tar.bz2
gentoo-a79baa05133dc745e8bca1bb2c64eb7c80fcb403.zip
app-arch/brotli: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/brotli')
-rw-r--r--app-arch/brotli/brotli-1.0.9-r5.ebuild8
-rw-r--r--app-arch/brotli/brotli-9999.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/app-arch/brotli/brotli-1.0.9-r5.ebuild b/app-arch/brotli/brotli-1.0.9-r5.ebuild
index bba511397ac0..811396d7b326 100644
--- a/app-arch/brotli/brotli-1.0.9-r5.ebuild
+++ b/app-arch/brotli/brotli-1.0.9-r5.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL="1"
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit cmake-multilib distutils-r1
@@ -42,7 +42,11 @@ DEPEND="
BDEPEND="
python? (
${DISTUTILS_DEPS}
- test? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/unittest-or-fail[${PYTHON_USEDEP}]
+ ' 3.{9..11})
+ )
)
"
diff --git a/app-arch/brotli/brotli-9999.ebuild b/app-arch/brotli/brotli-9999.ebuild
index f51f268d0cfc..5a1e03ad6871 100644
--- a/app-arch/brotli/brotli-9999.ebuild
+++ b/app-arch/brotli/brotli-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL="1"
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit cmake-multilib distutils-r1
@@ -42,7 +42,11 @@ DEPEND="
BDEPEND="
python? (
${DISTUTILS_DEPS}
- test? ( dev-python/unittest-or-fail[${PYTHON_USEDEP}] )
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/unittest-or-fail[${PYTHON_USEDEP}]
+ ' 3.{9..11})
+ )
)
"