From 581c7763dbb875e0c43b547c2f1c05fc4ce64a5e Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sun, 11 Jan 2015 13:58:09 +0200 Subject: Pushed pygobject files --- dev-python/pygobject-base/Manifest | 3 + .../files/pygobject-3.7.90-make_check.patch | 86 ++++++++++++++++++++ dev-python/pygobject-base/metadata.xml | 6 ++ .../pygobject-base/pygobject-base-3.12.1.ebuild | 91 +++++++++++++++++++++ .../pygobject-base/pygobject-base-3.13.3.ebuild | 92 +++++++++++++++++++++ .../pygobject-base/pygobject-base-3.14.0.ebuild | 94 ++++++++++++++++++++++ 6 files changed, 372 insertions(+) create mode 100644 dev-python/pygobject-base/Manifest create mode 100755 dev-python/pygobject-base/files/pygobject-3.7.90-make_check.patch create mode 100644 dev-python/pygobject-base/metadata.xml create mode 100644 dev-python/pygobject-base/pygobject-base-3.12.1.ebuild create mode 100644 dev-python/pygobject-base/pygobject-base-3.13.3.ebuild create mode 100644 dev-python/pygobject-base/pygobject-base-3.14.0.ebuild (limited to 'dev-python/pygobject-base') diff --git a/dev-python/pygobject-base/Manifest b/dev-python/pygobject-base/Manifest new file mode 100644 index 00000000..541286cb --- /dev/null +++ b/dev-python/pygobject-base/Manifest @@ -0,0 +1,3 @@ +DIST pygobject-3.12.1.tar.xz 701872 SHA256 da5fe04759e862d347b26b53a6aea0affa7cbe858b7004475fa8c7929496da35 SHA512 095754d06507bb5c5d802603d8fd97fabcc3057172f1fe6f34138e9553281cc7b474a0dd9f235678718eccc4f7adee38b10ec1365d5fd8c4c61a47e4a24fd5a1 WHIRLPOOL 3cc3c96f7f644c17ef9c9704107af3ff0577da3a54258de208b048eee1cf8e329ed572b4d8cea6e336a9757d6f60a969ce9c84fdd9987abf114b3e79a4ee3c18 +DIST pygobject-3.13.3.tar.xz 710452 SHA256 28c4d28c4083ce9c249cf7a8621a1452ecc557951650810a09bf946b21df7452 SHA512 3e8aca047f95d903e89bdfe0e24daf226a10a2bdf783142164fa22a11e6047da528d004711d289067b8cbd80d247c517b2a029cd4df11e54df7f6e6b907833a3 WHIRLPOOL b709d55b93986d7067c65be737c5824d9a26bf1d8ee3ab4c2a0193e24cfb29dea378407d4dbc41772d7ffa259bea1fbda43787a4aef68feafb1f27c416acdf0b +DIST pygobject-3.14.0.tar.xz 720128 SHA256 779effa93f4b59cdb72f4ab0128fb3fd82900bf686193b570fd3a8ce63392d54 SHA512 f6e1e5826a6afe81eb0a37bb554b433769622f8a0d17ac9836498425d70c4583cf8157027a555c21fd7a0d6686863c7803a350550665a375a906fccdabca2090 WHIRLPOOL 0a665504b792691238b89d2704ce1cc024f89ddf96fd6b626f1f5b05dbccfd633e61f9b45b0ca09873029c576b9804edcfa77e1bceae9e995be44a3fd60852ca diff --git a/dev-python/pygobject-base/files/pygobject-3.7.90-make_check.patch b/dev-python/pygobject-base/files/pygobject-3.7.90-make_check.patch new file mode 100755 index 00000000..74db7757 --- /dev/null +++ b/dev-python/pygobject-base/files/pygobject-3.7.90-make_check.patch @@ -0,0 +1,86 @@ +From 319d6d68a398d326ef95e39f494da7c514facf81 Mon Sep 17 00:00:00 2001 +From: Sobhan Mohammadpour +Date: Fri, 8 Mar 2013 08:25:58 +0330 +Subject: [PATCH] pygobject-3.7.90-make check + +originaly by [Alexandre Rostovtsev +don't build tests unless it's needed + +--- + tests/Makefile.am | 12 ++++++------ + tests/runtests.py | 3 +++ + 2 files changed, 9 insertions(+), 6 deletions(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 287542d..2cc0da9 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -1,5 +1,5 @@ + CLEANFILES = +-noinst_LTLIBRARIES = libgimarshallingtests.la ++check_LTLIBRARIES = libgimarshallingtests.la + test_typelibs = GIMarshallingTests-1.0.typelib + + nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h +@@ -23,7 +23,7 @@ GIMarshallingTests-1.0.typelib: GIMarshallingTests-1.0.gir Makefile + + # regress.c needs cairo + if ENABLE_CAIRO +-noinst_LTLIBRARIES += libregress.la ++check_LTLIBRARIES += libregress.la + test_typelibs += Regress-1.0.typelib + nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h + libregress_la_CFLAGS = $(GIO_CFLAGS) $(CAIRO_CFLAGS) +@@ -52,7 +52,7 @@ gschemas.compiled: org.gnome.test.gschema.xml + + CLEANFILES += Regress-1.0.gir Regress-1.0.typelib GIMarshallingTests-1.0.gir GIMarshallingTests-1.0.typelib gschemas.compiled + +-noinst_LTLIBRARIES += testhelper.la ++check_LTLIBRARIES += testhelper.la + + testhelper_la_CFLAGS = -I$(top_srcdir)/gi/_gobject -I$(top_srcdir)/gi/_glib $(PYTHON_INCLUDES) $(GLIB_CFLAGS) + testhelper_la_LDFLAGS = -module -avoid-version +@@ -72,7 +72,7 @@ testhelper.la: $(testhelper_la_OBJECTS) $(testhelper_la_DEPENDENCIES) + test -L $@ || $(LN_S) .libs/$@ $@ + + +-all: $(LTLIBRARIES:.la=.so) ++all: $(check_LTLIBRARIES:.la=.so) + + EXTRA_DIST = \ + compathelper.py \ +@@ -116,7 +116,7 @@ EXTRA_DIST = \ + $(NULL) + + clean-local: +- rm -f $(LTLIBRARIES:.la=.so) file.txt~ ++ rm -f $(check_LTLIBRARIES:.la=.so) file.txt~ + + DBUS_LAUNCH=$(shell which dbus-launch) + RUN_TESTS_ENV_VARS= \ +@@ -130,7 +130,7 @@ RUN_TESTS_ENV_VARS= \ + + # pygtkcompat tests need to be run in a separate process as they + # clobber global name space +-check-local: $(LTLIBRARIES:.la=.so) $(test_typelibs) gschemas.compiled ++check-local: $(check_LTLIBRARIES:.la=.so) $(test_typelibs) gschemas.compiled + @echo " CHECK Pyflakes" + @if type pyflakes >/dev/null 2>&1; then pyflakes $(top_srcdir); else echo "skipped, pyflakes not installed"; fi + @if test -z "$$SKIP_PEP8"; then \ +diff --git a/tests/runtests.py b/tests/runtests.py +index d3a4f47..5a53d3f 100755 +--- a/tests/runtests.py ++++ b/tests/runtests.py +@@ -54,6 +54,9 @@ if sys.version_info[:2] == (2, 6): + if sys.version_info[:2] == (2, 7): + unittest.TestCase.assertRaisesRegex = unittest.TestCase.assertRaisesRegexp + ++# Some tests fail with translated messages. ++os.environ["LC_ALL"] = "C" ++ + if '--help' in sys.argv: + print("Usage: ./runtests.py ") + sys.exit(0) +-- +1.8.1.2 + diff --git a/dev-python/pygobject-base/metadata.xml b/dev-python/pygobject-base/metadata.xml new file mode 100644 index 00000000..9b1bc26a --- /dev/null +++ b/dev-python/pygobject-base/metadata.xml @@ -0,0 +1,6 @@ + + + +gnome +python + diff --git a/dev-python/pygobject-base/pygobject-base-3.12.1.ebuild b/dev-python/pygobject-base/pygobject-base-3.12.1.ebuild new file mode 100644 index 00000000..f2259a38 --- /dev/null +++ b/dev-python/pygobject-base/pygobject-base-3.12.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_2,3_3} ) + +REAL_PN="${PN/-base}" +GNOME_ORG_MODULE="${REAL_PN}" + +inherit autotools eutils gnome2 python-r1 virtualx + +DESCRIPTION="GLib's GObject library bindings for Python" +HOMEPAGE="http://www.pygtk.org/" + +LICENSE="LGPL-2.1+" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="+cairo examples test +threads" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND=" + >=dev-libs/glib-2.38:2 + >=dev-libs/gobject-introspection-1.38 + virtual/libffi:= + ${PYTHON_DEPS} +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + test? ( + dev-libs/atk[introspection] + media-fonts/font-cursor-misc + media-fonts/font-misc-misc + virtual/python-unittest2[${PYTHON_USEDEP}] + x11-libs/gdk-pixbuf:2[introspection] + x11-libs/gtk+:3[introspection] + x11-libs/pango[introspection] ) +" + +# We now disable introspection support in slot 2 per upstream recommendation +# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however, +# older versions of slot 2 installed their own site-packages/gi, and +# slot 3 will collide with them. +RDEPEND="${COMMON_DEPEND} + !