summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rox-base/zeroinstall-injector')
-rw-r--r--rox-base/zeroinstall-injector/ChangeLog8
-rw-r--r--rox-base/zeroinstall-injector/zeroinstall-injector-1.11.ebuild55
2 files changed, 62 insertions, 1 deletions
diff --git a/rox-base/zeroinstall-injector/ChangeLog b/rox-base/zeroinstall-injector/ChangeLog
index 213b6d41eb60..108924fff2fe 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.36 2013/03/02 07:56:49 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/ChangeLog,v 1.37 2013/03/28 12:00:04 tomwij Exp $
+
+*zeroinstall-injector-1.11 (28 Mar 2013)
+
+ 28 Mar 2013; Tom Wijsman <TomWij@gentoo.org>
+ +zeroinstall-injector-1.11.ebuild:
+ Version bump to 1.11. EAPI 5. Non maintainer commit. Fixes bug #377339.
02 Mar 2013; Pacho Ramos <pacho@gentoo.org>
-zeroinstall-injector-0.43-r1.ebuild, metadata.xml:
diff --git a/rox-base/zeroinstall-injector/zeroinstall-injector-1.11.ebuild b/rox-base/zeroinstall-injector/zeroinstall-injector-1.11.ebuild
new file mode 100644
index 000000000000..7595c11dfbf2
--- /dev/null
+++ b/rox-base/zeroinstall-injector/zeroinstall-injector-1.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/zeroinstall-injector-1.11.ebuild,v 1.1 2013/03/28 12:00:04 tomwij Exp $
+
+EAPI="5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
+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"
+
+DEPEND="!<=rox-base/rox-session-0.30"
+RDEPEND=">=dev-python/pygtk-2.0
+ app-crypt/gnupg"
+
+PYTHON_MODNAME="zeroinstall"
+
+src_prepare() {
+ # Change manpage install path (Bug 207495)
+ sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.'
+ cp "${FILESDIR}/0distutils-r2" "${WORKDIR}/0distutils" || die 'Copying 0distutils to work directory failed.'
+}
+
+src_compile() {
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+
+ fix_0launch_gui() {
+ python_convert_shebangs "$(python_get_version)" \
+ "${ED}$(python_get_sitedir)/zeroinstall/0launch-gui/0launch-gui"
+ }
+ python_execute_function -q fix_0launch_gui
+
+ exeinto "/usr/sbin/"
+ doexe "${WORKDIR}/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"
+}