diff options
author | Peter Volkov <pva@gentoo.org> | 2011-04-19 06:00:36 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-04-19 06:00:36 +0000 |
commit | aaf29590bc97b95c376c04edbdec224543124a94 (patch) | |
tree | df450f852beaf397e064ea71e70b332b47fb8df1 | |
parent | No automagic addition of -pipe to CFLAGS, thanks ago for the fix (diff) | |
download | gentoo-2-aaf29590bc97b95c376c04edbdec224543124a94.tar.gz gentoo-2-aaf29590bc97b95c376c04edbdec224543124a94.tar.bz2 gentoo-2-aaf29590bc97b95c376c04edbdec224543124a94.zip |
Use splitted gnome-python-base deps, bug #352920, thank Pacho Ramos for report. Use python eclass, bug 344733, thank Arfrever Frehtes Taifersar Arahesis for report. Dropped .la files
(Portage version: 2.1.9.45/cvs/Linux x86_64)
-rw-r--r-- | dev-python/nautilus-python/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/nautilus-python/nautilus-python-0.7.0.ebuild | 28 |
2 files changed, 26 insertions, 9 deletions
diff --git a/dev-python/nautilus-python/ChangeLog b/dev-python/nautilus-python/ChangeLog index 96530c7aedcc..feee8932f65d 100644 --- a/dev-python/nautilus-python/ChangeLog +++ b/dev-python/nautilus-python/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/nautilus-python # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nautilus-python/ChangeLog,v 1.7 2011/02/03 07:37:09 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/nautilus-python/ChangeLog,v 1.8 2011/04/19 06:00:36 pva Exp $ + + 19 Apr 2011; Peter Volkov <pva@gentoo.org> nautilus-python-0.7.0.ebuild: + Use splitted gnome-python-base deps, bug #352920, thank Pacho Ramos for + report. Use python eclass, bug 344733, thank Arfrever Frehtes Taifersar + Arahesis for report. Dropped .la files *nautilus-python-0.7.0 (03 Feb 2011) diff --git a/dev-python/nautilus-python/nautilus-python-0.7.0.ebuild b/dev-python/nautilus-python/nautilus-python-0.7.0.ebuild index c6aaf70271bd..8d3082d7ca7c 100644 --- a/dev-python/nautilus-python/nautilus-python-0.7.0.ebuild +++ b/dev-python/nautilus-python/nautilus-python-0.7.0.ebuild @@ -1,10 +1,11 @@ # 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-0.7.0.ebuild,v 1.1 2011/02/03 07:37:09 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/nautilus-python/nautilus-python-0.7.0.ebuild,v 1.2 2011/04/19 06:00:36 pva Exp $ EAPI="3" -inherit eutils gnome2 +PYTHON_DEPEND="2" +inherit eutils gnome2 python autotools DESCRIPTION="Python bindings for the Nautilus file manager" HOMEPAGE="http://www.gnome.org/" @@ -17,18 +18,29 @@ IUSE="doc" DOCS="AUTHORS ChangeLog NEWS" G2CONF="--docdir=${EPREFIX}/usr/share/doc/${PF}" -# FIXME: dev-python/gnome-python-base is not required actually, but configure script -# checks for it for some unknown reason -RDEPEND="dev-python/pygtk - dev-python/pygobject - gnome-base/nautilus" +RDEPEND=">=dev-python/pygtk-2.8 + >=dev-python/pygobject-2.16 + >=gnome-base/nautilus-2.22" DEPEND="${RDEPEND} - dev-python/gnome-python-base + >=dev-python/gconf-python-2.12 doc? ( >=dev-util/gtk-doc-1.9 )" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + # dev-python/gnome-python-base is not required actually, but configure script + # checks for it for some unknown reason + sed -e '/gnome-python-2.0/d' -i configure.in || die + AT_M4DIR=m4 eautoreconf +} + src_install() { gnome2_src_install mv "${D}"/usr/share/doc/{${PN}/*,${PF}} || die rm -rf "${D}"/usr/share/doc/${PN} + find "${ED}" -name '*.la' -exec rm -f {} + prepalldocs } |