diff options
author | Jim Ramsay <lack@gentoo.org> | 2010-07-27 14:25:39 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2010-07-27 14:25:39 +0000 |
commit | 9a3943f4e835a76a697a1ffc28e8c30a423eb322 (patch) | |
tree | b11a26cce6253311104a33a1d78890d4ad447396 /rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild | |
parent | stable x86, bug 329847 (diff) | |
download | historical-9a3943f4e835a76a697a1ffc28e8c30a423eb322.tar.gz historical-9a3943f4e835a76a697a1ffc28e8c30a423eb322.tar.bz2 historical-9a3943f4e835a76a697a1ffc28e8c30a423eb322.zip |
Version bump: 0.49 is released
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild')
-rw-r--r-- | rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild b/rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild new file mode 100644 index 000000000000..061957eb9e95 --- /dev/null +++ b/rox-base/zeroinstall-injector/zeroinstall-injector-0.49.ebuild @@ -0,0 +1,56 @@ +# 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.49.ebuild,v 1.1 2010/07/27 14:25:39 lack Exp $ + +EAPI=3 +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" +IUSE="" + +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 + cp "${FILESDIR}/0distutils-r2" "${WORKDIR}/0distutils" +} + +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" +} |