diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-01 19:11:24 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-01 19:13:29 +0100 |
commit | 9006fa7d25ee94089e500635f3f90eb0922a8db6 (patch) | |
tree | 0753192cf61f5bf86ab5f6b0454dd13c700c4f09 /dev-libs | |
parent | net-misc/vde: Remove old (py2) (diff) | |
download | gentoo-9006fa7d25ee94089e500635f3f90eb0922a8db6.tar.gz gentoo-9006fa7d25ee94089e500635f3f90eb0922a8db6.tar.bz2 gentoo-9006fa7d25ee94089e500635f3f90eb0922a8db6.zip |
dev-libs/capstone: allow python-3.8
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/capstone/capstone-4.0.2-r2.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/dev-libs/capstone/capstone-4.0.2-r2.ebuild b/dev-libs/capstone/capstone-4.0.2-r2.ebuild index 99f181cb326c..58806a1fa74b 100644 --- a/dev-libs/capstone/capstone-4.0.2-r2.ebuild +++ b/dev-libs/capstone/capstone-4.0.2-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python{3_6,3_7} ) +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) inherit cmake-utils distutils-r1 toolchain-funcs @@ -25,6 +25,9 @@ DEPEND="${RDEPEND} " REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +#TODO: needs upstream fixes +#distutils_enable_tests setup.py + S=${WORKDIR}/${P/_rc/-rc} PATCHES=( @@ -32,9 +35,14 @@ PATCHES=( ) wrap_python() { + local phase=$1 + shift + if use python; then pushd bindings/python >/dev/null || die - distutils-r1_${1} "$@" + echo distutils-r1_${phase} "$@" + pwd + distutils-r1_${phase} "$@" popd >/dev/null fi } |