pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel py-gobject: updated to 2.28.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/80ba143d07a7
branches: trunk
changeset: 374466:80ba143d07a7
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jan 23 11:23:12 2018 +0000
description:
py-gobject: updated to 2.28.7
2.28.7:
- Move property and signal creation into _class_init()
- gio-types.defs: change some enums to flags
- Fix set_qdata warning on accessing NULL gobject property
- Disable introspection support by default
- Don't install codegen for Python 3
- Ship tests/te_ST@nouppera in release tarballs for tests to succeed
- [gi] Port test_properties from static gio to GI Gio
- [python3] fix build. PYcairo_IMPORT doesn't exists anymore
- [python3] Fix maketrans import
- [gi-overrides] fix MessageBox so it correctly handles the type constructor param
- gdbus tests: Fix hang if test case fails
- Fix crash in Gtk.TextIter overrides
- correctly initialize the _gi_cairo_functions array to be zero filled
- [gtk-override] print warning if user imports Gtk 2.0
- Add support for enums in gobject.property
diffstat:
devel/py-gobject-shared/Makefile | 22 +++---
devel/py-gobject-shared/PLIST | 3 +-
devel/py-gobject/Makefile | 17 ++---
devel/py-gobject/Makefile.common | 23 +++---
devel/py-gobject/PLIST | 73 ++++++++++-----------
devel/py-gobject/buildlink3.mk | 3 +-
devel/py-gobject/distinfo | 21 +++---
devel/py-gobject/patches/patch-Makefile.in | 15 ++++
devel/py-gobject/patches/patch-aa | 13 ---
devel/py-gobject/patches/patch-ab | 13 ---
devel/py-gobject/patches/patch-ac | 12 ---
devel/py-gobject/patches/patch-ad | 38 -----------
devel/py-gobject/patches/patch-configure | 6 +-
devel/py-gobject/patches/patch-dsextras.py | 14 ++++
devel/py-gobject/patches/patch-gio_gio-types.defs | 34 ----------
devel/py-gobject/patches/patch-glib_Makefile.in | 15 ++++
devel/py-gobject/patches/patch-gobject_Makefile.in | 15 ++++
17 files changed, 141 insertions(+), 196 deletions(-)
diffs (truncated from 485 to 300 lines):
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject-shared/Makefile
--- a/devel/py-gobject-shared/Makefile Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject-shared/Makefile Tue Jan 23 11:23:12 2018 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.39 2015/04/25 14:20:39 tnn Exp $
+# $NetBSD: Makefile,v 1.40 2018/01/23 11:23:12 adam Exp $
-PKGNAME= py-gobject-shared-2.28.6
-PKGREVISION= 13
+PKGNAME= py-${DISTNAME:S/^py//:S/-/-shared-/1}
.include "../../devel/py-gobject/Makefile.common"
+NO_BUILD= yes
PYTHON_FOR_BUILD_ONLY= yes
INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig
# we do not really need py-cairo's pkg-config flags
@@ -13,22 +13,22 @@
CONFIGURE_ARGS+= PYCAIRO_CFLAGS="`pkg-config --cflags cairo`"
CONFIGURE_ARGS+= PYCAIRO_LIBS="`pkg-config --libs cairo`"
-do-build:
-
+# ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/pygtk-2.0
+# ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/pkgconfig
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
+ ${INSTALL_DATA} ${WRKSRC}/glib/pyglib.h \
+ ${DESTDIR}${PREFIX}/include/pygtk-2.0
${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h \
- ${DESTDIR:Q}${PREFIX:Q}/include/pygtk-2.0
- ${INSTALL_DATA_DIR} ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
+ ${DESTDIR}${PREFIX}/include/pygtk-2.0
${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc \
- ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
+ ${DESTDIR}${PREFIX}/lib/pkgconfig
-.include "../../lang/python/application.mk"
.include "../../devel/glib2/buildlink3.mk"
BUILDLINK_API_DEPENDS.gobject-introspection= gobject-introspection>=0.9.5
BUILDLINK_DEPMETHOD.gobject-introspection= build
.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/libffi/buildlink3.mk"
BUILDLINK_DEPMETHOD.cairo= build
.include "../../graphics/cairo/buildlink3.mk"
-.include "../../devel/libffi/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject-shared/PLIST
--- a/devel/py-gobject-shared/PLIST Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject-shared/PLIST Tue Jan 23 11:23:12 2018 +0000
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:49:05 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/23 11:23:12 adam Exp $
+include/pygtk-2.0/pyglib.h
include/pygtk-2.0/pygobject.h
lib/pkgconfig/pygobject-2.0.pc
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/Makefile
--- a/devel/py-gobject/Makefile Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject/Makefile Tue Jan 23 11:23:12 2018 +0000
@@ -1,10 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2017/11/24 22:15:58 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2018/01/23 11:23:13 adam Exp $
-PKGNAME= ${PYPKGPREFIX}-gobject-2.28.6
-PKGREVISION= 12
-
-# only noticeable by running codegen.py
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 2.28.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
DEPENDS+= ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
@@ -30,14 +26,15 @@
REPLACE_PYTHON+= codegen/scmexpr.py
REPLACE_PYTHON+= docs/xsl/fixxref.py.in
+PYTHON_SELF_CONFLICT= yes
+
PY_PEP3147= no
-BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=${PKGVERSION_NOREV}
+BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=${PKGVERSION_NOREV}
CONFIGURE_ARGS+= --disable-introspection
-.include "../../lang/python/extension.mk"
+.include "../../devel/py-gobject-shared/buildlink3.mk"
.include "../../lang/python/application.mk"
-.include "../../devel/py-gobject-shared/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/Makefile.common
--- a/devel/py-gobject/Makefile.common Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject/Makefile.common Tue Jan 23 11:23:12 2018 +0000
@@ -1,21 +1,22 @@
-# $NetBSD: Makefile.common,v 1.20 2016/08/28 15:48:30 wiz Exp $
+# $NetBSD: Makefile.common,v 1.21 2018/01/23 11:23:13 adam Exp $
#
# used by devel/py-gobject/Makefile
# used by devel/py-gobject-shared/Makefile
-DISTNAME= pygobject-2.28.6
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygobject/2.28/}
-EXTRACT_SUFX= .tar.xz
+DISTNAME= pygobject-2.28.7
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygobject/2.28/}
+EXTRACT_SUFX= .tar.xz
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.pygtk.org/
-COMMENT= Python bindings for glib2 gobject
-LICENSE= gnu-lgpl-v2.1
+MAINTAINER?= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.pygtk.org/
+COMMENT= Python bindings for glib2 gobject
+LICENSE= gnu-lgpl-v2.1
-USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c99
USE_LIBTOOL= yes
-USE_TOOLS+= pkg-config gmake
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/PLIST
--- a/devel/py-gobject/PLIST Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject/PLIST Tue Jan 23 11:23:12 2018 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.16 2014/01/25 08:51:49 wiz Exp $
-bin/pygobject-codegen-2.0
-include/pygtk-2.0/pyglib.h
+@comment $NetBSD: PLIST,v 1.17 2018/01/23 11:23:13 adam Exp $
+${PLIST.py2x}bin/pygobject-codegen-2.0
lib/libpyglib-2.0-python${PYVERSSUFFIX}.la
${PYSITELIB}/glib/__init__.py
${PYSITELIB}/glib/__init__.pyc
@@ -88,40 +87,40 @@
share/gtk-doc/html/pygobject/pygobject-introduction.html
share/gtk-doc/html/pygobject/pygobject.devhelp
share/gtk-doc/html/pygobject/style.css
-share/pygobject/2.0/codegen/__init__.py
-share/pygobject/2.0/codegen/__init__.pyc
-share/pygobject/2.0/codegen/__init__.pyo
-share/pygobject/2.0/codegen/argtypes.py
-share/pygobject/2.0/codegen/argtypes.pyc
-share/pygobject/2.0/codegen/argtypes.pyo
-share/pygobject/2.0/codegen/code-coverage.py
-share/pygobject/2.0/codegen/codegen.py
-share/pygobject/2.0/codegen/createdefs.py
-share/pygobject/2.0/codegen/definitions.py
-share/pygobject/2.0/codegen/definitions.pyc
-share/pygobject/2.0/codegen/definitions.pyo
-share/pygobject/2.0/codegen/defsconvert.py
-share/pygobject/2.0/codegen/defsgen.py
-share/pygobject/2.0/codegen/defsparser.py
-share/pygobject/2.0/codegen/defsparser.pyc
-share/pygobject/2.0/codegen/defsparser.pyo
-share/pygobject/2.0/codegen/docextract.py
-share/pygobject/2.0/codegen/docextract.pyc
-share/pygobject/2.0/codegen/docextract.pyo
-share/pygobject/2.0/codegen/docextract_to_xml.py
-share/pygobject/2.0/codegen/docgen.py
-share/pygobject/2.0/codegen/h2def.py
-share/pygobject/2.0/codegen/mergedefs.py
-share/pygobject/2.0/codegen/missingdefs.py
-share/pygobject/2.0/codegen/mkskel.py
-share/pygobject/2.0/codegen/override.py
-share/pygobject/2.0/codegen/override.pyc
-share/pygobject/2.0/codegen/override.pyo
-share/pygobject/2.0/codegen/reversewrapper.py
-share/pygobject/2.0/codegen/reversewrapper.pyc
-share/pygobject/2.0/codegen/reversewrapper.pyo
-share/pygobject/2.0/codegen/scanvirtuals.py
-share/pygobject/2.0/codegen/scmexpr.py
+${PLIST.py2x}share/pygobject/2.0/codegen/__init__.py
+${PLIST.py2x}share/pygobject/2.0/codegen/__init__.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/__init__.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/argtypes.py
+${PLIST.py2x}share/pygobject/2.0/codegen/argtypes.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/argtypes.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/code-coverage.py
+${PLIST.py2x}share/pygobject/2.0/codegen/codegen.py
+${PLIST.py2x}share/pygobject/2.0/codegen/createdefs.py
+${PLIST.py2x}share/pygobject/2.0/codegen/definitions.py
+${PLIST.py2x}share/pygobject/2.0/codegen/definitions.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/definitions.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/defsconvert.py
+${PLIST.py2x}share/pygobject/2.0/codegen/defsgen.py
+${PLIST.py2x}share/pygobject/2.0/codegen/defsparser.py
+${PLIST.py2x}share/pygobject/2.0/codegen/defsparser.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/defsparser.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/docextract.py
+${PLIST.py2x}share/pygobject/2.0/codegen/docextract.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/docextract.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/docextract_to_xml.py
+${PLIST.py2x}share/pygobject/2.0/codegen/docgen.py
+${PLIST.py2x}share/pygobject/2.0/codegen/h2def.py
+${PLIST.py2x}share/pygobject/2.0/codegen/mergedefs.py
+${PLIST.py2x}share/pygobject/2.0/codegen/missingdefs.py
+${PLIST.py2x}share/pygobject/2.0/codegen/mkskel.py
+${PLIST.py2x}share/pygobject/2.0/codegen/override.py
+${PLIST.py2x}share/pygobject/2.0/codegen/override.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/override.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/reversewrapper.py
+${PLIST.py2x}share/pygobject/2.0/codegen/reversewrapper.pyc
+${PLIST.py2x}share/pygobject/2.0/codegen/reversewrapper.pyo
+${PLIST.py2x}share/pygobject/2.0/codegen/scanvirtuals.py
+${PLIST.py2x}share/pygobject/2.0/codegen/scmexpr.py
${PLIST.py2x}share/pygobject/2.0/defs/gappinfo.override
${PLIST.py2x}share/pygobject/2.0/defs/gapplaunchcontext.override
${PLIST.py2x}share/pygobject/2.0/defs/gbufferedinputstream.override
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/buildlink3.mk
--- a/devel/py-gobject/buildlink3.mk Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject/buildlink3.mk Tue Jan 23 11:23:12 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2018/01/07 13:04:10 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2018/01/23 11:23:13 adam Exp $
BUILDLINK_TREE+= pygobject
@@ -12,7 +12,6 @@
BUILDLINK_PKGSRCDIR.pygobject?= ../../devel/py-gobject
.include "../../devel/py-gobject-shared/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
.endif # PY_GOBJECT_BUILDLINK3_MK
BUILDLINK_TREE+= -pygobject
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/distinfo
--- a/devel/py-gobject/distinfo Tue Jan 23 10:54:30 2018 +0000
+++ b/devel/py-gobject/distinfo Tue Jan 23 11:23:12 2018 +0000
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.26 2015/11/03 03:29:08 agc Exp $
+$NetBSD: distinfo,v 1.27 2018/01/23 11:23:13 adam Exp $
-SHA1 (pygobject-2.28.6.tar.xz) = b1749ba806499f4c2780dbd1cbb363aaf1f41e78
-RMD160 (pygobject-2.28.6.tar.xz) = 4bc5e8546a5029d3d6b154629ab3fa4023d96bef
-SHA512 (pygobject-2.28.6.tar.xz) = 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c
-Size (pygobject-2.28.6.tar.xz) = 747248 bytes
-SHA1 (patch-aa) = a706cc4cd48121f21d12027c315dfe92d34157ed
-SHA1 (patch-ab) = f9ec40fcac11fe9d6625b6028dba2e316d9ce59e
-SHA1 (patch-ac) = 083e691cb13dbefeece505a7b6596c69ec8491f7
-SHA1 (patch-ad) = 1fa6c9ec6c3926d2915b7fa0391245bf7ca2daf4
-SHA1 (patch-configure) = 0ba83de34c3205ee6e3cbba9436bac05cc1bfd33
-SHA1 (patch-gio_gio-types.defs) = 16bbafacb14a3583369c31bc7b786b200f117ac6
+SHA1 (pygobject-2.28.7.tar.xz) = 8e3cb8621c2e1d8dbeba5c3c007c7421b936a36c
+RMD160 (pygobject-2.28.7.tar.xz) = e9fea538da79ad27c42434d4a2173b3eb636408b
+SHA512 (pygobject-2.28.7.tar.xz) = a5f3ae39f8156bd6234fb6d0ea31eba782fbdd4c292656c31b33e098abe3dcf0774d492cf602a4637cb679af9ecd511b24263349fbfd25708ca70f16cb052dfb
+Size (pygobject-2.28.7.tar.xz) = 744584 bytes
+SHA1 (patch-Makefile.in) = 338e157934b1aee08e87de91e93b220e8cd21ec8
+SHA1 (patch-configure) = bb69993ce23b2782fa3cff69c4b8c64cc6a16b78
+SHA1 (patch-dsextras.py) = 9ebb5b418ef902acea227d6d84691285ce2d1863
+SHA1 (patch-glib_Makefile.in) = 859360e5f5df3095236b002129feb4ad85546373
+SHA1 (patch-gobject_Makefile.in) = fa97ba35a52b890a4e7e0c16fc0cac1b215c91c2
SHA1 (patch-pygi_info.c) = cd2d0f0b16a84c05b805edec89d4508507811c49
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/patches/patch-Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject/patches/patch-Makefile.in Tue Jan 23 11:23:12 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/01/23 11:23:13 adam Exp $
+
+Do not install pkgconfig; installed in devel/py-gobject-shared.
+
+--- Makefile.in.orig 2017-10-13 10:58:19.000000000 +0000
++++ Makefile.in
+@@ -1032,7 +1032,7 @@ info: info-recursive
+
+ info-am:
+
+-install-data-am: install-data-local install-pkgconfigDATA
++install-data-am: install-data-local
+
+ install-dvi: install-dvi-recursive
+
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/patches/patch-aa
--- a/devel/py-gobject/patches/patch-aa Tue Jan 23 10:54:30 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2009/06/09 13:25:02 wiz Exp $
-
---- Makefile.in.orig 2009-05-24 20:37:47.000000000 +0000
-+++ Makefile.in
-@@ -820,7 +820,7 @@ info: info-recursive
-
- info-am:
-
--install-data-am: install-data-local install-pkgconfigDATA
-+install-data-am: install-data-local
-
- install-dvi: install-dvi-recursive
-
diff -r febb3ba2e245 -r 80ba143d07a7 devel/py-gobject/patches/patch-ab
--- a/devel/py-gobject/patches/patch-ab Tue Jan 23 10:54:30 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
Home |
Main Index |
Thread Index |
Old Index