pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-gtk2 Do not unconditionally remove share/pygtk,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc18a95c8dde
branches:  trunk
changeset: 524397:fc18a95c8dde
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jan 24 19:44:20 2007 +0000

description:
Do not unconditionally remove share/pygtk, it is shared with x11/pygtk.
Try to remove include/pygtk-2.0, since py-gobject-shared, which owns
this directory, is only a build dependency.
Bump PKGREVISION.

diffstat:

 x11/py-gtk2/Makefile |  3 ++-
 x11/py-gtk2/PLIST    |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r 9e2bd92ee038 -r fc18a95c8dde x11/py-gtk2/Makefile
--- a/x11/py-gtk2/Makefile      Wed Jan 24 19:43:28 2007 +0000
+++ b/x11/py-gtk2/Makefile      Wed Jan 24 19:44:20 2007 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.38 2006/10/12 13:55:38 drochner Exp $
+# $NetBSD: Makefile,v 1.39 2007/01/24 19:44:20 wiz Exp $
 #
 
 DISTNAME=      pygtk-2.10.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
+PKGREVISION=   1
 CATEGORIES=    x11 python
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/pygtk/2.10/}
 EXTRACT_SUFX=  .tar.bz2
diff -r 9e2bd92ee038 -r fc18a95c8dde x11/py-gtk2/PLIST
--- a/x11/py-gtk2/PLIST Wed Jan 24 19:43:28 2007 +0000
+++ b/x11/py-gtk2/PLIST Wed Jan 24 19:44:20 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2006/10/12 13:55:38 drochner Exp $
+@comment $NetBSD: PLIST,v 1.11 2007/01/24 19:44:20 wiz Exp $
 bin/pygtk-codegen-2.0
 bin/pygtk-demo
 include/pygtk-2.0/pygtk/pygtk.h
@@ -454,7 +454,7 @@
 @dirrm share/pygtk/2.0/defs
 @dirrm share/pygtk/2.0/codegen
 @dirrm share/pygtk/2.0
-@dirrm share/pygtk
+@unexec ${RMDIR} %D/share/pygtk 2>/dev/null || ${TRUE}
 @dirrm share/gtk-doc/html/pygtk
 @dirrm ${PYSITELIB}/gtk-2.0/gtk
 @dirrm lib/pygtk/2.0/demos/images
@@ -462,3 +462,4 @@
 @dirrm lib/pygtk/2.0
 @dirrm lib/pygtk
 @dirrm include/pygtk-2.0/pygtk
+@unexec ${RMDIR} %D/include/pygtk-2.0 2>/dev/null || ${TRUE}



Home | Main Index | Thread Index | Old Index