commit: 398871895d3a394dc1986bb136d5de3ac479844c Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Wed Mar 9 16:42:53 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 5 03:03:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39887189
dev-util/ropper: version bump 1.13.7 Closes: https://bugs.gentoo.org/834837 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/24463 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/ropper/Manifest | 1 + dev-util/ropper/ropper-1.13.7.ebuild | 46 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-util/ropper/Manifest b/dev-util/ropper/Manifest index 1e30c7f56dee..dc36dcac1a21 100644 --- a/dev-util/ropper/Manifest +++ b/dev-util/ropper/Manifest @@ -1 +1,2 @@ DIST ropper-1.13.6.tar.gz 1491005 BLAKE2B aa82c9791eec2362c79f3cd96995cb505b73c8131b0b6fe6a7d0932e3551dd15ea401383e12ab79901ea05e749cb2ca8244fa3c909e0e8955910d321c8436ea9 SHA512 c3e20bc7182a94984f50c42334a7af1e64bd564615a3aaaa08f432b0641a9557d27fd19bdb6c33a276d66c4b512534c625751e20531c324bde96a58d9c89b6d4 +DIST ropper-1.13.7.tar.gz 1491228 BLAKE2B 24e3f4d2454cad2b4ba8f365a4da4060f0aadc4e78423388024adbf2b58d33276e68ed92f7b778b9a7d9eda057c6a1675a67c43c93df4d378605c08720d97197 SHA512 1d93c4d58454bbd5cfb6a4a7a69f571294613e10e77cae6a65eaf7b9a5c977a3b82c888bd414d1b3e6a1082ba7cd9f2121253bf849dff2a40cdb34acb1371acf 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 +}
