pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py-gobject3: updated to 3.28.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/842dbb38e1ac
branches:  trunk
changeset: 378753:842dbb38e1ac
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 14 12:27:35 2018 +0000

description:
py-gobject3: updated to 3.28.2

3.28.2:
* setup.py: Don't install the test C extension when it's built.
* setup.py: Always define PY_SSIZE_T_CLEAN.
* Fix __str__ return type of Gtk.TreePath with depth == 0.
* Fix a crash when setting a str property with a value containing surrogates.
* tests: Fix a potential crash during tests

diffstat:

 devel/py-gobject3-common/Makefile |   4 ++--
 devel/py-gobject3/Makefile        |  21 ++++++++++++---------
 devel/py-gobject3/Makefile.common |  29 +++++++++--------------------
 devel/py-gobject3/PLIST           |   7 +++++--
 devel/py-gobject3/buildlink3.mk   |  18 ------------------
 devel/py-gobject3/distinfo        |  10 +++++-----
 6 files changed, 33 insertions(+), 56 deletions(-)

diffs (173 lines):

diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3-common/Makefile
--- a/devel/py-gobject3-common/Makefile Sat Apr 14 12:24:31 2018 +0000
+++ b/devel/py-gobject3-common/Makefile Sat Apr 14 12:27:35 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.3 2014/07/06 13:52:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2018/04/14 12:27:35 adam Exp $
 
 PYTHON_FOR_BUILD_ONLY= yes
 
 .include "../../devel/py-gobject3/Makefile.common"
 
-PKGNAME=       py-gobject3-common-${VER}
+PKGNAME=       py-${DISTNAME:S/^py//:S/-/3-common-/}
 
 COMMENT=       Python version independent files for glib2 gobject bindings
 
diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3/Makefile
--- a/devel/py-gobject3/Makefile        Sat Apr 14 12:24:31 2018 +0000
+++ b/devel/py-gobject3/Makefile        Sat Apr 14 12:27:35 2018 +0000
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.33 2018/03/12 11:16:20 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2018/04/14 12:27:35 adam Exp $
 
-# https://bugzilla.gnome.org/show_bug.cgi?id=685094
-# https://bugzilla.gnome.org/show_bug.cgi?id=707196
-PKGREVISION= 1
-.include "../../graphics/py-cairo/buildlink3.mk"
-.include "../../graphics/cairo-gobject/buildlink3.mk"
-TEST_TARGET=   check
+PY_PATCHPLIST= yes
+EGG_NAME?=     ${DISTNAME:C/-([^0-9])/_\1/g}
+PLIST_SUBST+=  EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
 
 .include "Makefile.common"
 
-PKGNAME=               ${PYPKGPREFIX}-gobject3-${VER}
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//:S/-/3-/}
 
-COMMENT=               Python bindings for glib2 gobject
+COMMENT=       Python bindings for glib2 gobject
 
 CONFIGURE_ARGS+=       --without-common
+TEST_TARGET=           check
 
 .include "../../devel/py-gobject3-common/buildlink3.mk"
+# https://bugzilla.gnome.org/show_bug.cgi?id=685094
+# https://bugzilla.gnome.org/show_bug.cgi?id=707196
+.include "../../graphics/py-cairo/buildlink3.mk"
+.include "../../graphics/cairo-gobject/buildlink3.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3/Makefile.common
--- a/devel/py-gobject3/Makefile.common Sat Apr 14 12:24:31 2018 +0000
+++ b/devel/py-gobject3/Makefile.common Sat Apr 14 12:27:35 2018 +0000
@@ -1,44 +1,33 @@
-# $NetBSD: Makefile.common,v 1.11 2017/11/25 23:54:00 wiz Exp $
+# $NetBSD: Makefile.common,v 1.12 2018/04/14 12:27:35 adam Exp $
 # used by devel/py-gobject3/Makefile
 # used by devel/py-gobject3-common/Makefile
 
-VER=                   3.26.1
-DISTNAME=              pygobject-${VER}
-CATEGORIES=            devel gnome
-MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/pygobject/${PKGVERSION_NOREV:R}/}
-EXTRACT_SUFX=          .tar.xz
+DISTNAME=      pygobject-3.28.2
+CATEGORIES=    devel gnome
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/pygobject/${PKGVERSION_NOREV:R}/}
+EXTRACT_SUFX=  .tar.xz
 
-MAINTAINER=            prlw1%cam.ac.uk@localhost
-HOMEPAGE=              https://wiki.gnome.org/Projects/PyGObject
-LICENSE=               gnu-lgpl-v2.1
+MAINTAINER?=   prlw1%cam.ac.uk@localhost
+HOMEPAGE=      https://wiki.gnome.org/Projects/PyGObject
+LICENSE=       gnu-lgpl-v2.1
 
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c99
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config gmake
 GNU_CONFIGURE=         yes
-#CONFIGURE_ARGS+=      --disable-cairo
 CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
 
 DISTINFO_FILE=         ${.CURDIR}/../../devel/py-gobject3/distinfo
 #PATCHDIR=             ${.CURDIR}/../../devel/py-gobject3/patches
 
 PKGCONFIG_OVERRIDE+=   pygobject-3.0.pc.in
-PY_PATCHPLIST=         yes
 CONFLICTS+=            ${PYPKGPREFIX}-gtk2<2.8.4
 CONFLICTS+=            ${PYPKGPREFIX}-gobject<2.28.6nb4
 
-.include "../../lang/python/extension.mk"
-.include "../../lang/python/application.mk"
-
-# for the egg
-.if exists(${PYTHONBIN:Q})
-PLATFORM!=     ${PYTHONBIN:Q} -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"
-PLIST_SUBST+=  PLATFORM=${PLATFORM:Q}
-.endif
-
 BUILDLINK_API_DEPENDS.glib2=   glib2>=2.38.0
 .include "../../devel/glib2/buildlink3.mk"
 BUILDLINK_API_DEPENDS.gobject-introspection=   gobject-introspection>=1.46.0
 .include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3/PLIST
--- a/devel/py-gobject3/PLIST   Sat Apr 14 12:24:31 2018 +0000
+++ b/devel/py-gobject3/PLIST   Sat Apr 14 12:27:35 2018 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.10 2017/11/25 23:54:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.11 2018/04/14 12:27:35 adam Exp $
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/gi/__init__.py
 ${PYSITELIB}/gi/__init__.pyc
 ${PYSITELIB}/gi/__init__.pyo
@@ -13,6 +14,9 @@
 ${PYSITELIB}/gi/_option.py
 ${PYSITELIB}/gi/_option.pyc
 ${PYSITELIB}/gi/_option.pyo
+${PYSITELIB}/gi/_ossighelper.py
+${PYSITELIB}/gi/_ossighelper.pyc
+${PYSITELIB}/gi/_ossighelper.pyo
 ${PYSITELIB}/gi/_propertyhelper.py
 ${PYSITELIB}/gi/_propertyhelper.pyc
 ${PYSITELIB}/gi/_propertyhelper.pyo
@@ -64,7 +68,6 @@
 ${PYSITELIB}/gi/types.py
 ${PYSITELIB}/gi/types.pyc
 ${PYSITELIB}/gi/types.pyo
-${PYSITELIB}/pygobject-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info
 ${PYSITELIB}/pygtkcompat/__init__.py
 ${PYSITELIB}/pygtkcompat/__init__.pyc
 ${PYSITELIB}/pygtkcompat/__init__.pyo
diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3/buildlink3.mk
--- a/devel/py-gobject3/buildlink3.mk   Sat Apr 14 12:24:31 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.6 2014/02/12 00:57:25 prlw1 Exp $
-
-BUILDLINK_TREE+=       py-gobject3
-
-.if !defined(PY_GOBJECT3_BUILDLINK3_MK)
-PY_GOBJECT3_BUILDLINK3_MK:=
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_API_DEPENDS.py-gobject3+=    ${PYPKGPREFIX}-gobject3>=3.2.2
-BUILDLINK_ABI_DEPENDS.py-gobject3?=    ${PYPKGPREFIX}-gobject3>=3.4.0
-BUILDLINK_PKGSRCDIR.py-gobject3?=      ../../devel/py-gobject3
-
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/py-gobject3-common/buildlink3.mk"
-.endif # PY_GOBJECT3_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -py-gobject3
diff -r 0cf49db5aeb3 -r 842dbb38e1ac devel/py-gobject3/distinfo
--- a/devel/py-gobject3/distinfo        Sat Apr 14 12:24:31 2018 +0000
+++ b/devel/py-gobject3/distinfo        Sat Apr 14 12:27:35 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2017/11/25 23:54:00 wiz Exp $
+$NetBSD: distinfo,v 1.19 2018/04/14 12:27:35 adam Exp $
 
-SHA1 (pygobject-3.26.1.tar.xz) = ea22992f4309c5a5b7a46ea074885dc01f3b0fae
-RMD160 (pygobject-3.26.1.tar.xz) = 534950a1232c96d23c429eefb1903443c93eeb15
-SHA512 (pygobject-3.26.1.tar.xz) = d4993bd3bbf3133c3903664e699fc1def6af4fb6f43d45fc202a487b375deaa5e937ac25711fe6f35d9309526a1a6296865e6801807cb6a214e3930dea40004e
-Size (pygobject-3.26.1.tar.xz) = 775628 bytes
+SHA1 (pygobject-3.28.2.tar.xz) = c6341b92427695cdb49a3d556522d7dd8b062d6c
+RMD160 (pygobject-3.28.2.tar.xz) = e1115391fae52bc7854f2d903c047a0c17315ccc
+SHA512 (pygobject-3.28.2.tar.xz) = 2ba858856ef7f0c2fcac84a0f0a71ec1212991d8c57613cd948b55d413e69bd0961358935f5fd8753b905753cf563037cb351c428f4afcbbaac8ee0cebf4970c
+Size (pygobject-3.28.2.tar.xz) = 1003584 bytes



Home | Main Index | Thread Index | Old Index