blob: 5f2f67952844d4258e5596681c34f8eff1ac5939 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/nautilus-python/nautilus-python-1.1.ebuild,v 1.1 2011/10/19 19:52:40 tetromino Exp $
EAPI="3"
PYTHON_DEPEND="2"
GCONF_DEBUG="no"
GNOME_TARBALL_SUFFIX="xz"
GNOME2_LA_PUNT="yes"
inherit eutils gnome2 python
DESCRIPTION="Python bindings for the Nautilus file manager"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="|| ( dev-python/pygobject:3
>=dev-python/pygobject-2.28.2:2[introspection] )
>=gnome-base/nautilus-2.32[introspection]"
DEPEND="${RDEPEND}
doc? ( >=dev-util/gtk-doc-1.9 )"
DOCS="AUTHORS ChangeLog NEWS README"
G2CONF="--docdir=${EPREFIX}/usr/share/doc/${PF}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
gnome2_src_install
if [[ "${P}" != "${PF}" ]]; then
mv "${D}"/usr/share/doc/{${P}/*,${PF}} || die
rm -rf "${D}"/usr/share/doc/${P}
fi
}
|