commit:     2fecc72142781706daec6be01b4ba225e2d334f4
Author:     Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Wed Jun 12 15:18:57 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 18 07:37:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fecc721

sci-geosciences/grass: enable py3.12

Closes: https://bugs.gentoo.org/933472
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../grass/{grass-9999.ebuild => grass-8.3.2-r1.ebuild}           | 9 +++++++--
 sci-geosciences/grass/grass-9999.ebuild                          | 2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sci-geosciences/grass/grass-9999.ebuild 
b/sci-geosciences/grass/grass-8.3.2-r1.ebuild
similarity index 98%
copy from sci-geosciences/grass/grass-9999.ebuild
copy to sci-geosciences/grass/grass-8.3.2-r1.ebuild
index ed68dea0c142..1d2d329b7e3c 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-8.3.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="sqlite"  # bug 572440
 
 inherit desktop flag-o-matic python-single-r1 toolchain-funcs xdg
@@ -14,7 +14,7 @@ HOMEPAGE="https://grass.osgeo.org/";
 LICENSE="GPL-2"
 
 if [[ ${PV} =~ "9999" ]]; then
-       SLOT="0/8.4"
+       SLOT="0/8.3"
 else
        SLOT="0/$(ver_cut 1-2 ${PV})"
 fi
@@ -101,6 +101,11 @@ BDEPEND="
        virtual/pkgconfig
        X? ( dev-lang/swig )"
 
+PATCHES=(
+       # bug 746590
+       "${FILESDIR}/${PN}-flock.patch"
+)
+
 pkg_setup() {
        if use lapack; then
                local mylapack=$(eselect lapack show)

diff --git a/sci-geosciences/grass/grass-9999.ebuild 
b/sci-geosciences/grass/grass-9999.ebuild
index ed68dea0c142..1c0613f94251 100644
--- a/sci-geosciences/grass/grass-9999.ebuild
+++ b/sci-geosciences/grass/grass-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="sqlite"  # bug 572440
 
 inherit desktop flag-o-matic python-single-r1 toolchain-funcs xdg

Reply via email to