pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-gobject make sure the codegen stuff from py-g...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ca1b8bf547cf
branches: trunk
changeset: 527557:ca1b8bf547cf
user: drochner <drochner%pkgsrc.org@localhost>
date: Tue Apr 10 16:42:57 2007 +0000
description:
make sure the codegen stuff from py-gtk is found
bump PKGREVISION
diffstat:
devel/py-gobject/Makefile | 9 ++++++++-
devel/py-gobject/distinfo | 3 ++-
devel/py-gobject/patches/patch-ac | 12 ++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r b46e481661d2 -r ca1b8bf547cf devel/py-gobject/Makefile
--- a/devel/py-gobject/Makefile Tue Apr 10 16:38:26 2007 +0000
+++ b/devel/py-gobject/Makefile Tue Apr 10 16:42:57 2007 +0000
@@ -1,10 +1,17 @@
-# $NetBSD: Makefile,v 1.9 2007/01/14 23:43:25 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2007/04/10 16:42:57 drochner Exp $
#
PKGNAME= ${PYPKGPREFIX}-gobject-2.12.3
+PKGREVISION= 1
+
.include "Makefile.common"
+post-patch:
+ ${SED} "s|@PYGTKCODEGEN@|${PREFIX}/share/pygtk/2.0|" \
+ <${WRKSRC}/dsextras.py >${WRKSRC}/dsextras.py.tmp \
+ && ${MV} ${WRKSRC}/dsextras.py.tmp ${WRKSRC}/dsextras.py
+
.include "../../lang/python/extension.mk"
.include "../../devel/py-gobject-shared/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
diff -r b46e481661d2 -r ca1b8bf547cf devel/py-gobject/distinfo
--- a/devel/py-gobject/distinfo Tue Apr 10 16:38:26 2007 +0000
+++ b/devel/py-gobject/distinfo Tue Apr 10 16:42:57 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2007/01/14 23:43:25 wiz Exp $
+$NetBSD: distinfo,v 1.8 2007/04/10 16:42:57 drochner Exp $
SHA1 (pygobject-2.12.3.tar.gz) = ba59f5c08516ec83e76e6442ecb42049d6852a4b
RMD160 (pygobject-2.12.3.tar.gz) = bcc5d5d8a23a50b308cc588849d0317d6de6a285
Size (pygobject-2.12.3.tar.gz) = 421080 bytes
SHA1 (patch-aa) = 421c49fa969045a33b3df26fef3d8048d9901796
SHA1 (patch-ab) = a7e4fe15f8d69a6949fbcff46e7166a308fa577c
+SHA1 (patch-ac) = a2353cb390ab1d85483ec15b1c07c3a9e3373567
diff -r b46e481661d2 -r ca1b8bf547cf devel/py-gobject/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-gobject/patches/patch-ac Tue Apr 10 16:42:57 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 2007/04/10 16:42:57 drochner Exp $
+
+--- dsextras.py.orig 2007-04-06 00:22:23.000000000 +0200
++++ dsextras.py
+@@ -314,6 +314,7 @@ install PyGTK.
+ ***************************************************************************
+ """
+ try:
++ sys.path.append("@PYGTKCODEGEN@")
+ from codegen.override import Overrides
+ from codegen.defsparser import DefsParser
+ from codegen.codegen import register_types, SourceWriter, \
Home |
Main Index |
Thread Index |
Old Index