summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-05 04:21:02 +0100
committerSam James <sam@gentoo.org>2022-04-05 04:21:14 +0100
commit466bac00946815fe45119a8c2504ecda8c10be65 (patch)
treee016254b91a89f4bd845584a33e9ea7492b3d78c /dev-util/ROPgadget
parentdev-util/pwndbg: new ebuild (diff)
downloadgentoo-466bac00946815fe45119a8c2504ecda8c10be65.tar.gz
gentoo-466bac00946815fe45119a8c2504ecda8c10be65.tar.bz2
gentoo-466bac00946815fe45119a8c2504ecda8c10be65.zip
dev-util/ROPgadget: style tweaks; PEP517
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/ROPgadget')
-rw-r--r--dev-util/ROPgadget/ROPgadget-6.6.ebuild7
-rw-r--r--dev-util/ROPgadget/ROPgadget-9999.ebuild7
2 files changed, 6 insertions, 8 deletions
diff --git a/dev-util/ROPgadget/ROPgadget-6.6.ebuild b/dev-util/ROPgadget/ROPgadget-6.6.ebuild
index 85eefb604e74..2f92d9fa5df6 100644
--- a/dev-util/ROPgadget/ROPgadget-6.6.ebuild
+++ b/dev-util/ROPgadget/ROPgadget-6.6.ebuild
@@ -3,15 +3,16 @@
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
-HOMEPAGE="http://shell-storm.org/project/ROPgadget/"
+HOMEPAGE="https://shell-storm.org/project/ROPgadget/"
-if [[ ${PV} == "9999" ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget"
else
@@ -27,8 +28,6 @@ RDEPEND="
dev-libs/capstone[python,${PYTHON_USEDEP}]
"
-S="${WORKDIR}"/ROPgadget-${PV}
-
src_test() {
pushd test-suite-binaries || die
./test.sh || die
diff --git a/dev-util/ROPgadget/ROPgadget-9999.ebuild b/dev-util/ROPgadget/ROPgadget-9999.ebuild
index 85eefb604e74..2f92d9fa5df6 100644
--- a/dev-util/ROPgadget/ROPgadget-9999.ebuild
+++ b/dev-util/ROPgadget/ROPgadget-9999.ebuild
@@ -3,15 +3,16 @@
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
DESCRIPTION="Search for gadgets in binaries to facilitate your ROP exploitation"
-HOMEPAGE="http://shell-storm.org/project/ROPgadget/"
+HOMEPAGE="https://shell-storm.org/project/ROPgadget/"
-if [[ ${PV} == "9999" ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/JonathanSalwan/ROPgadget"
else
@@ -27,8 +28,6 @@ RDEPEND="
dev-libs/capstone[python,${PYTHON_USEDEP}]
"
-S="${WORKDIR}"/ROPgadget-${PV}
-
src_test() {
pushd test-suite-binaries || die
./test.sh || die