commit:     0e04079e327955627e8b50334920b36318e581e1
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 19:27:27 2024 +0000
Commit:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
CommitDate: Thu Mar 21 22:10:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e04079e

dev-python/gbinder: Syncrhonize -1.1.2-r1 and -9999

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>

 dev-python/gbinder/gbinder-1.1.2-r1.ebuild | 20 ++++++++++----------
 dev-python/gbinder/gbinder-9999.ebuild     | 21 +++++++++++++++------
 2 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/dev-python/gbinder/gbinder-1.1.2-r1.ebuild 
b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild
index 1e2c069035..448486cbcd 100644
--- a/dev-python/gbinder/gbinder-1.1.2-r1.ebuild
+++ b/dev-python/gbinder/gbinder-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,20 +26,20 @@ HOMEPAGE="https://github.com/erfanoabdi/gbinder-python";
 LICENSE="GPL-3"
 SLOT="0"
 
-PATCHES=(
-       "${FILESDIR}"/gbinder-1.1.1-setuptools.patch
-)
-
-
-DEPEND="dev-libs/gbinder
-       dev-libs/libglibutil"
+DEPEND="
+       dev-libs/gbinder
+       dev-libs/libglibutil
+"
 RDEPEND="${DEPEND}"
 BDEPEND="
        virtual/pkgconfig
        dev-python/cython[${PYTHON_USEDEP}]
-       ${DISTUTILS_DEPS}
 "
 
-python_configure_all () {
+PATCHES=(
+       "${FILESDIR}"/gbinder-1.1.1-setuptools.patch
+)
+
+python_configure_all() {
        DISTUTILS_ARGS=( --cython )
 }

diff --git a/dev-python/gbinder/gbinder-9999.ebuild 
b/dev-python/gbinder/gbinder-9999.ebuild
index 809b0e6384..448486cbcd 100644
--- a/dev-python/gbinder/gbinder-9999.ebuild
+++ b/dev-python/gbinder/gbinder-9999.ebuild
@@ -1,9 +1,12 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
+
+DISTUTILS_USE_PEP517="setuptools"
+DISTUTILS_EXT=1
 
 inherit distutils-r1
 
@@ -23,14 +26,20 @@ HOMEPAGE="https://github.com/erfanoabdi/gbinder-python";
 LICENSE="GPL-3"
 SLOT="0"
 
-DEPEND="dev-libs/gbinder
-       dev-libs/libglibutil"
+DEPEND="
+       dev-libs/gbinder
+       dev-libs/libglibutil
+"
 RDEPEND="${DEPEND}"
 BDEPEND="
        virtual/pkgconfig
        dev-python/cython[${PYTHON_USEDEP}]
 "
 
-python_compile() {
-       distutils-r1_python_compile --cython
+PATCHES=(
+       "${FILESDIR}"/gbinder-1.1.1-setuptools.patch
+)
+
+python_configure_all() {
+       DISTUTILS_ARGS=( --cython )
 }

Reply via email to