Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/desktopcouch: desktopcouch-0.6.4.ebuild
Date: Thu, 29 Apr 2010 00:49:28
Message-Id: 20100429004924.90C772C04C@corvid.gentoo.org
1 arfrever 10/04/29 00:49:24
2
3 Modified: desktopcouch-0.6.4.ebuild
4 Log:
5 Don't use ROOT in src_install().
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-db/desktopcouch/desktopcouch-0.6.4.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild?r1=1.1&r2=1.2
14
15 Index: desktopcouch-0.6.4.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- desktopcouch-0.6.4.ebuild 27 Apr 2010 18:43:25 -0000 1.1
22 +++ desktopcouch-0.6.4.ebuild 29 Apr 2010 00:49:24 -0000 1.2
23 @@ -1,11 +1,11 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild,v 1.1 2010/04/27 18:43:25 neurogeek Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.4.ebuild,v 1.2 2010/04/29 00:49:24 arfrever Exp $
28
29 -PYTHONDEPEND="2"
30 EAPI="2"
31 +PYTHON_DEPEND="2"
32
33 -inherit distutils eutils
34 +inherit distutils eutils multilib
35
36 DESCRIPTION="Desktop-oriented interface to CouchDB"
37 HOMEPAGE="https://launchpad.net/desktopcouch"
38 @@ -25,23 +25,26 @@
39 >=net-dns/avahi-0.6.24-r2[python]"
40 RESTRICT="test"
41
42 +pkg_setup() {
43 + python_set_active_version 2
44 +}
45 +
46 src_prepare() {
47 epatch "${FILESDIR}/${P}-setup_hardlinks.patch"
48 }
49
50 src_install() {
51 -
52 python_convert_shebangs -r 2 "bin/"
53
54 distutils_src_install
55
56 - exeinto "${ROOT}/usr/lib/${PN}"
57 + exeinto "/usr/$(get_libdir)/${PN}"
58 doexe "bin/desktopcouch-stop"
59 doexe "bin/desktopcouch-service"
60 doexe "bin/desktopcouch-get-port"
61
62 if use doc; then
63 - insinto "${ROOT}/usr/share/doc/${PF}/api"
64 + insinto "/usr/share/doc/${PF}/api"
65 doins "desktopcouch/records/doc/records.txt"
66 doins "desktopcouch/records/doc/field_registry.txt"
67 doins "desktopcouch/contacts/schema.txt"