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 ) }