diff options
Diffstat (limited to 'dev-util/ropper')
-rw-r--r-- | dev-util/ropper/Manifest | 2 | ||||
-rw-r--r-- | dev-util/ropper/ropper-1.13.7.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/ropper/Manifest b/dev-util/ropper/Manifest index 038309e185ba..7e29253ea8fb 100644 --- a/dev-util/ropper/Manifest +++ b/dev-util/ropper/Manifest @@ -1,4 +1,6 @@ DIST ropper-1.13.6.tar.gz 1491005 BLAKE2B aa82c9791eec2362c79f3cd96995cb505b73c8131b0b6fe6a7d0932e3551dd15ea401383e12ab79901ea05e749cb2ca8244fa3c909e0e8955910d321c8436ea9 SHA512 c3e20bc7182a94984f50c42334a7af1e64bd564615a3aaaa08f432b0641a9557d27fd19bdb6c33a276d66c4b512534c625751e20531c324bde96a58d9c89b6d4 +DIST ropper-1.13.7.tar.gz 1491228 BLAKE2B 24e3f4d2454cad2b4ba8f365a4da4060f0aadc4e78423388024adbf2b58d33276e68ed92f7b778b9a7d9eda057c6a1675a67c43c93df4d378605c08720d97197 SHA512 1d93c4d58454bbd5cfb6a4a7a69f571294613e10e77cae6a65eaf7b9a5c977a3b82c888bd414d1b3e6a1082ba7cd9f2121253bf849dff2a40cdb34acb1371acf EBUILD ropper-1.13.6.ebuild 1102 BLAKE2B e52ef8a6bc3a1aa70d72d0b5d1b172312cc943ac029ab53281afe52d72bc2c9666fccdaf06a4475b5811e2114cde8b8d8c800168e137e7757240c26b891f3132 SHA512 e8302bfe62bb3c97bc1260537b4c2561d2d18e21832e81cab4693a1870e614cb74a4bc9a81e3af2eb6010ddfd66690c95a9fd052b278e47c4825cbbb8a8daf04 +EBUILD ropper-1.13.7.ebuild 1102 BLAKE2B e52ef8a6bc3a1aa70d72d0b5d1b172312cc943ac029ab53281afe52d72bc2c9666fccdaf06a4475b5811e2114cde8b8d8c800168e137e7757240c26b891f3132 SHA512 e8302bfe62bb3c97bc1260537b4c2561d2d18e21832e81cab4693a1870e614cb74a4bc9a81e3af2eb6010ddfd66690c95a9fd052b278e47c4825cbbb8a8daf04 EBUILD ropper-9999.ebuild 1102 BLAKE2B e52ef8a6bc3a1aa70d72d0b5d1b172312cc943ac029ab53281afe52d72bc2c9666fccdaf06a4475b5811e2114cde8b8d8c800168e137e7757240c26b891f3132 SHA512 e8302bfe62bb3c97bc1260537b4c2561d2d18e21832e81cab4693a1870e614cb74a4bc9a81e3af2eb6010ddfd66690c95a9fd052b278e47c4825cbbb8a8daf04 MISC metadata.xml 742 BLAKE2B b5f76f0022f4e73f749cc26c4302d940b598d96352a9bd5ff783d5c7bbbe937f13c16d5d0fbbd794e63d19b7299cefd7321dc13277b5ee615666f4d074ae28bc SHA512 ddb1ea4d6594260ddc0b8865b3d667f1a484c8014c98b13b89c47609e141ca327c8bf2679c95dc6c5634a3e7dbe65a0260b4efb7ea32950d3bef2cbbdd6b4de9 diff --git a/dev-util/ropper/ropper-1.13.7.ebuild b/dev-util/ropper/ropper-1.13.7.ebuild new file mode 100644 index 000000000000..6bd50c5a169b --- /dev/null +++ b/dev-util/ropper/ropper-1.13.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Use to display information about binary files in different file formats" +HOMEPAGE="https://scoding.de/ropper https://github.com/sashs/Ropper" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sashs/Ropper" +else + SRC_URI="https://github.com/sashs/Ropper/archive/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/Ropper-${PV} + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="z3" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-libs/capstone[python,${PYTHON_USEDEP}] + dev-libs/keystone[python,${PYTHON_USEDEP}] + dev-python/filebytes[${PYTHON_USEDEP}] + ') + z3? ( sci-mathematics/z3[python,${PYTHON_SINGLE_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +src_prepare() { + # Remove test which dies on trying to import itself (stub loader, not a real test) + rm test.py || die + + distutils-r1_src_prepare +} |