diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2013-01-12 18:20:35 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2013-01-12 18:20:35 +0000 |
commit | 138ff968901af45cdc14619958469c5957b062c7 (patch) | |
tree | 4d5e99b440947a6ba754de53bc93c20f23c0e08d /dev-python/pygoocanvas | |
parent | Restore X Consortium license from Attic. (diff) | |
download | gentoo-2-138ff968901af45cdc14619958469c5957b062c7.tar.gz gentoo-2-138ff968901af45cdc14619958469c5957b062c7.tar.bz2 gentoo-2-138ff968901af45cdc14619958469c5957b062c7.zip |
Switch to python-r1 and EAPI=5.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'dev-python/pygoocanvas')
-rw-r--r-- | dev-python/pygoocanvas/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild | 72 |
2 files changed, 80 insertions, 2 deletions
diff --git a/dev-python/pygoocanvas/ChangeLog b/dev-python/pygoocanvas/ChangeLog index 20330beeb333..9bf3a1d1e1dd 100644 --- a/dev-python/pygoocanvas/ChangeLog +++ b/dev-python/pygoocanvas/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pygoocanvas -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygoocanvas/ChangeLog,v 1.23 2012/05/04 15:12:15 patrick Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygoocanvas/ChangeLog,v 1.24 2013/01/12 18:20:35 eva Exp $ + +*pygoocanvas-0.14.1-r1 (12 Jan 2013) + + 12 Jan 2013; Gilles Dartiguelongue <eva@gentoo.org> + +pygoocanvas-0.14.1-r1.ebuild: + Switch to python-r1 and EAPI=5. 04 May 2012; Patrick Lauer <patrick@gentoo.org> pygoocanvas-0.14.1.ebuild: Migrating dev-util/pkgconfig -> virtual/pkgconfig diff --git a/dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild b/dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild new file mode 100644 index 000000000000..ef31b5295574 --- /dev/null +++ b/dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild,v 1.1 2013/01/12 18:20:35 eva Exp $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" +PYTHON_COMPAT=(python2_{5,6,7} ) + +inherit gnome2 python-r1 + +DESCRIPTION="GooCanvas python bindings" +HOMEPAGE="http://live.gnome.org/PyGoocanvas" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + >=dev-python/pygobject-2.11.3:2 + >=dev-python/pygtk-2.10.4:2 + >=dev-python/pycairo-1.8.4 + >=x11-libs/goocanvas-0.14:0 +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.4 + virtual/pkgconfig +" + +src_prepare() { + prepare_binding() { + mkdir -p "${BUILD_DIR}" || die + } + python_foreach_impl prepare_binding +} + +src_configure() { + # docs installs gtk-doc and xsltproc is not actually used + configure_binding() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + --enable-docs \ + XSLTPROC=$(type -P true) + } + python_foreach_impl run_in_build_dir configure_binding +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +src_test() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + python_foreach_impl run_in_build_dir gnome2_src_install + + dodoc AUTHORS ChangeLog* NEWS + + if use examples; then + rm demo/Makefile* || die + cp -R demo "${D}"/usr/share/doc/${PF} || die + fi +} + +run_in_build_dir() { + pushd "${BUILD_DIR}" > /dev/null || die + "$@" + popd > /dev/null +} |