Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/eject/, dev-python/simpletal/, sys-block/eject/files/, profiles/
Date: Sat, 08 Oct 2016 10:42:16
Message-Id: 1475923315.cd3a0b27cd6e363978b1e27b5f8f8eae199715f5.pacho@gentoo
1 commit: cd3a0b27cd6e363978b1e27b5f8f8eae199715f5
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 8 10:41:55 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 8 10:41:55 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3a0b27
7
8 Remove some masked for removal packages
9
10 dev-python/simpletal/Manifest | 3 --
11 dev-python/simpletal/metadata.xml | 8 ---
12 dev-python/simpletal/simpletal-4.2-r1.ebuild | 41 ----------------
13 dev-python/simpletal/simpletal-5.1-r1.ebuild | 41 ----------------
14 dev-python/simpletal/simpletal-5.2.ebuild | 41 ----------------
15 profiles/package.mask | 11 -----
16 sys-block/eject/Manifest | 1 -
17 sys-block/eject/eject-2.1.5-r2.ebuild | 41 ----------------
18 sys-block/eject/files/eject-2.0.13-xmalloc.patch | 28 -----------
19 sys-block/eject/files/eject-2.1.4-scsi-rdwr.patch | 21 --------
20 .../eject/files/eject-2.1.5-handle-spaces.patch | 57 ----------------------
21 sys-block/eject/files/eject-2.1.5-man-typo.patch | 18 -------
22 sys-block/eject/files/eject-2.1.5-toggle.patch | 27 ----------
23 sys-block/eject/metadata.xml | 11 -----
24 14 files changed, 349 deletions(-)
25
26 diff --git a/dev-python/simpletal/Manifest b/dev-python/simpletal/Manifest
27 deleted file mode 100644
28 index 2015095..00000000
29 --- a/dev-python/simpletal/Manifest
30 +++ /dev/null
31 @@ -1,3 +0,0 @@
32 -DIST SimpleTAL-4.2.tar.gz 96011 SHA256 3f2983773382491c981e8f621094be4ea4e202336c96f81f9a1f7305e4b2eb08 SHA512 ce816a9c7c66ffa96da0968cea60d838b7e9ed5608a0eae05c40fbbacddec2ca369944f820237d9c3756cd14552d7957c86f8f3e8067cb944ac86529232aa0c8 WHIRLPOOL 6dd675f113d37209a4d10945c0f7116e3d4b45f31bbdfe4488e17150d3969a27e1cb348c3d0136878bae456de646fa8ab086c78d67b8a49046e0b7261261a484
33 -DIST SimpleTAL-5.1.tar.gz 90604 SHA256 00118ccf7eb74cb3e536a891a1858ad31a2416f63a85cf61fd538bde4c760057 SHA512 51fc5bcfdb4a5ac06b06d7aca20d13cb964a625d0167cc723e8b7352cf154bcde9f14aff96eaa42a5b299c8439336cd35d8fc8f927ae1352be7e7ca5f12aba52 WHIRLPOOL 25e40138a4e53a6f8a6aaa6d607e082ac8ba428ff8b99336d91c5d10e3a6ae8d203e6a49756c96d5357b8605ad4a6eafc3501403a62dce63127eb3ff8ff485bd
34 -DIST SimpleTAL-5.2.tar.gz 96986 SHA256 ddff80acdebfffc9cb7de2e20761936ea06fcc7cf362678d4b66bd7bbce9e8e2 SHA512 16b46886af50f697e706c6b3f0400707299cfe40a81773fbd094de2f52ca8a87438f3ae7477462d0523570b3e3248d2ad4bb2affd3a7088fc45b1201ed228fbe WHIRLPOOL ea412134f341b572936f0543a944d1d9cae4394be801cf879fdf0859379eb0bc17eda781a62f165e54ce90c511ae7d5dec180f9c718e3ec88fb65fd113c9e284
35
36 diff --git a/dev-python/simpletal/metadata.xml b/dev-python/simpletal/metadata.xml
37 deleted file mode 100644
38 index 9e5274c..00000000
39 --- a/dev-python/simpletal/metadata.xml
40 +++ /dev/null
41 @@ -1,8 +0,0 @@
42 -<?xml version="1.0" encoding="UTF-8"?>
43 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
44 -<pkgmetadata>
45 -<maintainer type="project">
46 - <email>python@g.o</email>
47 - <name>Python</name>
48 -</maintainer>
49 -</pkgmetadata>
50
51 diff --git a/dev-python/simpletal/simpletal-4.2-r1.ebuild b/dev-python/simpletal/simpletal-4.2-r1.ebuild
52 deleted file mode 100644
53 index 335cf05..00000000
54 --- a/dev-python/simpletal/simpletal-4.2-r1.ebuild
55 +++ /dev/null
56 @@ -1,41 +0,0 @@
57 -# Copyright 1999-2015 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -# $Id$
60 -
61 -EAPI=5
62 -PYTHON_COMPAT=( python2_7 )
63 -
64 -inherit distutils-r1
65 -
66 -MY_PN="SimpleTAL"
67 -MY_P="${MY_PN}-${PV}"
68 -
69 -DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
70 -HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
71 -SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
72 -
73 -LICENSE="BSD"
74 -SLOT="4"
75 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
76 -IUSE="doc examples"
77 -
78 -DEPEND="dev-python/pyxml[${PYTHON_USEDEP}]"
79 -RDEPEND="${DEPEND}"
80 -
81 -S="${WORKDIR}/${MY_P}"
82 -
83 -python_prepare_all() {
84 - sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
85 - -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
86 - distutils-r1_python_prepare_all
87 -}
88 -
89 -python_test() {
90 - "${PYTHON}" runtests.py || die "tests failed"
91 -}
92 -
93 -python_install_all() {
94 - use doc && local HTML_DOCS=( documentation/html/. )
95 - use examples && local EXAMPLES=( examples/. )
96 - distutils-r1_python_install_all
97 -}
98
99 diff --git a/dev-python/simpletal/simpletal-5.1-r1.ebuild b/dev-python/simpletal/simpletal-5.1-r1.ebuild
100 deleted file mode 100644
101 index e913afb..00000000
102 --- a/dev-python/simpletal/simpletal-5.1-r1.ebuild
103 +++ /dev/null
104 @@ -1,41 +0,0 @@
105 -# Copyright 1999-2015 Gentoo Foundation
106 -# Distributed under the terms of the GNU General Public License v2
107 -# $Id$
108 -
109 -EAPI=5
110 -PYTHON_COMPAT=( python3_3 )
111 -
112 -inherit distutils-r1
113 -
114 -MY_PN="SimpleTAL"
115 -MY_P="${MY_PN}-${PV}"
116 -
117 -DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
118 -HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
119 -SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
120 -
121 -LICENSE="BSD"
122 -SLOT="5"
123 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
124 -IUSE="doc examples"
125 -
126 -DEPEND=""
127 -RDEPEND=""
128 -
129 -S="${WORKDIR}/${MY_P}"
130 -
131 -python_prepare_all() {
132 - sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
133 - -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
134 - distutils-r1_python_prepare_all
135 -}
136 -
137 -python_test() {
138 - "${PYTHON}" runtests.py || die "tests failed"
139 -}
140 -
141 -python_install_all() {
142 - use doc && local HTML_DOCS=( documentation/html/. )
143 - use examples && local EXAMPLES=( examples/. )
144 - distutils-r1_python_install_all
145 -}
146
147 diff --git a/dev-python/simpletal/simpletal-5.2.ebuild b/dev-python/simpletal/simpletal-5.2.ebuild
148 deleted file mode 100644
149 index e913afb..00000000
150 --- a/dev-python/simpletal/simpletal-5.2.ebuild
151 +++ /dev/null
152 @@ -1,41 +0,0 @@
153 -# Copyright 1999-2015 Gentoo Foundation
154 -# Distributed under the terms of the GNU General Public License v2
155 -# $Id$
156 -
157 -EAPI=5
158 -PYTHON_COMPAT=( python3_3 )
159 -
160 -inherit distutils-r1
161 -
162 -MY_PN="SimpleTAL"
163 -MY_P="${MY_PN}-${PV}"
164 -
165 -DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
166 -HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
167 -SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
168 -
169 -LICENSE="BSD"
170 -SLOT="5"
171 -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
172 -IUSE="doc examples"
173 -
174 -DEPEND=""
175 -RDEPEND=""
176 -
177 -S="${WORKDIR}/${MY_P}"
178 -
179 -python_prepare_all() {
180 - sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
181 - -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
182 - distutils-r1_python_prepare_all
183 -}
184 -
185 -python_test() {
186 - "${PYTHON}" runtests.py || die "tests failed"
187 -}
188 -
189 -python_install_all() {
190 - use doc && local HTML_DOCS=( documentation/html/. )
191 - use examples && local EXAMPLES=( examples/. )
192 - distutils-r1_python_install_all
193 -}
194
195 diff --git a/profiles/package.mask b/profiles/package.mask
196 index cf60525..1888864 100644
197 --- a/profiles/package.mask
198 +++ b/profiles/package.mask
199 @@ -166,22 +166,11 @@ app-misc/subsurface
200 # Breaks samba's nmbd process (bug #592502)
201 =sys-libs/tevent-0.9.30
202
203 -# Lars Wendler <polynomial-c@g.o> (06 Sep 2016)
204 -# Dead upstream since 2013. Superseded by eject from
205 -# sys-apps/util-linux.
206 -# Slated for removal in 30 days.
207 -sys-block/eject
208 -
209 # Mike Gilbert <floppym@g.o> (03 Sep 2016)
210 # Python 3.3 will be removed from Gentoo in 30 days.
211 # dev-lang/python:3.3 will be available in the python overlay.
212 dev-lang/python:3.3
213
214 -# Mike Gilbert <floppym@g.o> (03 Sep 2016)
215 -# No reverse deps, only supports python3.3.
216 -# Removal in 30 days.
217 -dev-python/simpletal
218 -
219 # Ian Stakenvicius <axs@g.o> (31 Aug 2016)
220 # Mask old versions of thunderbird as they are no longer supported,
221 # but we keep them in the repo for now in case there is a need
222
223 diff --git a/sys-block/eject/Manifest b/sys-block/eject/Manifest
224 deleted file mode 100644
225 index 08f8b0c..00000000
226 --- a/sys-block/eject/Manifest
227 +++ /dev/null
228 @@ -1 +0,0 @@
229 -DIST eject-2.1.5.tar.gz 123585 SHA256 ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55 SHA512 9ef1ffe51bfcce7faaae3b3bcfd89fcfe7f4c8b31c767ecd75cf021f93f5196a8369956eda71ae68d156d99aabed23cc76da303878978e64955610560778beec WHIRLPOOL 1603a7f553b652ae22fed68796f17b9162155c26276843f388816693554e2bb148fa9b8b868980ec6b0772daee1d85c4c9f7633a283863ea96ea2fa9654fafd3
230
231 diff --git a/sys-block/eject/eject-2.1.5-r2.ebuild b/sys-block/eject/eject-2.1.5-r2.ebuild
232 deleted file mode 100644
233 index 41f9f09..00000000
234 --- a/sys-block/eject/eject-2.1.5-r2.ebuild
235 +++ /dev/null
236 @@ -1,41 +0,0 @@
237 -# Copyright 1999-2011 Gentoo Foundation
238 -# Distributed under the terms of the GNU General Public License v2
239 -# $Id$
240 -
241 -EAPI="3"
242 -
243 -inherit eutils
244 -
245 -DESCRIPTION="A command to eject a disc from the CD-ROM drive"
246 -HOMEPAGE="http://eject.sourceforge.net/"
247 -SRC_URI="mirror://gentoo/${P}.tar.gz"
248 -
249 -LICENSE="GPL-2"
250 -SLOT="0"
251 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
252 -IUSE="nls"
253 -
254 -DEPEND="nls? ( sys-devel/gettext )"
255 -RDEPEND=""
256 -
257 -S=${WORKDIR}/${PN}
258 -
259 -src_prepare() {
260 - epatch "${FILESDIR}"/${PN}-2.0.13-xmalloc.patch
261 - epatch "${FILESDIR}"/${PN}-2.1.4-scsi-rdwr.patch
262 - epatch "${FILESDIR}"/${PN}-2.1.5-handle-spaces.patch #151257
263 - epatch "${FILESDIR}"/${PN}-2.1.5-man-typo.patch #165248
264 - epatch "${FILESDIR}"/${PN}-2.1.5-toggle.patch #261880
265 -}
266 -
267 -src_configure() {
268 - econf \
269 - $(use_enable nls)
270 -}
271 -
272 -src_install() {
273 - # PREFIX for po/Makefile, which hardcodes a prefix of "$(DESTDIR)/usr"
274 - # it is not used in the other makefiles
275 - emake DESTDIR="${D}" PREFIX="${ED}/usr" install || die
276 - dodoc ChangeLog README PORTING TODO AUTHORS NEWS PROBLEMS
277 -}
278
279 diff --git a/sys-block/eject/files/eject-2.0.13-xmalloc.patch b/sys-block/eject/files/eject-2.0.13-xmalloc.patch
280 deleted file mode 100644
281 index f609da1..00000000
282 --- a/sys-block/eject/files/eject-2.0.13-xmalloc.patch
283 +++ /dev/null
284 @@ -1,28 +0,0 @@
285 -Make sure the malloc's work.
286 -
287 -http://bugs.gentoo.org/91977
288 -
289 ---- eject.c
290 -+++ eject.c
291 -@@ -304,2 +304,11 @@
292 -
293 -+void *xmalloc(size_t size)
294 -+{
295 -+ void *ret = malloc(size);
296 -+ if (!ret) {
297 -+ fprintf(stderr, _("%s: could not allocate memory\n"), programName);
298 -+ exit(1);
299 -+ }
300 -+ return ret;
301 -+}
302 -
303 -@@ -324,3 +333,3 @@
304 -
305 -- buf = (char *) malloc(strlen(name)+14); /* to allow for "/dev/cdroms/ + "0" + null */
306 -+ buf = (char *) xmalloc(strlen(name)+14); /* to allow for "/dev/cdroms/ + "0" + null */
307 -
308 -@@ -794,3 +803,3 @@
309 - if (status == 0) {
310 -- result = (char *) malloc(strlen(name) + 25);
311 -+ result = (char *) xmalloc(strlen(name) + 25);
312 - strcpy(result, name);
313
314 diff --git a/sys-block/eject/files/eject-2.1.4-scsi-rdwr.patch b/sys-block/eject/files/eject-2.1.4-scsi-rdwr.patch
315 deleted file mode 100644
316 index cd5e497..00000000
317 --- a/sys-block/eject/files/eject-2.1.4-scsi-rdwr.patch
318 +++ /dev/null
319 @@ -1,21 +0,0 @@
320 -http://bugs.gentoo.org/116731
321 -
322 ---- eject-2.0.13/eject.c
323 -+++ eject-2.0.13/eject.c
324 -@@ -657,7 +657,15 @@
325 - /* Open a device file. */
326 - static int OpenDevice(const char *fullName)
327 - {
328 -- int fd = open(fullName, O_RDONLY|O_NONBLOCK);
329 -+ int flags = O_NONBLOCK;
330 -+ int fd;
331 -+
332 -+ if (s_option)
333 -+ flags |= O_RDWR;
334 -+ else
335 -+ flags |= O_RDONLY;
336 -+
337 -+ fd = open(fullName, flags);
338 - if (fd == -1) {
339 - fprintf(stderr, _("%s: unable to open `%s'\n"), programName, fullName);
340 - exit(1);
341
342 diff --git a/sys-block/eject/files/eject-2.1.5-handle-spaces.patch b/sys-block/eject/files/eject-2.1.5-handle-spaces.patch
343 deleted file mode 100644
344 index 692368f..00000000
345 --- a/sys-block/eject/files/eject-2.1.5-handle-spaces.patch
346 +++ /dev/null
347 @@ -1,57 +0,0 @@
348 -http://bugs.gentoo.org/151257
349 -
350 ---- eject.c
351 -+++ eject.c
352 -@@ -370,6 +370,30 @@ static int FileExists(const char *name,
353 -
354 -
355 - /*
356 -+ * Linux mangles spaces in mount points by changing them to an octal string
357 -+ * of '\040'. So lets scan the mount point and fix it up by replacing all
358 -+ * occurrences off '\0##' with the ASCII value of 0##. Requires a writable
359 -+ * string as input as we mangle in place. Some of this was taken from the
360 -+ * util-linux package.
361 -+ */
362 -+#define octalify(a) ((a) & 7)
363 -+#define tooctal(s) (64*octalify(s[1]) + 8*octalify(s[2]) + octalify(s[3]))
364 -+#define isoctal(a) (((a) & ~7) == '0')
365 -+static char *DeMangleMount(char *s)
366 -+{
367 -+ char *tmp = s;
368 -+ while ((tmp = strchr(tmp, '\\')) != NULL) {
369 -+ if (isoctal(tmp[1]) && isoctal(tmp[2]) && isoctal(tmp[3])) {
370 -+ tmp[0] = tooctal(tmp);
371 -+ memmove(tmp+1, tmp+4, strlen(tmp)-3);
372 -+ }
373 -+ ++tmp;
374 -+ }
375 -+ return s;
376 -+}
377 -+
378 -+
379 -+/*
380 - * Given name, such as foo, see if any of the following exist:
381 - *
382 - * foo (if foo starts with '.' or '/')
383 -@@ -884,8 +908,8 @@ static int MountedDevice(const char *nam
384 - if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) ||
385 - ((maj != -1) && (maj == mtabmaj) && (min == mtabmin))) {
386 - FCLOSE(fp);
387 -- *deviceName = strdup(s1);
388 -- *mountName = strdup(s2);
389 -+ *deviceName = DeMangleMount(strdup(s1));
390 -+ *mountName = DeMangleMount(strdup(s2));
391 - return 1;
392 - }
393 - }
394 -@@ -928,8 +952,8 @@ static int MountableDevice(const char *n
395 - rc = sscanf(line, "%1023s %1023s", s1, s2);
396 - if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) {
397 - FCLOSE(fp);
398 -- *deviceName = strdup(s1);
399 -- *mountName = strdup(s2);
400 -+ *deviceName = DeMangleMount(strdup(s1));
401 -+ *mountName = DeMangleMount(strdup(s2));
402 - return 1;
403 - }
404 - }
405
406 diff --git a/sys-block/eject/files/eject-2.1.5-man-typo.patch b/sys-block/eject/files/eject-2.1.5-man-typo.patch
407 deleted file mode 100644
408 index 2fecb74..00000000
409 --- a/sys-block/eject/files/eject-2.1.5-man-typo.patch
410 +++ /dev/null
411 @@ -1,18 +0,0 @@
412 -http://bugs.gentoo.org/165248
413 -
414 -Index: eject.1
415 -===================================================================
416 -RCS file: /cvsroot/eject/eject/eject/eject.1,v
417 -retrieving revision 1.5
418 -diff -u -p -r1.5 eject.1
419 ---- eject.1 11 Dec 2005 00:21:06 -0000 1.5
420 -+++ eject.1 4 Feb 2007 23:11:15 -0000
421 -@@ -145,7 +145,7 @@ also passes the \-n option to umount(1).
422 - .TP 0.5i
423 - .B \-m
424 - This option allows eject to work with device drivers which automatically
425 --mount removable media and therefore must be always mount()ed.
426 -+mount removable media and therefore must be always mount(1)ed.
427 - The option tells eject to not try to unmount the given device,
428 - even if it is mounted according to /etc/mtab or /proc/mounts.
429 -
430
431 diff --git a/sys-block/eject/files/eject-2.1.5-toggle.patch b/sys-block/eject/files/eject-2.1.5-toggle.patch
432 deleted file mode 100644
433 index 30a9602..00000000
434 --- a/sys-block/eject/files/eject-2.1.5-toggle.patch
435 +++ /dev/null
436 @@ -1,27 +0,0 @@
437 -idea take from opensuse
438 -http://bugs.gentoo.org/261880
439 -
440 ---- a/eject.c
441 -+++ b/eject.c
442 -@@ -576,6 +576,21 @@ static void ToggleTray(int fd)
443 -
444 - #ifdef CDROMCLOSETRAY
445 -
446 -+ /* Ask the CDROM for info, otherwise fall back to manual */
447 -+ switch (ioctl(fd, CDROM_DRIVE_STATUS)) {
448 -+ case CDS_TRAY_OPEN:
449 -+ CloseTray(fd);
450 -+ return;
451 -+
452 -+ case CDS_NO_DISC:
453 -+ case CDS_DISC_OK:
454 -+ if (ioctl(fd, CDROMEJECT, 0) < 0) {
455 -+ perror("ioctl");
456 -+ exit(1);
457 -+ }
458 -+ return;
459 -+ }
460 -+
461 - /* Try to open the CDROM tray and measure the time therefor
462 - * needed. In my experience the function needs less than 0.05
463 - * seconds if the tray was already open, and at least 1.5 seconds
464
465 diff --git a/sys-block/eject/metadata.xml b/sys-block/eject/metadata.xml
466 deleted file mode 100644
467 index 44863f8..00000000
468 --- a/sys-block/eject/metadata.xml
469 +++ /dev/null
470 @@ -1,11 +0,0 @@
471 -<?xml version="1.0" encoding="UTF-8"?>
472 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
473 -<pkgmetadata>
474 -<maintainer type="project">
475 - <email>base-system@g.o</email>
476 - <name>Gentoo Base System</name>
477 -</maintainer>
478 -<upstream>
479 - <remote-id type="sourceforge">eject</remote-id>
480 -</upstream>
481 -</pkgmetadata>