1 |
commit: f007bab1e6ae4ee921aab48b2bb604a6425a3fda |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 18:32:59 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 18:32:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f007bab1 |
7 |
|
8 |
app-editors/qhexedit2: Drop 0.8.4 and 0.8.4_p20170719 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-editors/qhexedit2/Manifest | 2 - |
14 |
.../qhexedit2/files/qhexedit2-0.8.4-fixtest.patch | 12 --- |
15 |
app-editors/qhexedit2/qhexedit2-0.8.4.ebuild | 83 --------------------- |
16 |
.../qhexedit2/qhexedit2-0.8.4_p20170719.ebuild | 86 ---------------------- |
17 |
4 files changed, 183 deletions(-) |
18 |
|
19 |
diff --git a/app-editors/qhexedit2/Manifest b/app-editors/qhexedit2/Manifest |
20 |
index 79e9033f9ab..31427cf34c3 100644 |
21 |
--- a/app-editors/qhexedit2/Manifest |
22 |
+++ b/app-editors/qhexedit2/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST qhexedit2-0.8.4.tar.gz 340766 BLAKE2B af24031fdd9f8d677f7e8ab8fd69667852dd971db30f5406b9aaaa08bf7f2dc692c87e99c141f355adc82c8226b5b29f53ce07ba63656d866f8688cb2cbc67f2 SHA512 8ed831d75c8ec1897dfd7ef497423908b26b0f56e6577928ed035654e52b437f64edd61cfcc1de6eaf5d1f29f9dc97da84d2edd7f427e3c09c9d75d7bc6504ff |
25 |
-DIST qhexedit2-0.8.4_p20170719.tar.gz 342037 BLAKE2B 667a7c3e93ed3422f21da53b6811fca53b210cfaf2603cf2a61e377e68f295b5024a9fa73d444c1e50af274bdbc6faa62bc2ab4aad176a8b3a6d7540117c5a30 SHA512 3c412b9bbe4f84f6f445b6ad530fc51dc5422a0a5bb6184edc7df92595aa5215c345e2b16effae8de758b299c5f7f7d44cf54dd65a180941c30790194679baa8 |
26 |
DIST qhexedit2-0.8.6_p20190316.tar.gz 355512 BLAKE2B a7edc8d05a7788f3a3f2202762ca3dc436cafbde1b1216ff1bb342055600a2e9d53c27fe324380331b8182904545c698106129238065cd2416d244fdfa176446 SHA512 4ef288c8a220c308d38c41fee83fe962e213cdfa448445ef73c3d2fe1952b68f2096732e78d2aa0a87eddd3cf2f47bed3e77807e12d2b7616c1447b3bf1b0e7d |
27 |
|
28 |
diff --git a/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch b/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch |
29 |
deleted file mode 100644 |
30 |
index 339ef99477e..00000000000 |
31 |
--- a/app-editors/qhexedit2/files/qhexedit2-0.8.4-fixtest.patch |
32 |
+++ /dev/null |
33 |
@@ -1,12 +0,0 @@ |
34 |
---- qhexedit2-0.8.4/test/testchunks.cpp- 2017-01-17 02:32:54.000000000 +0300 |
35 |
-+++ qhexedit2-0.8.4/test/testchunks.cpp 2018-01-03 21:34:24.988555308 +0300 |
36 |
-@@ -1,8 +1,7 @@ |
37 |
- #include "testchunks.h" |
38 |
- #include <cstdlib> |
39 |
- |
40 |
-- |
41 |
--TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile) |
42 |
-+TestChunks::TestChunks(QTextStream &log, QString tName, int size, bool random, int saveFile): _chunks(nullptr) |
43 |
- { |
44 |
- char hex[] = "0123456789abcdef"; |
45 |
- srand(0); |
46 |
|
47 |
diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild |
48 |
deleted file mode 100644 |
49 |
index 9b10f32a381..00000000000 |
50 |
--- a/app-editors/qhexedit2/qhexedit2-0.8.4.ebuild |
51 |
+++ /dev/null |
52 |
@@ -1,83 +0,0 @@ |
53 |
-# Copyright 2017-2020 Gentoo Authors |
54 |
-# Distributed under the terms of the GNU General Public License v2 |
55 |
- |
56 |
-EAPI=6 |
57 |
- |
58 |
-PYTHON_COMPAT=( python3_6 ) |
59 |
- |
60 |
-DISTUTILS_OPTIONAL=1 |
61 |
- |
62 |
-inherit distutils-r1 qmake-utils |
63 |
- |
64 |
-DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" |
65 |
-HOMEPAGE="https://github.com/lancos/qhexedit2/" |
66 |
-SRC_URI="https://github.com/lancos/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
67 |
- |
68 |
-LICENSE="GPL-2" |
69 |
-SLOT="0" |
70 |
-KEYWORDS="~amd64 ~x86" |
71 |
-IUSE="doc +gui python" |
72 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
73 |
- |
74 |
-PATCHES=( |
75 |
- "${FILESDIR}/${P}-fixtest.patch" |
76 |
- "${FILESDIR}/${P}-setup.py.patch" |
77 |
-) |
78 |
- |
79 |
-RDEPEND=" |
80 |
- dev-qt/qtcore:5 |
81 |
- dev-qt/qtgui:5 |
82 |
- dev-qt/qtwidgets:5 |
83 |
- python? ( dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] |
84 |
- dev-python/sip[${PYTHON_USEDEP}] |
85 |
- ${PYTHON_DEPS} ) |
86 |
-" |
87 |
-DEPEND="${RDEPEND}" |
88 |
- |
89 |
-src_prepare() { |
90 |
- default |
91 |
- sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ |
92 |
- -e "\$aINSTALLS += target" src/qhexedit.pro \ |
93 |
- || die "src/qhexedit.pro: sed failed" |
94 |
- use python && distutils-r1_src_prepare |
95 |
-} |
96 |
- |
97 |
-src_configure() { |
98 |
- eqmake5 src/qhexedit.pro |
99 |
- if use gui; then |
100 |
- cd example || die "can't cd example" |
101 |
- eqmake5 qhexedit.pro |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-src_compile() { |
106 |
- default |
107 |
- use python && distutils-r1_src_compile |
108 |
- if use gui; then |
109 |
- cd example || die "can't cd example" |
110 |
- emake |
111 |
- fi |
112 |
-} |
113 |
- |
114 |
-python_compile() { |
115 |
- use python && distutils-r1_python_compile build_ext --library-dirs="${S}" |
116 |
-} |
117 |
- |
118 |
-src_test() { |
119 |
- cd test || die "can't cd test" |
120 |
- mkdir logs || die "can't create logs dir" |
121 |
- eqmake5 chunks.pro |
122 |
- emake |
123 |
- ./chunks || die "test run failed" |
124 |
- grep -q "^NOK" logs/Summary.log && die "test failed" |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- emake INSTALL_ROOT="${D}" install |
129 |
- use python && distutils-r1_src_install |
130 |
- use gui && dobin example/qhexedit |
131 |
- if use doc; then |
132 |
- dodoc -r doc/html |
133 |
- dodoc doc/release.txt |
134 |
- fi |
135 |
-} |
136 |
|
137 |
diff --git a/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild b/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild |
138 |
deleted file mode 100644 |
139 |
index da69c8ab418..00000000000 |
140 |
--- a/app-editors/qhexedit2/qhexedit2-0.8.4_p20170719.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,86 +0,0 @@ |
143 |
-# Copyright 1999-2020 Gentoo Authors |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=6 |
147 |
- |
148 |
-PYTHON_COMPAT=( python3_6 ) |
149 |
- |
150 |
-DISTUTILS_OPTIONAL=1 |
151 |
- |
152 |
-inherit distutils-r1 qmake-utils |
153 |
- |
154 |
-EGIT_COMMIT="5f3ca79dbe8c765b685636a1751d242a6bfabb7d" |
155 |
-DESCRIPTION="Hex editor library, Qt application written in C++ with Python bindings" |
156 |
-HOMEPAGE="https://github.com/lancos/qhexedit2/" |
157 |
-SRC_URI="https://github.com/lancos/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
158 |
- |
159 |
-LICENSE="GPL-2" |
160 |
-SLOT="0" |
161 |
-KEYWORDS="~amd64 ~x86" |
162 |
-IUSE="doc +gui python" |
163 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
164 |
- |
165 |
-PATCHES=( |
166 |
- "${FILESDIR}/${PN}-0.8.4-fixtest.patch" |
167 |
- "${FILESDIR}/${PN}-0.8.4-setup.py.patch" |
168 |
-) |
169 |
- |
170 |
-RDEPEND=" |
171 |
- dev-qt/qtcore:5 |
172 |
- dev-qt/qtgui:5 |
173 |
- dev-qt/qtwidgets:5 |
174 |
- python? ( |
175 |
- dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] |
176 |
- dev-python/sip[${PYTHON_USEDEP}] |
177 |
- ${PYTHON_DEPS} |
178 |
- ) |
179 |
-" |
180 |
-DEPEND="${RDEPEND}" |
181 |
- |
182 |
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}" |
183 |
- |
184 |
-src_prepare() { |
185 |
- default |
186 |
- sed -i -e '/^unix:DESTDIR/ d' -e "\$atarget.path = /usr/$(get_libdir)" \ |
187 |
- -e "\$aINSTALLS += target" src/qhexedit.pro \ |
188 |
- || die "src/qhexedit.pro: sed failed" |
189 |
- use python && distutils-r1_src_prepare |
190 |
-} |
191 |
- |
192 |
-src_configure() { |
193 |
- eqmake5 src/qhexedit.pro |
194 |
- if use gui; then |
195 |
- cd example || die "can't cd example" |
196 |
- eqmake5 qhexedit.pro |
197 |
- fi |
198 |
-} |
199 |
- |
200 |
-src_compile() { |
201 |
- default |
202 |
- use python && distutils-r1_src_compile |
203 |
- use gui && emake -C example |
204 |
-} |
205 |
- |
206 |
-python_compile() { |
207 |
- use python && distutils-r1_python_compile build_ext --library-dirs="${S}" |
208 |
-} |
209 |
- |
210 |
-src_test() { |
211 |
- cd test || die "can't cd test" |
212 |
- mkdir logs || die "can't create logs dir" |
213 |
- eqmake5 chunks.pro |
214 |
- emake |
215 |
- ./chunks || die "test run failed" |
216 |
- grep -q "^NOK" logs/Summary.log && die "test failed" |
217 |
-} |
218 |
- |
219 |
-src_install() { |
220 |
- emake INSTALL_ROOT="${D}" install |
221 |
- doheader src/*.h |
222 |
- use python && distutils-r1_src_install |
223 |
- use gui && dobin example/qhexedit |
224 |
- if use doc; then |
225 |
- dodoc -r doc/html |
226 |
- dodoc doc/release.txt |
227 |
- fi |
228 |
-} |