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: Fri Oct 13 15:44:29 UTC 2017
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-glib2-tools: DESCR Makefile PLIST distinfo hacks.mk
pkgsrc/devel/py-glib2-tools/patches:
patch-gio_gdbus-2.0_codegen_gdbus-codegen.in
patch-gobject_glib-genmarshal.in patch-gobject_glib-mkenums.in
Log Message:
Add py-glib2-tools, a place for glib2's python dependent tools, namely
gdbus-codegen, glib-genmarshal and glib-mkenums.
To generate a diff of this commit:
cvs rdiff -u -r1.2547 -r1.2548 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-glib2-tools/DESCR \
pkgsrc/devel/py-glib2-tools/Makefile pkgsrc/devel/py-glib2-tools/PLIST \
pkgsrc/devel/py-glib2-tools/distinfo pkgsrc/devel/py-glib2-tools/hacks.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in \
pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in \
pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2547 pkgsrc/devel/Makefile:1.2548
--- pkgsrc/devel/Makefile:1.2547 Wed Oct 11 13:58:15 2017
+++ pkgsrc/devel/Makefile Fri Oct 13 15:44:29 2017
@@ -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-game
SUBDIR+= py-generate
SUBDIR+= py-gflags
SUBDIR+= py-gitinspector
+SUBDIR+= py-glib2-tools
SUBDIR+= py-gobject
SUBDIR+= py-gobject-shared
SUBDIR+= py-gobject3
Added files:
Index: pkgsrc/devel/py-glib2-tools/DESCR
diff -u /dev/null pkgsrc/devel/py-glib2-tools/DESCR:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/DESCR Fri Oct 13 15:44:29 2017
@@ -0,0 +1,2 @@
+This package provides glib2's python dependent tools: gdbus-codegen,
+glib-mkenums and glib-genmarshal.
Index: pkgsrc/devel/py-glib2-tools/Makefile
diff -u /dev/null pkgsrc/devel/py-glib2-tools/Makefile:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/Makefile Fri Oct 13 15:44:29 2017
@@ -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"
Index: pkgsrc/devel/py-glib2-tools/PLIST
diff -u /dev/null pkgsrc/devel/py-glib2-tools/PLIST:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/PLIST Fri Oct 13 15:44:29 2017
@@ -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
Index: pkgsrc/devel/py-glib2-tools/distinfo
diff -u /dev/null pkgsrc/devel/py-glib2-tools/distinfo:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/distinfo Fri Oct 13 15:44:29 2017
@@ -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
Index: pkgsrc/devel/py-glib2-tools/hacks.mk
diff -u /dev/null pkgsrc/devel/py-glib2-tools/hacks.mk:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/hacks.mk Fri Oct 13 15:44:29 2017
@@ -0,0 +1,3 @@
+# $NetBSD: hacks.mk,v 1.1 2017/10/13 15:44:29 prlw1 Exp $
+
+.sinclude "../../devel/glib2/hacks.mk"
Index: pkgsrc/devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in
diff -u /dev/null pkgsrc/devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/patches/patch-gio_gdbus-2.0_codegen_gdbus-codegen.in Fri Oct 13 15:44:29 2017
@@ -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
+ #
Index: pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in
diff -u /dev/null pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-genmarshal.in Fri Oct 13 15:44:29 2017
@@ -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
+
Index: pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in
diff -u /dev/null pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in:1.1
--- /dev/null Fri Oct 13 15:44:30 2017
+++ pkgsrc/devel/py-glib2-tools/patches/patch-gobject_glib-mkenums.in Fri Oct 13 15:44:29 2017
@@ -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