summaryrefslogtreecommitdiff
path: root/dev-python/pygoocanvas
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pygoocanvas
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pygoocanvas')
-rw-r--r--dev-python/pygoocanvas/Manifest5
-rw-r--r--dev-python/pygoocanvas/metadata.xml12
-rw-r--r--dev-python/pygoocanvas/pygoocanvas-0.14.1-r1.ebuild72
3 files changed, 89 insertions, 0 deletions
diff --git a/dev-python/pygoocanvas/Manifest b/dev-python/pygoocanvas/Manifest
new file mode 100644
index 000000000000..22e192ecc221
--- /dev/null
+++ b/dev-python/pygoocanvas/Manifest
@@ -0,0 +1,5 @@
+DIST pygoocanvas-0.14.1.tar.bz2 331136 SHA256 640f54dc62eb2bd4be8ef9687c89baadd7d277895841dd24909ad9029effb3f5 SHA512 cd8175eb51358236b6488d01706d719abfdd0f3d00568e7563b2a1d7edc01f3d77b1ef23b7c062ab4a78d46d5f542c483fc883a81d2f31ce9be2b6a7385c2d22 WHIRLPOOL 3fb234d4271efc0d15fa26fc995411ba7d6ef4a3da2ef150cc3d1bd599e6e1283718d3500ec833cd176716a19765248e74d2299770feb73bfe481eecafd58ce8
+EBUILD pygoocanvas-0.14.1-r1.ebuild 1533 SHA256 6639ae772d05d134e95296731049ca370f055ea0eced303fdd2063876cd53258 SHA512 d2bdf4f0bdd579a643f2deb42a7a8f75536217caf77b35892f4e88401cd35badd318a4f0f5bd8c300f2e0df9bc1cd0df8d464d0b97ee0c7004350d18cc5e5ec0 WHIRLPOOL d9206e83fc9665c8d430839c6da0c68261f70e56edd802c3f3ecd3b169671c1e5cf6f33ab8d8807841988d52227e450bc609b0a0aa95ceb162643c4cee5bbbf6
+MISC ChangeLog 2627 SHA256 894908d37585184d7421824d76e477717cec6f30f8a582c2792b86ba5530a8e9 SHA512 362a39f3dabbac27130640d7cc524346548c15a0866ee548124d4e760a8490da54c2c32f6ba955389979daf184624d5d57d3f177c1852622b6205dd1d18893a5 WHIRLPOOL c2acb1ccae692c886b3c0a43602220afe17538bd7631358d190178987d87208706f88ae3ecf7b94a049a3fc562822e4c89bc46a78fb41dc63bfde0e90c13d656
+MISC ChangeLog-2015 3956 SHA256 e7c8fdb8a0792269e8d4886c826f4a7fca759057de0ef38faf5101ab2cf11087 SHA512 463cdb578b65ce2ba0bdf945b3b031a8992486fc285a119b03822b74edee64baa3c1db777a84b9b010dae016bc70cba2cfc219ba2b2316c8ced503c4ec6cee5f WHIRLPOOL b9fb3e3b95c334a5a510cddba505aa717bfc95785b3b9b7e97cd2b4babc1467982cb7f182052f2760a70f894bda225e4c56f9b269ffa71ff155682eb4a0232dc
+MISC metadata.xml 353 SHA256 6c3967e281629b8778beccb842568a41d665f9db5a9899a74a56dc6500bd4214 SHA512 abcb7bb015ebb246584f60f388837ed0638040f730111831b52716cbc5a9c4ab0c422397702e1d87e56b2947108d5cfa5aeac7489bcd6f89db480c68c572bcdc WHIRLPOOL 46c10a493c2d6a836b1de09d32c3d7012067e6935b2daa144f5bc27fe9d492706bfde9ce4f553d5453463ba152fb4f67155bcd5b220ef5426d04ca3abd625779
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
+}