From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A2DF13835A for ; Tue, 23 Mar 2021 21:37:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41B3CE0828; Tue, 23 Mar 2021 21:37:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C999E0828 for ; Tue, 23 Mar 2021 21:37:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C802B335D52 for ; Tue, 23 Mar 2021 21:36:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01061592 for ; Tue, 23 Mar 2021 21:36:58 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1616535396.bc27d9652c6f04bedd79b34b27f0613b56004ac9.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/binwalk/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/binwalk/Manifest app-misc/binwalk/binwalk-2.3.0.ebuild X-VCS-Directories: app-misc/binwalk/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: bc27d9652c6f04bedd79b34b27f0613b56004ac9 X-VCS-Branch: master Date: Tue, 23 Mar 2021 21:36:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cab0bff4-b94a-491b-a2b4-174c7e192b44 X-Archives-Hash: 1af998395312d526f379266b40883ffd commit: bc27d9652c6f04bedd79b34b27f0613b56004ac9 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Mar 23 21:28:50 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Mar 23 21:36:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc27d965 app-misc/binwalk: bump to 2.3.0, simplify tests Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> app-misc/binwalk/Manifest | 1 + app-misc/binwalk/binwalk-2.3.0.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest index dc96e51cb0f..bfb5af59726 100644 --- a/app-misc/binwalk/Manifest +++ b/app-misc/binwalk/Manifest @@ -1 +1,2 @@ DIST binwalk-2.2.0.tar.gz 39594514 BLAKE2B 899a919647258759f16c2e59766b0db68d1a78edf0f5c3755c2a987695199a1851deed2820e6323d82d8af85d294a6f1fcafb655e5d2257d49b673ddae49da67 SHA512 5f3ed31c0b5f9ca3057f86e82787a73b06f9f73747b51dd72130a78e4d69cf43a0207bffc495d177e97811de5bf835b3d0507f314b7a0c960eddf6d1efe0f0f9 +DIST binwalk-2.3.0.tar.gz 39603727 BLAKE2B abdb9909cf92a6cb35035c98467162dab2b009f5eab4bf255bba14ce82c2748cbd648977a54f276f2c141897b4e7a592d0adbde77a3c0f4164b04b7c328bc7e5 SHA512 74c25858eccaeff1bbf238cdff92df4cbec37dfff77204739bd82c35e4fd2329a8d0b13850b8b05900f756a99b898ebbbfb8ac44a26f37ca3ffb16c72402f9d6 diff --git a/app-misc/binwalk/binwalk-2.3.0.ebuild b/app-misc/binwalk/binwalk-2.3.0.ebuild new file mode 100644 index 00000000000..d819647e95d --- /dev/null +++ b/app-misc/binwalk/binwalk-2.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=bdepend +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/ReFirmLabs/binwalk.git" + 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" +fi + +DESCRIPTION="A tool for identifying files embedded inside firmware images" +HOMEPAGE="https://github.com/ReFirmLabs/binwalk" + +LICENSE="MIT" +SLOT="0" + +PATCHES=( "${FILESDIR}"/${PN}-2.2.0-disable-test-coverage.patch ) + +distutils_enable_tests --install nose + +python_install_all() { + local DOCS=( API.md INSTALL.md README.md ) + distutils-r1_python_install_all +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "binwalk has many optional dependencies to automatically" + elog "extract/decompress data, see INSTALL.md for more details." + fi +}