summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2010-01-12 13:33:58 +0000
committerJim Ramsay <lack@gentoo.org>2010-01-12 13:33:58 +0000
commitc881f31dbe07e2edf456c3fc88aff769fc5754ac (patch)
tree3f3dc3ee1d5239c032654fcc812a1cfa1716720b /rox-base
parentVersion bump (diff)
downloadgentoo-2-c881f31dbe07e2edf456c3fc88aff769fc5754ac.tar.gz
gentoo-2-c881f31dbe07e2edf456c3fc88aff769fc5754ac.tar.bz2
gentoo-2-c881f31dbe07e2edf456c3fc88aff769fc5754ac.zip
Version bump - 0.43 is released
(Portage version: 2.1.7.11/cvs/Linux x86_64)
Diffstat (limited to 'rox-base')
-rw-r--r--rox-base/zeroinstall-injector/ChangeLog10
-rw-r--r--rox-base/zeroinstall-injector/zeroinstall-injector-0.43.ebuild50
2 files changed, 58 insertions, 2 deletions
diff --git a/rox-base/zeroinstall-injector/ChangeLog b/rox-base/zeroinstall-injector/ChangeLog
index 52d4aaa67f40..e0ec238dc873 100644
--- a/rox-base/zeroinstall-injector/ChangeLog
+++ b/rox-base/zeroinstall-injector/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for rox-base/zeroinstall-injector
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.18 2009/07/27 09:44:00 tcunha Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.19 2010/01/12 13:33:58 lack Exp $
+
+*zeroinstall-injector-0.43 (12 Jan 2010)
+
+ 12 Jan 2010; Jim Ramsay <lack@gentoo.org>
+ +zeroinstall-injector-0.43.ebuild:
+ Version bump - 0.43 is released
27 Jul 2009; Tiago Cunha <tcunha@gentoo.org>
zeroinstall-injector-0.40.ebuild:
diff --git a/rox-base/zeroinstall-injector/zeroinstall-injector-0.43.ebuild b/rox-base/zeroinstall-injector/zeroinstall-injector-0.43.ebuild
new file mode 100644
index 000000000000..aac46292783b
--- /dev/null
+++ b/rox-base/zeroinstall-injector/zeroinstall-injector-0.43.ebuild
@@ -0,0 +1,50 @@
+# 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.43.ebuild,v 1.1 2010/01/12 13:33:58 lack 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() {
+ python_version
+ # Note: Must use '-f' because python_mod_optimize sometimes leaves old files
+ # around.
+ python_mod_optimize -f \
+ /usr/$(get_libdir)/python${PYVER}/site-packages/zeroinstall
+}