From 2c12f917ecf0fdab3758733c88568ccdbe5ae089 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 15 Nov 2010 16:05:04 +0000 Subject: Delete older ebuild. Package-Manager: portage-2.2.0_alpha4_p23/cvs/Linux x86_64 --- rox-base/rox-lib/ChangeLog | 6 +- rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild | 63 ----------- rox-base/zeroinstall-injector/ChangeLog | 6 +- rox-base/zeroinstall-injector/files/0distutils-r1 | 116 --------------------- .../zeroinstall-injector-0.40.ebuild | 48 --------- 5 files changed, 10 insertions(+), 229 deletions(-) delete mode 100644 rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild delete mode 100755 rox-base/zeroinstall-injector/files/0distutils-r1 delete mode 100644 rox-base/zeroinstall-injector/zeroinstall-injector-0.40.ebuild (limited to 'rox-base') diff --git a/rox-base/rox-lib/ChangeLog b/rox-base/rox-lib/ChangeLog index 7e3f8257d67a..3d4f82f47e93 100644 --- a/rox-base/rox-lib/ChangeLog +++ b/rox-base/rox-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for rox-base/rox-lib # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.43 2010/03/22 16:44:35 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/ChangeLog,v 1.44 2010/11/15 16:03:02 arfrever Exp $ + + 15 Nov 2010; Arfrever Frehtes Taifersar Arahesis + -rox-lib-2.0.5-r1.ebuild: + Delete. 22 Mar 2010; Jim Ramsay rox-lib-2.0.5-r1.ebuild, rox-lib-2.0.6.ebuild: diff --git a/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild b/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild deleted file mode 100644 index a68b524dec7d..000000000000 --- a/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/rox-lib/rox-lib-2.0.5-r1.ebuild,v 1.8 2010/03/22 16:44:35 lack Exp $ - -EAPI=2 - -PYTHON_DEPEND="2:2.4" -inherit python eutils multilib - -MY_PN="rox-lib2" -DESCRIPTION="ROX-Lib2 - Shared code for ROX applications by Thomas Leonard" -HOMEPAGE="http://rox.sourceforge.net/desktop/ROX-Lib" -SRC_URI="mirror://sourceforge/rox/${MY_PN}-${PV}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ppc sparc x86" -IUSE="" - -RDEPEND=">=rox-base/rox-2.2.0 - >=dev-python/pygtk-2.8.2 - dev-lang/python[xml]" - -DEPEND="rox-base/zeroinstall-injector" - -S=${WORKDIR}/${MY_PN}-${PV} - -src_prepare() { - epatch "${FILESDIR}/rox-lib-nosvg.patch" -} - -src_install() { - local baselibdir="/usr/$(get_libdir)" - local NATIVE_FEED_DIR="/usr/share/0install.net/native_feeds" - local ICON_CACHE_DIR="/var/cache/0install.net/interface_icons" - - dodir "${baselibdir}" - cp -r ROX-Lib2/ "${D}${baselibdir}" - dodir /usr/share/doc/ - dosym "${baselibdir}/ROX-Lib2/Help" "/usr/share/doc/${P}" - - 0distutils ROX-Lib2/ROX-Lib2.xml > tmp.native_feed || die "0distutilss feed edit failed" - insinto "${baselibdir}/ROX-Lib2/" - newins tmp.native_feed ROX-Lib2.xml - - local feedname - feedname=$(0distutils -e tmp.native_feed) || die "0distutils URI escape failed" - dosym "${baselibdir}/ROX-Lib2/ROX-Lib2.xml" "${NATIVE_FEED_DIR}/${feedname}" - - local cachedname - cachedname=$(0distutils -c tmp.native_feed) || die "0distutils URI escape failed" - dosym "${baselibdir}/ROX-Lib2/.DirIcon" "${ICON_CACHE_DIR}/${cachedname}" -} - -pkg_postinst() { - local baselibdir="/usr/$(get_libdir)" - python_mod_optimize "${baselibdir}/ROX-Lib2/" -} - -pkg_postrm() { - local baselibdir="/usr/$(get_libdir)" - python_mod_cleanup "${baselibdir}/ROX-Lib2/" -} diff --git a/rox-base/zeroinstall-injector/ChangeLog b/rox-base/zeroinstall-injector/ChangeLog index 0d7340c51c50..6c7da79f2518 100644 --- a/rox-base/zeroinstall-injector/ChangeLog +++ b/rox-base/zeroinstall-injector/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for rox-base/zeroinstall-injector # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.30 2010/10/10 17:51:34 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.31 2010/11/15 16:05:04 arfrever Exp $ + + 15 Nov 2010; Arfrever Frehtes Taifersar Arahesis + -files/0distutils-r1, -zeroinstall-injector-0.40.ebuild: + Delete. 10 Oct 2010; Raúl Porcel zeroinstall-injector-0.43-r1.ebuild: diff --git a/rox-base/zeroinstall-injector/files/0distutils-r1 b/rox-base/zeroinstall-injector/files/0distutils-r1 deleted file mode 100755 index 2d40282e80b5..000000000000 --- a/rox-base/zeroinstall-injector/files/0distutils-r1 +++ /dev/null @@ -1,116 +0,0 @@ -#!/usr/bin/python - -import os -from xml.dom import minidom -import xml.dom - -ns0compile = "http://zero-install.sourceforge.net/2006/namespaces/0compile" - -def escape(uri): - import zeroinstall.injector.model - return zeroinstall.injector.model._pretty_escape(uri) - -def cacheescape(uri): - import zeroinstall.injector.model - return zeroinstall.injector.model.escape(uri) - -def strip(node): - torm = [] - for c in node.childNodes: - if c.nodeType == xml.dom.Node.TEXT_NODE and \ - c.nodeValue.strip() == "": - torm.append(c) - elif c.hasChildNodes(): - strip(c) - for c in torm: - node.removeChild(c) - c.unlink() - -class LocalFeed(object): - def __init__(self, xmlfile): - self.xml = minidom.parse(xmlfile) - if self.xml.documentElement.nodeName != "interface": - raise TypeError("Not an interface") - strip(self.xml.documentElement) - - def getUri(self): - for element in self.xml.documentElement.getElementsByTagName("feed-for"): - if element.hasAttribute("interface"): - return element.getAttribute("interface") - return None - - def edit(self, id=".", main="AppRun", stability="packaged"): - for attribute in ("main", "uri"): - if self.xml.documentElement.hasAttribute(attribute): - self.xml.documentElement.removeAttribute(attribute) - for group in self.xml.documentElement.getElementsByTagName("group"): - group.setAttribute("main", "AppRun") - if group.hasAttribute("arch") and group.getAttribute("arch") == "*-src": - uname = os.uname() - group.setAttribute("arch", "%s-%s" % (uname[0], uname[-1])) - attr0comp = [] - for aidx in range(0, group.attributes.length): - attr = group.attributes.item(aidx) - if attr.namespaceURI == ns0compile: - attr0comp.append(attr) - for attr in attr0comp: - group.removeAttributeNode(attr) - reqlist = group.getElementsByTagName("requires") - for req in reqlist: - group.removeChild(req) - req.unlink() - for imp in group.getElementsByTagName("implementation"): - imp.setAttribute("stability",stability) - imp.setAttribute("id",id) - - def dump(self): - print self.xml.toprettyxml() - -def main(xmlfile, mode="edit"): - try: - feed = LocalFeed(xmlfile) - if mode == "uri": - print feed.getUri() - elif mode == "escape": - print escape(feed.getUri()) - elif mode == "cache": - print cacheescape(feed.getUri()) - else: - feed.edit() - feed.dump() - except Exception, e: - import sys - print "Fatal:", e - sys.exit(2) - -def usage(program): - import os.path - progname = os.path.basename(program) - print "Usage:", progname, "[-u|-e] " - print "Options:" - print "\t-u --uri: Finds the URI from the feed" - print "\t-e --escape: Escapes the URI from the feed" - -if __name__ == "__main__": - from optparse import OptionParser - import sys - parser = OptionParser(usage="usage: %prog [options] feed.xml", - description="By default, edits the given feed and prints the result on stdout.") - parser.add_option("-e", "--escape", action="store_const", - const="escape", dest="mode", - help="Return the cache-escaped URI from the feed on stdout.") - parser.add_option("-c", "--cache", action="store_const", - const="cache", dest="mode", - help="Return the file-escaped URI from the feed on stdout.") - parser.add_option("-u", "--uri", action="store_const", - const="uri", dest="mode", - help="Return the original URI from the feed on stdout.") - (options, args) = parser.parse_args() - if len(args) == 0: - parser.print_help() - else: - if len(args) > 1: - parser.error("requires exactly one .xml file") - main(args[0], options.mode) - -# vim: nosta noet sw=4 ts=4 diff --git a/rox-base/zeroinstall-injector/zeroinstall-injector-0.40.ebuild b/rox-base/zeroinstall-injector/zeroinstall-injector-0.40.ebuild deleted file mode 100644 index efe399483b19..000000000000 --- a/rox-base/zeroinstall-injector/zeroinstall-injector-0.40.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/zeroinstall-injector-0.40.ebuild,v 1.8 2010/06/15 13:10:39 arfrever Exp $ - -EAPI=2 -inherit distutils - -DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves" -HOMEPAGE="http://0install.net/" -SRC_URI="mirror://sourceforge/zero-install/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ppc sparc x86" -IUSE="" - -DEPEND="!<=rox-base/rox-session-0.30" -RDEPEND=">=dev-python/pygtk-2.0 - app-crypt/gnupg - dev-lang/python[xml]" - -PYTHON_MODNAME="zeroinstall" - -src_prepare() { - # Change manpage install path (Bug 207495) - sed -i 's:man/man1:share/man/man1:' setup.py -} - -src_install() { - distutils_src_install - - exeinto "/usr/sbin/" - newexe "${FILESDIR}/0distutils-r1" 0distutils - - local BASE_XDG_CONFIG="/etc/xdg/0install.net" - local BASE_XDG_DATA="/usr/share/0install.net" - - insinto "${BASE_XDG_CONFIG}/injector" - newins "${FILESDIR}/global.cfg" global - - dodir "${BASE_XDG_DATA}/native_feeds" -} - -pkg_postinst() { - # Note: Must use '-f' because python_mod_optimize sometimes leaves old files - # around. - python_mod_optimize -f $(python_get_sitedir)/zeroinstall -} -- cgit v1.2.3-65-gdbad