summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-03-23 14:36:23 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-03-23 14:36:36 -0700
commit969678e16f6971d861d02521316b67456b605860 (patch)
tree242016940a8125be32daec86d10de9b70b852d87 /app-misc/binwalk
parentapp-misc/binwalk: bump to 2.3.0, simplify tests (diff)
downloadgentoo-969678e16f6971d861d02521316b67456b605860.tar.gz
gentoo-969678e16f6971d861d02521316b67456b605860.tar.bz2
gentoo-969678e16f6971d861d02521316b67456b605860.zip
app-misc/binwalk: sync live ebuild
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-misc/binwalk')
-rw-r--r--app-misc/binwalk/binwalk-9999.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/app-misc/binwalk/binwalk-9999.ebuild b/app-misc/binwalk/binwalk-9999.ebuild
index 6ddc96152b65..d819647e95dc 100644
--- a/app-misc/binwalk/binwalk-9999.ebuild
+++ b/app-misc/binwalk/binwalk-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-DISTUTILS_USE_SETUPTOOLS=no
+DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{7..9} pypy3 )
inherit distutils-r1
@@ -13,7 +13,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/ReFirmLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~x64-macos"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~x64-macos"
fi
DESCRIPTION="A tool for identifying files embedded inside firmware images"
@@ -21,16 +21,10 @@ HOMEPAGE="https://github.com/ReFirmLabs/binwalk"
LICENSE="MIT"
SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch )
-python_test() {
- esetup.py test
-}
+distutils_enable_tests --install nose
python_install_all() {
local DOCS=( API.md INSTALL.md README.md )