commit: 4e0471185dbdf865bd24186004ce4dd27e8c9a0b Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Fri Sep 1 16:45:45 2023 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Sep 1 17:15:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e047118
dev-util/ROPgadget: restrict capstone dependency due to incompatibilities Closes: https://bugs.gentoo.org/912164 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../{ROPgadget-7.2.ebuild => ROPgadget-7.2-r1.ebuild} | 11 +++++------ .../{ROPgadget-7.3.ebuild => ROPgadget-7.3-r1.ebuild} | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/dev-util/ROPgadget/ROPgadget-7.2.ebuild b/dev-util/ROPgadget/ROPgadget-7.2-r1.ebuild similarity index 73% rename from dev-util/ROPgadget/ROPgadget-7.2.ebuild rename to dev-util/ROPgadget/ROPgadget-7.2-r1.ebuild index f73c875c7aea..3d578eb0d617 100644 --- a/dev-util/ROPgadget/ROPgadget-7.2.ebuild +++ b/dev-util/ROPgadget/ROPgadget-7.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 @@ -23,13 +23,12 @@ fi LICENSE="GPL-2" SLOT="0" -# Tests are not stable with respect to different capstone releases. We have to -# disable tests until this is fixed upstream. See bug #912164. -RESTRICT="test" - +# Version 7.3 and older is incompatible to >=dev-libs/capstone-5.0_rc3. +# See https://bugs.gentoo.org/912164 and +# https://github.com/JonathanSalwan/ROPgadget/issues/190. RDEPEND=" ${PYTHON_DEPS} - >=dev-libs/capstone-5[python,${PYTHON_USEDEP}] + ~dev-libs/capstone-5.0_rc2[python,${PYTHON_USEDEP}] " src_test() { diff --git a/dev-util/ROPgadget/ROPgadget-7.3.ebuild b/dev-util/ROPgadget/ROPgadget-7.3-r1.ebuild similarity index 73% rename from dev-util/ROPgadget/ROPgadget-7.3.ebuild rename to dev-util/ROPgadget/ROPgadget-7.3-r1.ebuild index f73c875c7aea..3d578eb0d617 100644 --- a/dev-util/ROPgadget/ROPgadget-7.3.ebuild +++ b/dev-util/ROPgadget/ROPgadget-7.3-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{9..11} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 @@ -23,13 +23,12 @@ fi LICENSE="GPL-2" SLOT="0" -# Tests are not stable with respect to different capstone releases. We have to -# disable tests until this is fixed upstream. See bug #912164. -RESTRICT="test" - +# Version 7.3 and older is incompatible to >=dev-libs/capstone-5.0_rc3. +# See https://bugs.gentoo.org/912164 and +# https://github.com/JonathanSalwan/ROPgadget/issues/190. RDEPEND=" ${PYTHON_DEPS} - >=dev-libs/capstone-5[python,${PYTHON_USEDEP}] + ~dev-libs/capstone-5.0_rc2[python,${PYTHON_USEDEP}] " src_test() {