blob: 73e097ba893478b9bab0a9acc20e764f14e1f570 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.1-r1.ebuild,v 1.1 2010/04/01 02:22:49 neurogeek Exp $
PYTHONDEPEND="2"
EAPI="2"
inherit distutils
inherit eutils
DESCRIPTION="Desktop-oriented interface to CouchDB"
HOMEPAGE="https://launchpad.net/desktopcouch"
SRC_URI="http://launchpad.net/desktopcouch/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
DEPEND=">=dev-python/python-distutils-extra-2.12"
RDEPEND=">=dev-db/couchdb-0.10.0
>=dev-python/gnome-keyring-python-2.22.3-r1
>=dev-python/couchdb-python-0.6
>=dev-python/oauth-1.0.1
>=dev-python/simplejson-2.0.9-r1
>=dev-python/twisted-8.2.0-r2
>=net-dns/avahi-0.6.24-r2[python]"
RESTRICT="test"
src_prepare() {
epatch "${FILESDIR}/${PN}-setup_hardlinks.patch"
}
src_install() {
distutils_src_install
exeinto "${ROOT}/usr/lib/${PN}"
doexe "bin/desktopcouch-stop"
doexe "bin/desktopcouch-service"
if use doc; then
insinto "${ROOT}/usr/share/doc/${PF}/api"
doins "desktopcouch/records/doc/records.txt"
doins "desktopcouch/records/doc/field_registry.txt"
doins "desktopcouch/contacts/schema.txt"
doman "docs/man/desktopcouch-pair.1"
fi
}
|