make sure the codegen stuff from py-gtk is found

bump PKGREVISION
This commit is contained in:
drochner 2007-04-10 16:42:57 +00:00
parent ec65f818a2
commit 40370e7266
3 changed files with 22 additions and 2 deletions

View file

@ -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"

View file

@ -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

View file

@ -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, \