pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Sun Sep 22 17:52:41 UTC 2019

Modified Files:
        pkgsrc/devel/py-gobject3: Makefile Makefile.common PLIST distinfo
        pkgsrc/devel/py-gobject3-common: Makefile

Log Message:
Update py-gobject3 to 3.34.0

Highlights:
* Python 3.8b1 compatibility fixes
* Fix a crash when marshalling a GError to Python fails :mr:`115`
* cairo: Add cairo pattern foreign struct support :mr:`111` (:user:`Renato Florentino Garcia <renato_garcia>`)
* cairo: Add cairo_matrix_t converter to GValue :mr:`112` (:user:`Renato Florentino Garcia <renato_garcia>`)
* overrides: Fix crash when using non-ascii text with.
  Gtk.Builder.add_from_string/add_objects_from_string. :issue:`255`
* Fix various crashes on big endian systems.
  :issue:`247` (:user:`Dan Hor�k <sharkcz>`)
* Add a meson build system. :issue:`165`
  (:user:`Mathieu Duponchelle<mathieudu>`)
* Gtk.Template: Allow +* Avoid truncating value returned from g_value_info_get_value. :mr:`51`
  (:user:`Tomasz Misko <tmiasko>`)
* Fix typo in BoundSignal disconnect. :mr:`55`
  (:user:`Vladislav Glinsky <cl0ne>`)

Full release notes available at:
https://gitlab.gnome.org/GNOME/pygobject/blob/3.34.0/NEWS


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/py-gobject3/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-gobject3/Makefile.common
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-gobject3/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-gobject3/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-gobject3-common/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-gobject3/Makefile
diff -u pkgsrc/devel/py-gobject3/Makefile:1.35 pkgsrc/devel/py-gobject3/Makefile:1.36
--- pkgsrc/devel/py-gobject3/Makefile:1.35      Wed Nov 14 22:21:20 2018
+++ pkgsrc/devel/py-gobject3/Makefile   Sun Sep 22 17:52:41 2019
@@ -1,23 +1,27 @@
-# $NetBSD: Makefile,v 1.35 2018/11/14 22:21:20 kleink Exp $
+# $NetBSD: Makefile,v 1.36 2019/09/22 17:52:41 prlw1 Exp $
 
-PY_PATCHPLIST= yes
-EGG_NAME?=     ${DISTNAME:C/-([^0-9])/_\1/g}
-PLIST_SUBST+=  EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
-
-PKGREVISION= 1
 .include "Makefile.common"
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//:S/-/3-/}
+EGG_NAME=      ${DISTNAME:S/pygobject/PyGObject/}
 
 COMMENT=       Python bindings for glib2 gobject
 
-CONFIGURE_ARGS+=       --without-common
-TEST_TARGET=           check
+MESON_ARGS+=   -Dpython=${PYTHONBIN:Q}
+MESON_ARGS+=   -Dtests=false
+TEST_TARGET=   check
+
+# XXX shouldn't be necessary with -Dinstall-common=false
+post-install:
+       ${RM} \
+       ${DESTDIR}${PREFIX}/include/pygobject-3.0/pygobject.h \
+       ${DESTDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
 
 .include "../../devel/py-gobject3-common/buildlink3.mk"
+.include "../../devel/py-meson/build.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 "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-gobject3/Makefile.common
diff -u pkgsrc/devel/py-gobject3/Makefile.common:1.13 pkgsrc/devel/py-gobject3/Makefile.common:1.14
--- pkgsrc/devel/py-gobject3/Makefile.common:1.13       Sun Jun 17 09:16:40 2018
+++ pkgsrc/devel/py-gobject3/Makefile.common    Sun Sep 22 17:52:41 2019
@@ -1,33 +1,30 @@
-# $NetBSD: Makefile.common,v 1.13 2018/06/17 09:16:40 wiz Exp $
+# $NetBSD: Makefile.common,v 1.14 2019/09/22 17:52:41 prlw1 Exp $
 # used by devel/py-gobject3/Makefile
 # used by devel/py-gobject3-common/Makefile
 
-DISTNAME=      pygobject-3.28.3
+DISTNAME=      pygobject-3.34.0
 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
+HOMEPAGE=      https://pygobject.readthedocs.io/
 LICENSE=       gnu-lgpl-v2.1
 
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         c c99
-USE_LIBTOOL=           yes
-USE_TOOLS+=            pkg-config gmake
-GNU_CONFIGURE=         yes
-CONFIGURE_ENV+=                PYTHON=${PYTHONBIN:Q}
+USE_TOOLS+=            pkg-config
 
-DISTINFO_FILE=         ${.CURDIR}/../../devel/py-gobject3/distinfo
-#PATCHDIR=             ${.CURDIR}/../../devel/py-gobject3/patches
+DISTINFO_FILE=         ../../devel/py-gobject3/distinfo
+#PATCHDIR=             ../../devel/py-gobject3/patches
 
-PKGCONFIG_OVERRIDE+=   pygobject-3.0.pc.in
 CONFLICTS+=            ${PYPKGPREFIX}-gtk2<2.8.4
 CONFLICTS+=            ${PYPKGPREFIX}-gobject<2.28.6nb4
 
-BUILDLINK_API_DEPENDS.glib2=   glib2>=2.38.0
+BUILDLINK_API_DEPENDS.glib2=   glib2>=2.48.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"

Index: pkgsrc/devel/py-gobject3/PLIST
diff -u pkgsrc/devel/py-gobject3/PLIST:1.11 pkgsrc/devel/py-gobject3/PLIST:1.12
--- pkgsrc/devel/py-gobject3/PLIST:1.11 Sat Apr 14 12:27:35 2018
+++ pkgsrc/devel/py-gobject3/PLIST      Sun Sep 22 17:52:41 2019
@@ -1,16 +1,28 @@
-@comment $NetBSD: PLIST,v 1.11 2018/04/14 12:27:35 adam Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.12 2019/09/22 17:52:41 prlw1 Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/PyGObject-${PKGVERSION}.egg-info
 ${PYSITELIB}/gi/__init__.py
 ${PYSITELIB}/gi/__init__.pyc
 ${PYSITELIB}/gi/__init__.pyo
+${PYSITELIB}/gi/_compat.py
+${PYSITELIB}/gi/_compat.pyc
+${PYSITELIB}/gi/_compat.pyo
 ${PYSITELIB}/gi/_constants.py
 ${PYSITELIB}/gi/_constants.pyc
 ${PYSITELIB}/gi/_constants.pyo
 ${PYSITELIB}/gi/_error.py
 ${PYSITELIB}/gi/_error.pyc
 ${PYSITELIB}/gi/_error.pyo
-${PYSITELIB}/gi/_gi.la
-${PYSITELIB}/gi/_gi_cairo.la
+${PYSITELIB}/gi/_gi.so
+${PYSITELIB}/gi/_gi_cairo.so
+${PYSITELIB}/gi/_gtktemplate.py
+${PYSITELIB}/gi/_gtktemplate.pyc
+${PYSITELIB}/gi/_gtktemplate.pyo
 ${PYSITELIB}/gi/_option.py
 ${PYSITELIB}/gi/_option.pyc
 ${PYSITELIB}/gi/_option.pyo
@@ -44,6 +56,9 @@ ${PYSITELIB}/gi/overrides/GObject.pyo
 ${PYSITELIB}/gi/overrides/Gdk.py
 ${PYSITELIB}/gi/overrides/Gdk.pyc
 ${PYSITELIB}/gi/overrides/Gdk.pyo
+${PYSITELIB}/gi/overrides/GdkPixbuf.py
+${PYSITELIB}/gi/overrides/GdkPixbuf.pyc
+${PYSITELIB}/gi/overrides/GdkPixbuf.pyo
 ${PYSITELIB}/gi/overrides/Gio.py
 ${PYSITELIB}/gi/overrides/Gio.pyc
 ${PYSITELIB}/gi/overrides/Gio.pyo

Index: pkgsrc/devel/py-gobject3/distinfo
diff -u pkgsrc/devel/py-gobject3/distinfo:1.20 pkgsrc/devel/py-gobject3/distinfo:1.21
--- pkgsrc/devel/py-gobject3/distinfo:1.20      Sun Jun 17 09:16:40 2018
+++ pkgsrc/devel/py-gobject3/distinfo   Sun Sep 22 17:52:41 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2018/06/17 09:16:40 wiz Exp $
+$NetBSD: distinfo,v 1.21 2019/09/22 17:52:41 prlw1 Exp $
 
-SHA1 (pygobject-3.28.3.tar.xz) = bd173699b62832163ad23f8e076ec9513d875d2d
-RMD160 (pygobject-3.28.3.tar.xz) = 85a69fc1b45c094f55121901c60635f652321b21
-SHA512 (pygobject-3.28.3.tar.xz) = 0abda393dd774f9cea04f883eab53f5ebde81d2439ed18cfe08ef39a1996054ab34bf4e770f70116a4485fb4f9970464b9a950ffa4af76cfa21ecc8d4dff968d
-Size (pygobject-3.28.3.tar.xz) = 1005368 bytes
+SHA1 (pygobject-3.34.0.tar.xz) = 637c131fb54ff0633a92d7f4a8a66612398642ff
+RMD160 (pygobject-3.34.0.tar.xz) = 3d7e701eaea57fd3807a62bad5130f964234d2eb
+SHA512 (pygobject-3.34.0.tar.xz) = 782195d22e564b88dea8d43469f0111f398b44b51a63df2fe7d07650af94d5cd037f322a5d7e405338823be3419fcdbf0113fe50b220ab1cfd07d4d01dbc4766
+Size (pygobject-3.34.0.tar.xz) = 552268 bytes

Index: pkgsrc/devel/py-gobject3-common/Makefile
diff -u pkgsrc/devel/py-gobject3-common/Makefile:1.4 pkgsrc/devel/py-gobject3-common/Makefile:1.5
--- pkgsrc/devel/py-gobject3-common/Makefile:1.4        Sat Apr 14 12:27:35 2018
+++ pkgsrc/devel/py-gobject3-common/Makefile    Sun Sep 22 17:52:41 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/04/14 12:27:35 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/09/22 17:52:41 prlw1 Exp $
 
 PYTHON_FOR_BUILD_ONLY= yes
 
@@ -8,16 +8,25 @@ PKGNAME=      py-${DISTNAME:S/^py//:S/-/3-com
 
 COMMENT=       Python version independent files for glib2 gobject bindings
 
-CONFIGURE_ARGS+=       --disable-cairo
-
-do-build:
+SUBST_CLASSES+=                        configurepc
+SUBST_STAGE.configurepc=       do-configure
+SUBST_MESSAGE.configurepc=     Create .pc file
+SUBST_FILES.configurepc=       pygobject-3.0.pc.in
+SUBST_SED.configurepc=         -e 's,@prefix@,${PREFIX},'
+SUBST_SED.configurepc+=                -e 's,@exec_prefix@,$${prefix},'
+SUBST_SED.configurepc+=                -e 's,@includedir@,$${prefix}/include,'
+SUBST_SED.configurepc+=                -e 's,@datarootdir@,$${prefix}/share,'
+SUBST_SED.configurepc+=                -e 's,@datadir@,$${datarootdir},'
+SUBST_SED.configurepc+=                -e 's,@VERSION@,${PKGVERSION},'
 
 INSTALLATION_DIRS+=    include/pygobject-3.0 lib/pkgconfig
 
+do-build:
+
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/gi/pygobject.h \
+       ${INSTALL_DATA} ${WRKSRC}/gi/pygobject.h \
                ${DESTDIR}${PREFIX}/include/pygobject-3.0/pygobject.h
-       ${INSTALL_SCRIPT} ${WRKSRC}/pygobject-3.0.pc \
+       ${INSTALL_DATA} ${WRKSRC}/pygobject-3.0.pc.in \
                ${DESTDIR}${PREFIX}/lib/pkgconfig/pygobject-3.0.pc
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index