summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-12 09:57:57 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-09-12 10:15:25 +0200
commit5593e3c986c52667ff6d111284b3a9e53711e106 (patch)
treea7cefe75e58cd103460a2445b626074dd8e4dfdb
parent8458ab744c0220c83f3f356abb9eaa6d18e7196f (diff)
downloadgnome-5593e3c986c52667ff6d111284b3a9e53711e106.tar.gz
gnome-5593e3c986c52667ff6d111284b3a9e53711e106.tar.xz
pygobject: bump to 3.26.0
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/gnome-bindings/pygobject/pygobject-3.26.0.exheres-073
1 files changed, 73 insertions, 0 deletions
diff --git a/packages/gnome-bindings/pygobject/pygobject-3.26.0.exheres-0 b/packages/gnome-bindings/pygobject/pygobject-3.26.0.exheres-0
new file mode 100644
index 0000000..4113a8b
--- /dev/null
+++ b/packages/gnome-bindings/pygobject/pygobject-3.26.0.exheres-0
@@ -0,0 +1,73 @@
+# Copyright 2008 Saleem Abdulrasool <compnerd@compnerd.org>
+# Distributed under the terms of the GNU General Purpose License v2
+
+require gnome.org [ suffix=tar.xz ]
+require python [ blacklist="3.2" ]
+require test-dbus-daemon
+
+SUMMARY="Python Bindings for GObject"
+HOMEPAGE="http://www.pygtk.org"
+
+LICENCES="LGPL-2.1"
+SLOT="3"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="cairo"
+
+DEPENDENCIES="
+ build:
+ virtual/pkg-config
+ build+run:
+ dev-libs/glib:2[>=2.38.0]
+ dev-libs/libffi[>=3.0]
+ gnome-desktop/gobject-introspection:1[>=1.46.0]
+ cairo? ( dev-python/pycairo[>=1.11.1][python_abis:*(-)?] )
+ !gnome-bindings/pygobject:2[gobject-introspection] [[
+ description = [ file collision ]
+ ]]
+ !gnome-bindings/pygobject:2[<2.28.6-r3] [[
+ description = [ Versions before 2.28.6-r2 might install introspection-based bindings ]
+ resolution = manual
+ ]]
+ test:
+ x11-libs/gdk-pixbuf:2.0[gobject-introspection]
+ x11-libs/gtk+:3[gobject-introspection]
+ x11-libs/pango[gobject-introspection]
+ cairo? ( x11-libs/cairo )
+"
+
+DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( cairo )
+
+src_prepare() {
+ # no X operaitons please
+ edo sed -e 's/skipUnless(Gdk/skipUnless(None/' \
+ -i tests/test_overrides_gdk.py \
+ -i tests/test_atoms.py
+
+ edo sed -e 's/skipUnless(Gtk/skipUnless(None/' \
+ -i tests/test_everything.py \
+ -i tests/test_cairo.py \
+ -i tests/compat_test_pygtk.py \
+ -i tests/test_overrides_gtk.py
+
+ default
+}
+
+compile_one_multibuild() {
+ python_disable_pyc
+ default
+}
+
+RESTRICT="test"
+
+test_one_multibuild() {
+ unset DISPLAY
+ unset GDK_IS_DISPLAY
+
+ test-dbus-daemon_run-tests
+}
+
+install_one_multibuild() {
+ default
+ python_bytecompile
+}
+