From 47200830d8e457ded1f348656b2964f7b50ab87f Mon Sep 17 00:00:00 2001 From: prlw1 Date: Sat, 18 May 2013 22:59:46 +0000 Subject: Update py-gobject3 to 3.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Many bug fixes and improvemnts: https://git.gnome.org/browse/pygobject/tree/NEWS?id=3.8.2 Highlights: - Dot not clobber original Gdk/Gtk functions with overrides (Martin Pitt) (#686835) - Fix array arguments on 32 bit architectures (Martin Pitt) - Add backwards compatible API for GLib.unix_signal_add_full() (Martin Pitt) - Drop MININT64/MAXUINT64 workaround, current g-i gets this right now (Martin Pitt) - [API change] Drop almost all static GLib bindings and replace them with proper introspection. This gets rid of several cases where the PyGObject API was not matching the real GLib API, makes the full GLib API available through introspection, and makes the code smaller, easier to maintain. For backwards compatibility, overrides are provided to emulate the old static binding API, but this will throw a PyGIDeprecationWarning for the cases that diverge from the official API (in particular, GLib.io_add_watch() and GLib.child_watch_add() being called without a priority argument). (Martin Pitt, Simon Feltman) - [API change] Deprecate calling GLib API through the GObject namespace. This has always been a misnomer with introspection, and will be removed in a later version; for now this throws a PyGIDeprecationWarning. - [API change] Do not bind gobject_get_data() and gobject_set_data(). These have been deprecated for a cycle, now dropped entirely. (Steve Frécinaux) (#641944) - [API change] Deprecate void pointer fields as general PyObject storage. (Simon Feltman) (#683599) --- devel/py-gobject3/Makefile | 23 +++++++++++++---------- devel/py-gobject3/PLIST | 14 +++++++++++++- devel/py-gobject3/distinfo | 8 ++++---- 3 files changed, 30 insertions(+), 15 deletions(-) (limited to 'devel/py-gobject3') diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile index 19045f8a699..4c90a0b52c8 100644 --- a/devel/py-gobject3/Makefile +++ b/devel/py-gobject3/Makefile @@ -1,11 +1,9 @@ -# $NetBSD: Makefile,v 1.14 2013/02/16 11:20:50 wiz Exp $ -# - -DISTNAME= pygobject-3.4.2 -PKGNAME= ${PYPKGPREFIX}-gobject3-3.4.2 -PKGREVISION= 2 -CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygobject/3.4/} +# $NetBSD: Makefile,v 1.15 2013/05/18 22:59:46 prlw1 Exp $ + +DISTNAME= pygobject-3.8.2 +PKGNAME= ${PYPKGPREFIX}-gobject3-3.8.2 +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygobject/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz MAINTAINER= prlw1@cam.ac.uk @@ -19,6 +17,9 @@ USE_TOOLS+= pkg-config gmake GNU_CONFIGURE= yes CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} +PYTHON_VERSIONS_INCLUDE_3X= yes +PYTHON_SELF_CONFLICT= yes + PKGCONFIG_OVERRIDE+= pygobject-3.0.pc.in PY_PATCHPLIST= yes PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} @@ -40,8 +41,10 @@ PLATFORM!= ${PYTHONBIN:Q} -c "import sys; from distutils import util; sys.stdout PLIST_SUBST+= PLATFORM=${PLATFORM:Q} .endif -.include "../../graphics/py-cairo/buildlink3.mk" +BUILDLINK_API_DEPENDS.glib2= glib2>=2.34.2 .include "../../devel/glib2/buildlink3.mk" -BUILDLINK_API_DEPENDS.gobject-introspection= gobject-introspection>=1.34.1.1 +BUILDLINK_API_DEPENDS.gobject-introspection= gobject-introspection>=1.34.2 .include "../../devel/gobject-introspection/buildlink3.mk" +.include "../../devel/libffi/buildlink3.mk" +.include "../../graphics/py-cairo/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-gobject3/PLIST b/devel/py-gobject3/PLIST index e8955502f6c..ac021fa5540 100644 --- a/devel/py-gobject3/PLIST +++ b/devel/py-gobject3/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2012/12/04 14:54:34 prlw1 Exp $ +@comment $NetBSD: PLIST,v 1.5 2013/05/18 22:59:46 prlw1 Exp $ include/pygobject-3.0/pygobject.h lib/libpyglib-gi-2.0-python${PYVERSSUFFIX}.la lib/pkgconfig/pygobject-3.0.pc @@ -39,6 +39,9 @@ ${PYSITELIB}/gi/overrides/GIMarshallingTests.pyo ${PYSITELIB}/gi/overrides/GLib.py ${PYSITELIB}/gi/overrides/GLib.pyc ${PYSITELIB}/gi/overrides/GLib.pyo +${PYSITELIB}/gi/overrides/GObject.py +${PYSITELIB}/gi/overrides/GObject.pyc +${PYSITELIB}/gi/overrides/GObject.pyo ${PYSITELIB}/gi/overrides/Gdk.py ${PYSITELIB}/gi/overrides/Gdk.pyc ${PYSITELIB}/gi/overrides/Gdk.pyo @@ -67,3 +70,12 @@ ${PYSITELIB}/gi/types.py ${PYSITELIB}/gi/types.pyc ${PYSITELIB}/gi/types.pyo ${PYSITELIB}/pygobject-${PKGVERSION}-py${PYVERSSUFFIX}-${PLATFORM}.egg-info +${PYSITELIB}/pygtkcompat/__init__.py +${PYSITELIB}/pygtkcompat/__init__.pyc +${PYSITELIB}/pygtkcompat/__init__.pyo +${PYSITELIB}/pygtkcompat/generictreemodel.py +${PYSITELIB}/pygtkcompat/generictreemodel.pyc +${PYSITELIB}/pygtkcompat/generictreemodel.pyo +${PYSITELIB}/pygtkcompat/pygtkcompat.py +${PYSITELIB}/pygtkcompat/pygtkcompat.pyc +${PYSITELIB}/pygtkcompat/pygtkcompat.pyo diff --git a/devel/py-gobject3/distinfo b/devel/py-gobject3/distinfo index 86f57992e48..a017bdd4b3d 100644 --- a/devel/py-gobject3/distinfo +++ b/devel/py-gobject3/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2012/12/04 15:04:44 prlw1 Exp $ +$NetBSD: distinfo,v 1.6 2013/05/18 22:59:46 prlw1 Exp $ -SHA1 (pygobject-3.4.2.tar.xz) = abf695f16d36a36e72f713016a92eab0646d37a2 -RMD160 (pygobject-3.4.2.tar.xz) = 8de9f21861001df176986c89da0fbe1e9bc9f051 -Size (pygobject-3.4.2.tar.xz) = 615032 bytes +SHA1 (pygobject-3.8.2.tar.xz) = c668e35c4f00d2736f404f1f0433327bdb64ea54 +RMD160 (pygobject-3.8.2.tar.xz) = 28aee85aa13e57d8c47af6582bd1d6693d28dae0 +Size (pygobject-3.8.2.tar.xz) = 654092 bytes -- cgit v1.2.3