public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ROPgadget/
Date: Fri,  1 Sep 2023 17:15:31 +0000 (UTC)	[thread overview]
Message-ID: <1693588523.4e0471185dbdf865bd24186004ce4dd27e8c9a0b.arthurzam@gentoo> (raw)

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() {


             reply	other threads:[~2023-09-01 17:15 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01 17:15 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-19 11:14 [gentoo-commits] repo/gentoo:master commit in: dev-util/ROPgadget/ Sam James
2024-12-01 17:35 Jakov Smolić
2024-12-01  8:53 Sam James
2024-12-01  8:34 Sam James
2024-10-25 11:36 Joonas Niilola
2024-10-25 11:36 Joonas Niilola
2024-08-29  3:23 Sam James
2024-01-03  6:22 Sam James
2023-10-04 21:56 Conrad Kostecki
2023-10-03 12:06 Sam James
2023-10-03 12:06 Sam James
2023-09-18  7:40 Sam James
2023-09-01 17:15 Arthur Zamarin
2023-09-01 16:49 Arthur Zamarin
2023-09-01 16:49 Arthur Zamarin
2023-04-19  6:07 Sam James
2023-04-19  6:07 Sam James
2023-03-19  3:22 Sam James
2023-03-19  3:22 Sam James
2023-02-16 22:52 Sam James
2023-02-16 22:52 Sam James
2023-02-10  8:45 Yixun Lan
2023-02-10  8:45 Yixun Lan
2023-01-14  8:04 Arthur Zamarin
2022-12-15  4:44 Sam James
2022-10-30  9:40 Sam James
2022-10-24  7:19 Joonas Niilola
2022-10-20 10:52 Jakov Smolić
2022-10-01 20:16 Sam James
2022-10-01 20:16 Sam James
2022-09-14 22:33 Sam James
2022-09-14 22:33 Sam James
2022-09-01  8:47 Agostino Sarubbo
2022-08-31 19:34 Sam James
2022-08-31  6:22 Jakov Smolić
2022-08-23  5:34 Sam James
2022-08-23  5:11 Sam James
2022-08-06  6:06 Arthur Zamarin
2022-08-04 22:53 Sam James
2022-08-04 22:53 Sam James
2022-06-28  9:31 Sam James
2022-04-29  9:01 Joonas Niilola
2022-04-10 17:01 Sam James
2022-04-05  3:33 Sam James
2022-04-05  3:33 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1693588523.4e0471185dbdf865bd24186004ce4dd27e8c9a0b.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox