Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/binwalk/, app-misc/binwalk/files/
Date: Wed, 26 Apr 2017 06:24:17
Message-Id: 1493187778.23687f976a125f9b24231d9d8511843083461612.radhermit@gentoo
1 commit: 23687f976a125f9b24231d9d8511843083461612
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 26 05:54:28 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 26 06:22:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23687f97
7
8 app-misc/binwalk: remove old
9
10 app-misc/binwalk/Manifest | 1 -
11 app-misc/binwalk/binwalk-2.0.1.ebuild | 42 ---------------
12 app-misc/binwalk/files/binwalk-2.0.1-libs.patch | 14 -----
13 .../binwalk/files/binwalk-2.0.1-makefile.patch | 61 ----------------------
14 4 files changed, 118 deletions(-)
15
16 diff --git a/app-misc/binwalk/Manifest b/app-misc/binwalk/Manifest
17 index b31bff91ce3..546afb57108 100644
18 --- a/app-misc/binwalk/Manifest
19 +++ b/app-misc/binwalk/Manifest
20 @@ -1,2 +1 @@
21 -DIST binwalk-2.0.1.tar.gz 2234469 SHA256 90ee8426d71e91b62dfe4a1446c457bc7835b475b28717859e275a0494403959 SHA512 de223f61a0a212469c21b8e36d02cadc83f1cdb96a0f6114490d15d8dc12c93a86b46ef74379acb96b32b305e75ca66e940d7a18a8dc3b5036ebe8946dcca0f3 WHIRLPOOL c66ea461132417629f59e3f7562330f038263a0d522aca1db1e85f0bad5e9564d8baa27125acfb67404f0ee8045bd8da71faedcf3d2e352303ca8b0295a2767d
22 DIST binwalk-2.1.1.tar.gz 263977 SHA256 1b70a5b03489d29f60fef18008a2164974234874faab48a4f47ec53d461d284a SHA512 373e276a4d6ec845952f1091f85f953d3b0d52d561d9b74a54000ebdef85d13cafc997a4f8f76f25842db8b76fdcd1e602d4d81792a3ea01c9dea6c6ed5c2168 WHIRLPOOL 3cb8faedd02c6a4859467c285efe00e73ea3e52c48ce2b55e0344853e8a5b7884f9d15eb502ab16bba7262e38dfdb0cbcfadc7d3af4015e4357d9d2d248e6113
23
24 diff --git a/app-misc/binwalk/binwalk-2.0.1.ebuild b/app-misc/binwalk/binwalk-2.0.1.ebuild
25 deleted file mode 100644
26 index ac89f6c5272..00000000000
27 --- a/app-misc/binwalk/binwalk-2.0.1.ebuild
28 +++ /dev/null
29 @@ -1,42 +0,0 @@
30 -# Copyright 1999-2014 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -PYTHON_COMPAT=( python{2_7,3_4} )
35 -
36 -inherit distutils-r1
37 -
38 -DESCRIPTION="A tool for identifying files embedded inside firmware images"
39 -HOMEPAGE="https://github.com/devttys0/binwalk"
40 -SRC_URI="https://github.com/devttys0/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE="graph"
46 -
47 -RDEPEND="
48 - app-crypt/ssdeep
49 - sys-apps/file[${PYTHON_USEDEP}]
50 - graph? ( dev-python/pyqtgraph[opengl,${PYTHON_USEDEP}] )
51 -"
52 -
53 -PATCHES=(
54 - "${FILESDIR}"/${P}-makefile.patch
55 - "${FILESDIR}"/${P}-libs.patch
56 -)
57 -
58 -python_configure_all() {
59 - econf --disable-bundles
60 -}
61 -
62 -python_compile_all() {
63 - emake
64 -}
65 -
66 -python_install_all() {
67 - local DOCS=( API.md INSTALL.md )
68 - distutils-r1_python_install_all
69 -
70 - dolib.so src/C/*/*.so
71 -}
72
73 diff --git a/app-misc/binwalk/files/binwalk-2.0.1-libs.patch b/app-misc/binwalk/files/binwalk-2.0.1-libs.patch
74 deleted file mode 100644
75 index 5a746a4176f..00000000000
76 --- a/app-misc/binwalk/files/binwalk-2.0.1-libs.patch
77 +++ /dev/null
78 @@ -1,14 +0,0 @@
79 -Don't install C libs by default since we don't need to install them for
80 -every python version since they aren't linked with libpython.
81 -
82 ---- binwalk-2.0.1/setup.py
83 -+++ binwalk-2.0.1/setup.py
84 -@@ -134,7 +134,7 @@
85 -
86 - # The data files to install along with the module
87 - data_dirs = ["magic", "config", "plugins", "modules", "core"]
88 --install_data_files = [os.path.join("libs", "*.so")]
89 -+install_data_files = []
90 -
91 - for data_dir in data_dirs:
92 - install_data_files.append("%s%s*" % (data_dir, os.path.sep))
93
94 diff --git a/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch b/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch
95 deleted file mode 100644
96 index e70f096ea6b..00000000000
97 --- a/app-misc/binwalk/files/binwalk-2.0.1-makefile.patch
98 +++ /dev/null
99 @@ -1,61 +0,0 @@
100 -Don't build python via the makefile and fix parallel make jobs.
101 -
102 ---- binwalk-2.0.1/Makefile.in
103 -+++ binwalk-2.0.1/Makefile.in
104 -@@ -33,21 +33,20 @@
105 - $(PYTHON) ./setup.py install $(PREFIX)
106 -
107 - build:
108 -- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR); fi
109 -- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR); fi
110 -- $(PYTHON) ./setup.py build
111 -+ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR); fi
112 -+ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR); fi
113 -
114 - deps:
115 - ./deps.sh
116 -
117 - clean:
118 -- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) clean; fi
119 -- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR) clean; fi
120 -+ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR) clean; fi
121 -+ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR) clean; fi
122 - $(PYTHON) ./setup.py clean
123 -
124 - distclean: clean
125 -- if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) distclean; fi
126 -- if [ "$(BUILD_BUNDLES)" -eq "1" ]; then make -C $(SRC_BUNDLES_DIR) distclean; fi
127 -+ if [ "$(BUILD_C_LIBS)" -eq "1" ]; then $(MAKE) -C $(SRC_C_DIR) distclean; fi
128 -+ if [ "$(BUILD_BUNDLES)" -eq "1" ]; then $(MAKE) -C $(SRC_BUNDLES_DIR) distclean; fi
129 - rm -rf Makefile config.* *.cache
130 -
131 - uninstall:
132 ---- binwalk-2.0.1/src/C/Makefile
133 -+++ binwalk-2.0.1/src/C/Makefile
134 -@@ -3,9 +3,9 @@
135 - .PHONY: all clean_libs clean distclean
136 -
137 - all:
138 -- make -C miniz
139 -+ $(MAKE) -C miniz
140 - cp miniz/*.$(SOEXT) $(LIB_DIR)
141 -- make -C compress
142 -+ $(MAKE) -C compress
143 - cp compress/*.$(SOEXT) $(LIB_DIR)
144 -
145 - clean_libs:
146 -@@ -13,10 +13,10 @@
147 - rm -f $(LIB_DIR)/libcompress42.$(SOEXT)
148 -
149 - clean: clean_libs
150 -- make -C miniz clean
151 -- make -C compress clean
152 -+ $(MAKE) -C miniz clean
153 -+ $(MAKE) -C compress clean
154 -
155 - distclean: clean_libs
156 -- make -C miniz distclean
157 -- make -C compress distclean
158 -+ $(MAKE) -C miniz distclean
159 -+ $(MAKE) -C compress distclean
160 -