summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-26 04:56:49 +0100
committerSam James <sam@gentoo.org>2023-08-26 04:56:49 +0100
commite2c1f28cf5c41f87bb687ac43a06c43929d5eda6 (patch)
tree4eda62082455c561795305b0f30a22a45084d4f4 /dev-libs/capstone
parentdev-libs/capstone: add 5.0.1 (diff)
downloadgentoo-e2c1f28cf5c41f87bb687ac43a06c43929d5eda6.tar.gz
gentoo-e2c1f28cf5c41f87bb687ac43a06c43929d5eda6.tar.bz2
gentoo-e2c1f28cf5c41f87bb687ac43a06c43929d5eda6.zip
dev-libs/capstone: sync live
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/capstone')
-rw-r--r--dev-libs/capstone/capstone-9999.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-libs/capstone/capstone-9999.ebuild b/dev-libs/capstone/capstone-9999.ebuild
index 67ee41c5cd22..fd6e6133cc4f 100644
--- a/dev-libs/capstone/capstone-9999.ebuild
+++ b/dev-libs/capstone/capstone-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
@@ -18,8 +18,9 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git"
EGIT_REPO_BRANCH="next"
else
- SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
- S=${WORKDIR}/${P/_rc/-rc}
+ MY_PV="${PV/_rc/-rc}"
+ SRC_URI="https://github.com/capstone-engine/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
fi