/[gentoo-x86]/rox-base/zeroinstall-injector/zeroinstall-injector-0.43-r1.ebuild
Gentoo

Contents of /rox-base/zeroinstall-injector/zeroinstall-injector-0.43-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Oct 10 17:51:34 2010 UTC (3 years, 11 months ago) by armin76
Branch: MAIN
Changes since 1.6: +2 -2 lines
sparc stable wrt #323449
(Portage version: 2.1.8.3/cvs/Linux ia64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/rox-base/zeroinstall-injector/zeroinstall-injector-0.43-r1.ebuild,v 1.6 2010/09/10 13:10:35 klausman Exp $
4
5 EAPI=3
6 SUPPORT_PYTHON_ABIS="1"
7 RESTRICT_PYTHON_ABIS="3.*"
8 PYTHON_DEPEND="2"
9 PYTHON_USE_WITH="xml"
10 inherit distutils
11
12 DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves"
13 HOMEPAGE="http://0install.net/"
14 SRC_URI="mirror://sourceforge/zero-install/${P}.tar.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="alpha amd64 ppc sparc x86"
19 IUSE=""
20
21 DEPEND="!<=rox-base/rox-session-0.30"
22 RDEPEND=">=dev-python/pygtk-2.0
23 app-crypt/gnupg"
24
25 PYTHON_MODNAME="zeroinstall"
26
27 src_prepare() {
28 # Change manpage install path (Bug 207495)
29 sed -i 's:man/man1:share/man/man1:' setup.py
30 cp "${FILESDIR}/0distutils-r2" "${WORKDIR}/0distutils"
31 }
32
33 src_compile() {
34 distutils_src_compile
35 }
36
37 src_install() {
38 distutils_src_install
39
40 fix_0launch_gui() {
41 python_convert_shebangs "$(python_get_version)" \
42 "${ED}$(python_get_sitedir)/zeroinstall/0launch-gui/0launch-gui"
43 }
44 python_execute_function -q fix_0launch_gui
45
46 exeinto "/usr/sbin/"
47 doexe "${WORKDIR}/0distutils"
48
49 local BASE_XDG_CONFIG="/etc/xdg/0install.net"
50 local BASE_XDG_DATA="/usr/share/0install.net"
51
52 insinto "${BASE_XDG_CONFIG}/injector"
53 newins "${FILESDIR}/global.cfg" global
54
55 dodir "${BASE_XDG_DATA}/native_feeds"
56 }

  ViewVC Help
Powered by ViewVC 1.1.20