pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add py-glib2-tools, a place for glib2's python d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6200cd5c39de
branches:  trunk
changeset: 370208:6200cd5c39de
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Fri Oct 13 15:44:29 2017 +0000

description:
Add py-glib2-tools, a place for glib2's python dependent tools, namely
gdbus-codegen, glib-genmarshal and glib-mkenums.

diffstat:

 devel/Makefile                                                            |   3 +-
 devel/py-glib2-tools/DESCR                                                |   2 +
 devel/py-glib2-tools/Makefile                                             |  32 ++++++++++
 devel/py-glib2-tools/PLIST                                                |  28 ++++++++
 devel/py-glib2-tools/distinfo                                             |   9 ++
 devel/py-glib2-tools/hacks.mk                                             |   3 +
 devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in |  13 ++++
 devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in             |  13 ++++
 devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in                |  13 ++++
 9 files changed, 115 insertions(+), 1 deletions(-)

diffs (162 lines):

diff -r 19aa720cee20 -r 6200cd5c39de devel/Makefile
--- a/devel/Makefile    Fri Oct 13 15:40:12 2017 +0000
+++ b/devel/Makefile    Fri Oct 13 15:44:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2547 2017/10/11 13:58:15 jaapb Exp $
+# $NetBSD: Makefile,v 1.2548 2017/10/13 15:44:29 prlw1 Exp $
 #
 
 COMMENT=       Development utilities
@@ -1926,6 +1926,7 @@
 SUBDIR+=       py-generate
 SUBDIR+=       py-gflags
 SUBDIR+=       py-gitinspector
+SUBDIR+=       py-glib2-tools
 SUBDIR+=       py-gobject
 SUBDIR+=       py-gobject-shared
 SUBDIR+=       py-gobject3
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/DESCR        Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,2 @@
+This package provides glib2's python dependent tools: gdbus-codegen,
+glib-mkenums and glib-genmarshal.
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/Makefile     Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+.include "../../devel/glib2/Makefile.common"
+
+PKGNAME:=      ${PYPKGPREFIX}-${PKGNAME:S/glib2/glib2-tools/}
+CATEGORIES=    devel gnome
+
+COMMENT=       GLib2 python-dependent tools
+
+NOT_FOR_PLATFORM=      HPUX-*-* OSF1-*-*
+
+USE_TOOLS+=            pkg-config msgfmt perl:run
+
+DISTINFO_FILE=          ${.CURDIR}/distinfo
+PATCHDIR=              ${.CURDIR}/patches
+
+BUILD_DIRS=            gio/gdbus-2.0/codegen
+
+DEPENDS+=              ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+
+do-install:
+       cd ${WRKSRC} \
+       && cd gio/gdbus-2.0/codegen \
+       && env ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install
+       cd ${WRKSRC} \
+       && cd gobject \
+       && env ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} install-binSCRIPTS
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/PLIST        Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+bin/gdbus-codegen
+bin/glib-genmarshal
+bin/glib-mkenums
+share/glib-2.0/codegen/__init__.py
+share/glib-2.0/codegen/__init__.pyc
+share/glib-2.0/codegen/__init__.pyo
+share/glib-2.0/codegen/codegen.py
+share/glib-2.0/codegen/codegen.pyc
+share/glib-2.0/codegen/codegen.pyo
+share/glib-2.0/codegen/codegen_docbook.py
+share/glib-2.0/codegen/codegen_docbook.pyc
+share/glib-2.0/codegen/codegen_docbook.pyo
+share/glib-2.0/codegen/codegen_main.py
+share/glib-2.0/codegen/codegen_main.pyc
+share/glib-2.0/codegen/codegen_main.pyo
+share/glib-2.0/codegen/config.py
+share/glib-2.0/codegen/config.pyc
+share/glib-2.0/codegen/config.pyo
+share/glib-2.0/codegen/dbustypes.py
+share/glib-2.0/codegen/dbustypes.pyc
+share/glib-2.0/codegen/dbustypes.pyo
+share/glib-2.0/codegen/parser.py
+share/glib-2.0/codegen/parser.pyc
+share/glib-2.0/codegen/parser.pyo
+share/glib-2.0/codegen/utils.py
+share/glib-2.0/codegen/utils.pyc
+share/glib-2.0/codegen/utils.pyo
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/distinfo     Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+SHA1 (glib-2.54.1.tar.xz) = 3be679369c7134e05b188285154b00940370b109
+RMD160 (glib-2.54.1.tar.xz) = c14a2ab435e47d706a88d4d1efb1008216107abc
+SHA512 (glib-2.54.1.tar.xz) = 2971feede03540f5cd2b4bd60b0c3fcbd5ad95ba96d07f6e6d3f4a6b90c31555e52f3480b51976574642fd5ab99dd557061ee5db1a1855fc601297cd74a8f1a8
+Size (glib-2.54.1.tar.xz) = 7829104 bytes
+SHA1 (patch-gio_gdbus-2.0_codegen_gdbus-codegen.in) = ccbb10335fb477e347993444d68d5e88d9e93050
+SHA1 (patch-gobject_glib-genmarshal.in) = f21ca416d4eb4ad5a8ce3ffa053f8bcd2be8953a
+SHA1 (patch-gobject_glib-mkenums.in) = 7c58333ec4946ecb26e709db0be51b7f07035db9
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/hacks.mk     Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: hacks.mk,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+.sinclude "../../devel/glib2/hacks.mk"
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-gio_gdbus-2.0_codegen_gdbus-codegen.in,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+Revert 683809d5 Use env for gdbus-codegen's script
+https://bugzilla.gnome.org/show_bug.cgi?id=788527
+
+--- gio/gdbus-2.0/codegen/gdbus-codegen.in.orig        2017-07-15 12:05:03.000000000 +0000
++++ gio/gdbus-2.0/codegen/gdbus-codegen.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env @PYTHON@
++#!@PYTHON@
+ 
+ # GDBus - GLib D-Bus Library
+ #
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in     Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-gobject_glib-genmarshal.in,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+Revert 4395a897 Use env to run the Python-based tools
+https://bugzilla.gnome.org/show_bug.cgi?id=788527
+
+--- gobject/glib-genmarshal.in.orig    2017-09-04 12:42:30.000000000 +0000
++++ gobject/glib-genmarshal.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env @PYTHON@
++#!@PYTHON@
+ 
+ # pylint: disable=too-many-lines, missing-docstring, invalid-name
+ 
diff -r 19aa720cee20 -r 6200cd5c39de devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in        Fri Oct 13 15:44:29 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-gobject_glib-mkenums.in,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+Revert 4395a897 Use env to run the Python-based tools
+https://bugzilla.gnome.org/show_bug.cgi?id=788527
+
+--- gobject/glib-mkenums.in.orig       2017-08-07 14:58:31.000000000 +0000
++++ gobject/glib-mkenums.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env @PYTHON@
++#!@PYTHON@
+ 
+ # If the code below looks horrible and unpythonic, do not panic.
+ #



Home | Main Index | Thread Index | Old Index