-r10: migrated to setuptools via patch

as initial preparation to python3.12

Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2023-02-25 17:05:31 +05:00
parent ff9426214d
commit 0a8718f32b
4 changed files with 85 additions and 26 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
@@ -12,8 +12,7 @@ if [[ ${PV} != *9999* ]]; then
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
PATCHES=( "${FILESDIR}/${P}-setuppy-extensions.patch" )
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"
@@ -24,7 +23,8 @@ HOMEPAGE="https://github.com/erfanoabdi/gbinder-python"
LICENSE="GPL-3"
SLOT="0"
DEPEND="dev-libs/gbinder"
DEPEND="dev-libs/gbinder
dev-libs/libglibutil"
RDEPEND="${DEPEND}"
BDEPEND="
virtual/pkgconfig