diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pygoocanvas | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pygoocanvas')
-rw-r--r-- | dev-python/pygoocanvas/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pygoocanvas/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild | 72 |
3 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/pygoocanvas/Manifest b/dev-python/pygoocanvas/Manifest new file mode 100644 index 000000000000..09ea01e4726c --- /dev/null +++ b/dev-python/pygoocanvas/Manifest @@ -0,0 +1,3 @@ +DIST pygoocanvas-0.14.1.tar.bz2 331136 BLAKE2B 52e764884d41371fa2482a8e932198a89d0563af0a1e946a69e1fbf4dc4bc2ee84e9be7c7e38144b341aeccdafeadfdda3f5fbb41874e1559f611bee7a789e4d SHA512 cd8175eb51358236b6488d01706d719abfdd0f3d00568e7563b2a1d7edc01f3d77b1ef23b7c062ab4a78d46d5f542c483fc883a81d2f31ce9be2b6a7385c2d22 +EBUILD pygoocanvas-0.14.1-r1.ebuild 1533 BLAKE2B fa3442de5894e7c588c16a73d55fbf6407e203be4dde7cb7becb43d9765c80405a781c2973fd7c428d4991d6148d63d2bf413d6735af2c58eb181959f0152436 SHA512 d2bdf4f0bdd579a643f2deb42a7a8f75536217caf77b35892f4e88401cd35badd318a4f0f5bd8c300f2e0df9bc1cd0df8d464d0b97ee0c7004350d18cc5e5ec0 +MISC metadata.xml 353 BLAKE2B 20a18942138d7ceab468b01a639f92248bf94f0e6a015a0c6c34872cf60ab56ef91d9b36eebc74b3d3133ecbc6cfbf2aedbc24369165d0fe9a4e832394beb022 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc diff --git a/dev-python/pygoocanvas/metadata.xml b/dev-python/pygoocanvas/metadata.xml new file mode 100644 index 000000000000..08a5bd43f9b9 --- /dev/null +++ b/dev-python/pygoocanvas/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +<maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> 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..6f7b0f599aa2 --- /dev/null +++ b/dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" +PYTHON_COMPAT=(python2_7 ) + +inherit gnome2 python-r1 + +DESCRIPTION="GooCanvas python bindings" +HOMEPAGE="https://wiki.gnome.org/Projects/PyGoocanvas" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86" +IUSE="doc examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-python/pygobject-2.11.3:2[${PYTHON_USEDEP}] + >=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}] + >=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}] + >=x11-libs/goocanvas-0.14:0 +" +DEPEND="${RDEPEND} + doc? ( >=dev-util/gtk-doc-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 \ + $(use_enable doc 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 +} |