1 |
commit: f9d84da1e0a2a148a66b2ff2ab1055ed3d8ea00a |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Mon Aug 8 15:41:39 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 05:26:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9d84da1 |
7 |
|
8 |
dev-util/ropper: add 1.13.8 |
9 |
|
10 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/26786 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-util/ropper/Manifest | 1 + |
15 |
dev-util/ropper/ropper-1.13.8.ebuild | 46 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 47 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/ropper/Manifest b/dev-util/ropper/Manifest |
19 |
index b34bde057d47..75aed993293a 100644 |
20 |
--- a/dev-util/ropper/Manifest |
21 |
+++ b/dev-util/ropper/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST ropper-1.13.7.tar.gz 1491228 BLAKE2B 24e3f4d2454cad2b4ba8f365a4da4060f0aadc4e78423388024adbf2b58d33276e68ed92f7b778b9a7d9eda057c6a1675a67c43c93df4d378605c08720d97197 SHA512 1d93c4d58454bbd5cfb6a4a7a69f571294613e10e77cae6a65eaf7b9a5c977a3b82c888bd414d1b3e6a1082ba7cd9f2121253bf849dff2a40cdb34acb1371acf |
24 |
+DIST ropper-1.13.8.gh.tar.gz 1491769 BLAKE2B 8601bcd2287763aa208b227c437362b9799ec1775104b659213e69a77f118bce567e95a0b83a4f0556439a82ee853ebc9aabaa4098b2a700572d1b661213eb25 SHA512 eae2279e1c6bc91af76e8e5d37b7d57c5d2e518d027e293dbd52c6c27dcd8826e73673c55fe581cdefda272b657c8eff2b5eb4fdc4996fec1548709b8371b5d4 |
25 |
|
26 |
diff --git a/dev-util/ropper/ropper-1.13.8.ebuild b/dev-util/ropper/ropper-1.13.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..715beb97d20b |
29 |
--- /dev/null |
30 |
+++ b/dev-util/ropper/ropper-1.13.8.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_SINGLE_IMPL=1 |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{9..10} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Use to display information about binary files in different file formats" |
44 |
+HOMEPAGE="https://scoding.de/ropper https://github.com/sashs/Ropper" |
45 |
+ |
46 |
+if [[ ${PV} == *9999 ]]; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/sashs/Ropper" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/sashs/Ropper/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
51 |
+ S="${WORKDIR}"/Ropper-${PV} |
52 |
+ |
53 |
+ KEYWORDS="~amd64 ~x86" |
54 |
+fi |
55 |
+ |
56 |
+LICENSE="BSD" |
57 |
+SLOT="0" |
58 |
+IUSE="z3" |
59 |
+ |
60 |
+RDEPEND="${PYTHON_DEPS} |
61 |
+ $(python_gen_cond_dep ' |
62 |
+ dev-libs/capstone[python,${PYTHON_USEDEP}] |
63 |
+ dev-libs/keystone[python,${PYTHON_USEDEP}] |
64 |
+ dev-python/filebytes[${PYTHON_USEDEP}] |
65 |
+ ') |
66 |
+ z3? ( sci-mathematics/z3[python,${PYTHON_SINGLE_USEDEP}] ) |
67 |
+" |
68 |
+DEPEND="${RDEPEND}" |
69 |
+ |
70 |
+distutils_enable_tests unittest |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ # Remove test which dies on trying to import itself (stub loader, not a real test) |
74 |
+ rm test.py || die |
75 |
+ |
76 |
+ distutils-r1_src_prepare |
77 |
+} |