summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-25 09:31:21 +0000
committerwiz <wiz@pkgsrc.org>2014-01-25 09:31:21 +0000
commit9358c8198ef0306a6b6a07d9d9ecd461398b96f1 (patch)
tree0eb69b6dee9cbe9ec214ca3b93f8dfec6eb45265 /x11
parentd80b140108d3fe4ed49739b381077afdbf8b1987 (diff)
downloadpkgsrc-9358c8198ef0306a6b6a07d9d9ecd461398b96f1.tar.gz
Convert to versioned_dependencies.mk for cairo.
Fix interpreter path in installed files. Mark as not ready for python-3.x. Bump PKGREVISION.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-gtk2/Makefile61
1 files changed, 55 insertions, 6 deletions
diff --git a/x11/py-gtk2/Makefile b/x11/py-gtk2/Makefile
index 505bbade3d2..9e3728c3cbd 100644
--- a/x11/py-gtk2/Makefile
+++ b/x11/py-gtk2/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.97 2013/10/10 14:41:52 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.98 2014/01/25 09:31:21 wiz Exp $
DISTNAME= pygtk-2.24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= x11 python
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.24/}
EXTRACT_SUFX= .tar.bz2
@@ -15,20 +14,70 @@ LICENSE= gnu-lgpl-v2.1
CONFLICTS= ${PYPKGPREFIX}-gtk<0.6.10
-PY_PATCHPLIST= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE+= pygtk-2.0.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
USE_TOOLS+= gmake pkg-config
+PY_PATCHPLIST= YES
+PYTHON_VERSIONED_DEPENDENCIES= cairo:link
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.24.0
+
+REPLACE_PYTHON+= examples/atk/atk-demo.py
+REPLACE_PYTHON+= examples/glade/autoconnect.py
+REPLACE_PYTHON+= examples/glade/glade-demo.py
+REPLACE_PYTHON+= examples/gtk/customtreemodel.py
+REPLACE_PYTHON+= examples/ide/browse.py
+REPLACE_PYTHON+= examples/ide/edit.py
+REPLACE_PYTHON+= examples/ide/gtkcons.py
+REPLACE_PYTHON+= examples/ide/gtkdb.py
+REPLACE_PYTHON+= examples/ide/gtkprof.py
+REPLACE_PYTHON+= examples/ide/pyide.py
+REPLACE_PYTHON+= examples/pango/extentdemo.py
+REPLACE_PYTHON+= examples/pango/pangocairo-simple.py
+REPLACE_PYTHON+= examples/pango/utf8-demo.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/appwindow.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/buttonbox.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/changedisplay.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/colorsel.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/dialogs.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/dnd.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/editable_cells.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/entry_completion.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/expander.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/hypertext.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/images.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/infobar.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/list_store.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/menu.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/panes.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/pixbufs.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/sizegroup.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/statusicon.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/stock_browser.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/textscroll.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/textview.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/tooltip.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/tree_store.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/treemodel.py
+REPLACE_PYTHON+= examples/pygtk-demo/demos/ui_manager.py
+REPLACE_PYTHON+= examples/pygtk-demo/pygtk-demo.py
+REPLACE_PYTHON+= examples/simple/dnd.py
+REPLACE_PYTHON+= examples/simple/hello.py
+REPLACE_PYTHON+= examples/simple/scribble.py
+REPLACE_PYTHON+= examples/simple/simple.py
+REPLACE_PYTHON+= examples/simple/tooltip.py
+REPLACE_PYTHON+= setup.py
+REPLACE_PYTHON+= tests/runtests.py
+
.include "options.mk"
-.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../devel/libglade/buildlink3.mk"
-.include "../../graphics/py-cairo/buildlink3.mk"
BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.3
.include "../../devel/py-gobject/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.16.0