commit:     7d54d1dc3397d96ff966101d843260e8a23df897
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sat Aug 24 15:23:22 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 23:53:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d54d1dc

dev-libs/marisa: enable py3.12, also drop py3.9

Closes: https://bugs.gentoo.org/909909
Closes: https://bugs.gentoo.org/929426
Closes: https://github.com/gentoo/gentoo/38279
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-libs/marisa/marisa-0.2.6.ebuild | 10 +++++-----
 dev-libs/marisa/marisa-9999.ebuild  | 11 +++++------
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/dev-libs/marisa/marisa-0.2.6.ebuild 
b/dev-libs/marisa/marisa-0.2.6.ebuild
index 6e587ffcb945..47f2023b5fad 100644
--- a/dev-libs/marisa/marisa-0.2.6.ebuild
+++ b/dev-libs/marisa/marisa-0.2.6.ebuild
@@ -1,8 +1,9 @@
-# Copyright 2014-2023 Gentoo Authors
+# Copyright 2014-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517="setuptools"
 DISTUTILS_OPTIONAL="1"
 DISTUTILS_EXT=1
 
@@ -16,9 +17,7 @@ fi
 
 DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge"
 HOMEPAGE="https://github.com/s-yata/marisa-trie 
https://code.google.com/archive/p/marisa-trie/";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
+if [[ "${PV}" != "9999" ]]; then
        SRC_URI="https://github.com/s-yata/marisa-trie/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 fi
 
@@ -30,6 +29,7 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 BDEPEND="python? (
                ${PYTHON_DEPS}
+               ${DISTUTILS_DEPS}
                dev-lang/swig
        )"
 DEPEND="python? ( ${PYTHON_DEPS} )"

diff --git a/dev-libs/marisa/marisa-9999.ebuild 
b/dev-libs/marisa/marisa-9999.ebuild
index 7731d92f28e3..45c481f3fb3a 100644
--- a/dev-libs/marisa/marisa-9999.ebuild
+++ b/dev-libs/marisa/marisa-9999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 2014-2023 Gentoo Authors
+# Copyright 2014-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517="setuptools"
 DISTUTILS_OPTIONAL="1"
 DISTUTILS_EXT=1
 
@@ -16,20 +17,18 @@ fi
 
 DESCRIPTION="Matching Algorithm with Recursively Implemented StorAge"
 HOMEPAGE="https://github.com/s-yata/marisa-trie 
https://code.google.com/archive/p/marisa-trie/";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
+if [[ "${PV}" != "9999" ]]; then
        SRC_URI="https://github.com/s-yata/marisa-trie/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 fi
 
 LICENSE="|| ( BSD-2 LGPL-2.1+ )"
 SLOT="0"
-KEYWORDS=""
 IUSE="python static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 BDEPEND="python? (
                ${PYTHON_DEPS}
+               ${DISTUTILS_DEPS}
                dev-lang/swig
        )"
 DEPEND="python? ( ${PYTHON_DEPS} )"

Reply via email to