+++ /dev/null
-DIST SimpleTAL-4.2.tar.gz 96011 SHA256 3f2983773382491c981e8f621094be4ea4e202336c96f81f9a1f7305e4b2eb08 SHA512 ce816a9c7c66ffa96da0968cea60d838b7e9ed5608a0eae05c40fbbacddec2ca369944f820237d9c3756cd14552d7957c86f8f3e8067cb944ac86529232aa0c8 WHIRLPOOL 6dd675f113d37209a4d10945c0f7116e3d4b45f31bbdfe4488e17150d3969a27e1cb348c3d0136878bae456de646fa8ab086c78d67b8a49046e0b7261261a484
-DIST SimpleTAL-5.1.tar.gz 90604 SHA256 00118ccf7eb74cb3e536a891a1858ad31a2416f63a85cf61fd538bde4c760057 SHA512 51fc5bcfdb4a5ac06b06d7aca20d13cb964a625d0167cc723e8b7352cf154bcde9f14aff96eaa42a5b299c8439336cd35d8fc8f927ae1352be7e7ca5f12aba52 WHIRLPOOL 25e40138a4e53a6f8a6aaa6d607e082ac8ba428ff8b99336d91c5d10e3a6ae8d203e6a49756c96d5357b8605ad4a6eafc3501403a62dce63127eb3ff8ff485bd
-DIST SimpleTAL-5.2.tar.gz 96986 SHA256 ddff80acdebfffc9cb7de2e20761936ea06fcc7cf362678d4b66bd7bbce9e8e2 SHA512 16b46886af50f697e706c6b3f0400707299cfe40a81773fbd094de2f52ca8a87438f3ae7477462d0523570b3e3248d2ad4bb2affd3a7088fc45b1201ed228fbe WHIRLPOOL ea412134f341b572936f0543a944d1d9cae4394be801cf879fdf0859379eb0bc17eda781a62f165e54ce90c511ae7d5dec180f9c718e3ec88fb65fd113c9e284
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
-</maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-MY_PN="SimpleTAL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
-HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
-SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="4"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc examples"
-
-DEPEND="dev-python/pyxml[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
- sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
- -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" runtests.py || die "tests failed"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( documentation/html/. )
- use examples && local EXAMPLES=( examples/. )
- distutils-r1_python_install_all
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python3_3 )
-
-inherit distutils-r1
-
-MY_PN="SimpleTAL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
-HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
-SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="5"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc examples"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
- sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
- -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" runtests.py || die "tests failed"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( documentation/html/. )
- use examples && local EXAMPLES=( examples/. )
- distutils-r1_python_install_all
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python3_3 )
-
-inherit distutils-r1
-
-MY_PN="SimpleTAL"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Stand alone Python implementation of the Zope TAL, TALES and METAL specs for HTML/XML templates"
-HOMEPAGE="http://www.owlfish.com/software/simpleTAL/ https://pypi.python.org/pypi/SimpleTAL"
-SRC_URI="http://www.owlfish.com/software/simpleTAL/downloads/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="5"
-KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
-IUSE="doc examples"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
- sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" \
- -i tests/TALUtilsTests/TemplateCacheTestCases.py || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- "${PYTHON}" runtests.py || die "tests failed"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( documentation/html/. )
- use examples && local EXAMPLES=( examples/. )
- distutils-r1_python_install_all
-}
# Breaks samba's nmbd process (bug #592502)
=sys-libs/tevent-0.9.30
-# Lars Wendler <polynomial-c@gentoo.org> (06 Sep 2016)
-# Dead upstream since 2013. Superseded by eject from
-# sys-apps/util-linux.
-# Slated for removal in 30 days.
-sys-block/eject
-
# Mike Gilbert <floppym@gentoo.org> (03 Sep 2016)
# Python 3.3 will be removed from Gentoo in 30 days.
# dev-lang/python:3.3 will be available in the python overlay.
dev-lang/python:3.3
-# Mike Gilbert <floppym@gentoo.org> (03 Sep 2016)
-# No reverse deps, only supports python3.3.
-# Removal in 30 days.
-dev-python/simpletal
-
# Ian Stakenvicius <axs@gentoo.org> (31 Aug 2016)
# Mask old versions of thunderbird as they are no longer supported,
# but we keep them in the repo for now in case there is a need
+++ /dev/null
-DIST eject-2.1.5.tar.gz 123585 SHA256 ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55 SHA512 9ef1ffe51bfcce7faaae3b3bcfd89fcfe7f4c8b31c767ecd75cf021f93f5196a8369956eda71ae68d156d99aabed23cc76da303878978e64955610560778beec WHIRLPOOL 1603a7f553b652ae22fed68796f17b9162155c26276843f388816693554e2bb148fa9b8b868980ec6b0772daee1d85c4c9f7633a283863ea96ea2fa9654fafd3
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-
-inherit eutils
-
-DESCRIPTION="A command to eject a disc from the CD-ROM drive"
-HOMEPAGE="http://eject.sourceforge.net/"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
-IUSE="nls"
-
-DEPEND="nls? ( sys-devel/gettext )"
-RDEPEND=""
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.0.13-xmalloc.patch
- epatch "${FILESDIR}"/${PN}-2.1.4-scsi-rdwr.patch
- epatch "${FILESDIR}"/${PN}-2.1.5-handle-spaces.patch #151257
- epatch "${FILESDIR}"/${PN}-2.1.5-man-typo.patch #165248
- epatch "${FILESDIR}"/${PN}-2.1.5-toggle.patch #261880
-}
-
-src_configure() {
- econf \
- $(use_enable nls)
-}
-
-src_install() {
- # PREFIX for po/Makefile, which hardcodes a prefix of "$(DESTDIR)/usr"
- # it is not used in the other makefiles
- emake DESTDIR="${D}" PREFIX="${ED}/usr" install || die
- dodoc ChangeLog README PORTING TODO AUTHORS NEWS PROBLEMS
-}
+++ /dev/null
-Make sure the malloc's work.
-
-http://bugs.gentoo.org/91977
-
---- eject.c
-+++ eject.c
-@@ -304,2 +304,11 @@
-
-+void *xmalloc(size_t size)
-+{
-+ void *ret = malloc(size);
-+ if (!ret) {
-+ fprintf(stderr, _("%s: could not allocate memory\n"), programName);
-+ exit(1);
-+ }
-+ return ret;
-+}
-
-@@ -324,3 +333,3 @@
-
-- buf = (char *) malloc(strlen(name)+14); /* to allow for "/dev/cdroms/ + "0" + null */
-+ buf = (char *) xmalloc(strlen(name)+14); /* to allow for "/dev/cdroms/ + "0" + null */
-
-@@ -794,3 +803,3 @@
- if (status == 0) {
-- result = (char *) malloc(strlen(name) + 25);
-+ result = (char *) xmalloc(strlen(name) + 25);
- strcpy(result, name);
+++ /dev/null
-http://bugs.gentoo.org/116731
-
---- eject-2.0.13/eject.c
-+++ eject-2.0.13/eject.c
-@@ -657,7 +657,15 @@
- /* Open a device file. */
- static int OpenDevice(const char *fullName)
- {
-- int fd = open(fullName, O_RDONLY|O_NONBLOCK);
-+ int flags = O_NONBLOCK;
-+ int fd;
-+
-+ if (s_option)
-+ flags |= O_RDWR;
-+ else
-+ flags |= O_RDONLY;
-+
-+ fd = open(fullName, flags);
- if (fd == -1) {
- fprintf(stderr, _("%s: unable to open `%s'\n"), programName, fullName);
- exit(1);
+++ /dev/null
-http://bugs.gentoo.org/151257
-
---- eject.c
-+++ eject.c
-@@ -370,6 +370,30 @@ static int FileExists(const char *name,
-
-
- /*
-+ * Linux mangles spaces in mount points by changing them to an octal string
-+ * of '\040'. So lets scan the mount point and fix it up by replacing all
-+ * occurrences off '\0##' with the ASCII value of 0##. Requires a writable
-+ * string as input as we mangle in place. Some of this was taken from the
-+ * util-linux package.
-+ */
-+#define octalify(a) ((a) & 7)
-+#define tooctal(s) (64*octalify(s[1]) + 8*octalify(s[2]) + octalify(s[3]))
-+#define isoctal(a) (((a) & ~7) == '0')
-+static char *DeMangleMount(char *s)
-+{
-+ char *tmp = s;
-+ while ((tmp = strchr(tmp, '\\')) != NULL) {
-+ if (isoctal(tmp[1]) && isoctal(tmp[2]) && isoctal(tmp[3])) {
-+ tmp[0] = tooctal(tmp);
-+ memmove(tmp+1, tmp+4, strlen(tmp)-3);
-+ }
-+ ++tmp;
-+ }
-+ return s;
-+}
-+
-+
-+/*
- * Given name, such as foo, see if any of the following exist:
- *
- * foo (if foo starts with '.' or '/')
-@@ -884,8 +908,8 @@ static int MountedDevice(const char *nam
- if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) ||
- ((maj != -1) && (maj == mtabmaj) && (min == mtabmin))) {
- FCLOSE(fp);
-- *deviceName = strdup(s1);
-- *mountName = strdup(s2);
-+ *deviceName = DeMangleMount(strdup(s1));
-+ *mountName = DeMangleMount(strdup(s2));
- return 1;
- }
- }
-@@ -928,8 +952,8 @@ static int MountableDevice(const char *n
- rc = sscanf(line, "%1023s %1023s", s1, s2);
- if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) {
- FCLOSE(fp);
-- *deviceName = strdup(s1);
-- *mountName = strdup(s2);
-+ *deviceName = DeMangleMount(strdup(s1));
-+ *mountName = DeMangleMount(strdup(s2));
- return 1;
- }
- }
+++ /dev/null
-http://bugs.gentoo.org/165248
-
-Index: eject.1
-===================================================================
-RCS file: /cvsroot/eject/eject/eject/eject.1,v
-retrieving revision 1.5
-diff -u -p -r1.5 eject.1
---- eject.1 11 Dec 2005 00:21:06 -0000 1.5
-+++ eject.1 4 Feb 2007 23:11:15 -0000
-@@ -145,7 +145,7 @@ also passes the \-n option to umount(1).
- .TP 0.5i
- .B \-m
- This option allows eject to work with device drivers which automatically
--mount removable media and therefore must be always mount()ed.
-+mount removable media and therefore must be always mount(1)ed.
- The option tells eject to not try to unmount the given device,
- even if it is mounted according to /etc/mtab or /proc/mounts.
-
+++ /dev/null
-idea take from opensuse
-http://bugs.gentoo.org/261880
-
---- a/eject.c
-+++ b/eject.c
-@@ -576,6 +576,21 @@ static void ToggleTray(int fd)
-
- #ifdef CDROMCLOSETRAY
-
-+ /* Ask the CDROM for info, otherwise fall back to manual */
-+ switch (ioctl(fd, CDROM_DRIVE_STATUS)) {
-+ case CDS_TRAY_OPEN:
-+ CloseTray(fd);
-+ return;
-+
-+ case CDS_NO_DISC:
-+ case CDS_DISC_OK:
-+ if (ioctl(fd, CDROMEJECT, 0) < 0) {
-+ perror("ioctl");
-+ exit(1);
-+ }
-+ return;
-+ }
-+
- /* Try to open the CDROM tray and measure the time therefor
- * needed. In my experience the function needs less than 0.05
- * seconds if the tray was already open, and at least 1.5 seconds
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
-<upstream>
- <remote-id type="sourceforge">eject</remote-id>
-</upstream>
-</pkgmetadata>