commit:     a79baa05133dc745e8bca1bb2c64eb7c80fcb403
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 19:42:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 30 19:50:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79baa05

app-arch/brotli: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-arch/brotli/brotli-1.0.9-r5.ebuild | 8 ++++++--
 app-arch/brotli/brotli-9999.ebuild     | 8 ++++++--
 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})
+               )
        )
 "
 

Reply via email to