diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-07 13:56:01 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-09 17:17:54 +0100 |
commit | 6281b4186756a1d55c2a9d7b0e74c3b6f6f0c9c4 (patch) | |
tree | bec4649a6a764ae79da97c6e6e3055de056b367e /dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild | |
parent | dev-libs/libsavitar: Switch to PYTHON_MULTI_USEDEP API (diff) | |
download | gentoo-6281b4186756a1d55c2a9d7b0e74c3b6f6f0c9c4.tar.gz gentoo-6281b4186756a1d55c2a9d7b0e74c3b6f6f0c9c4.tar.bz2 gentoo-6281b4186756a1d55c2a9d7b0e74c3b6f6f0c9c4.zip |
dev-python/nautilus-python: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild')
-rw-r--r-- | dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild b/dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild new file mode 100644 index 000000000000..1938ff3e5975 --- /dev/null +++ b/dev-python/nautilus-python/nautilus-python-1.2.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python2_7 ) + +inherit gnome2 python-single-r1 + +DESCRIPTION="Python bindings for the Nautilus file manager" +HOMEPAGE="https://projects.gnome.org/nautilus-python/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Require pygobject:3 and USE=introspection on nautilus for sanity, +# because no (user) plugins could work without them; configure itself +# requires pygobject:3 or :2 and >=nautilus-2.32 +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + >=gnome-base/nautilus-3[introspection] + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.14 + virtual/pkgconfig +" + +src_install() { + gnome2_src_install + # Directory for systemwide extensions + keepdir /usr/share/nautilus-python/extensions +} |