summaryrefslogtreecommitdiff
path: root/graphics/py-gtkglext
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-22 12:10:59 +0000
committerobache <obache@pkgsrc.org>2010-02-22 12:10:59 +0000
commitb042ecaf40380251e9a33e2c6554d1005f6f505c (patch)
tree3c420919a44746f38ba2df9b3c276f2affa5d51d /graphics/py-gtkglext
parentdd74e10b53b3ba90ba2310ee182e6401ab68a9e7 (diff)
downloadpkgsrc-b042ecaf40380251e9a33e2c6554d1005f6f505c.tar.gz
* allow python-2.6
* add user-destdir support
Diffstat (limited to 'graphics/py-gtkglext')
-rw-r--r--graphics/py-gtkglext/Makefile6
-rw-r--r--graphics/py-gtkglext/distinfo4
-rw-r--r--graphics/py-gtkglext/patches/patch-aa4
3 files changed, 8 insertions, 6 deletions
diff --git a/graphics/py-gtkglext/Makefile b/graphics/py-gtkglext/Makefile
index b27c0b40350..db2986b8fd5 100644
--- a/graphics/py-gtkglext/Makefile
+++ b/graphics/py-gtkglext/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2009/08/26 19:57:48 sno Exp $
+# $NetBSD: Makefile,v 1.11 2010/02/22 12:10:59 obache Exp $
#
DISTNAME= pygtkglext-1.1.0
@@ -12,13 +12,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gtkglext.sourceforge.net/
COMMENT= Python bindings for gtkglext
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
PYDISTUTILSPKG= yes
-PYTHON_VERSIONS_ACCEPTED= 25
+PYTHON_VERSIONS_ACCEPTED= 26 25
PKGCONFIG_OVERRIDE+= pygtkglext.pc.in
diff --git a/graphics/py-gtkglext/distinfo b/graphics/py-gtkglext/distinfo
index c764cf379ce..780f1dcd98c 100644
--- a/graphics/py-gtkglext/distinfo
+++ b/graphics/py-gtkglext/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+$NetBSD: distinfo,v 1.2 2010/02/22 12:10:59 obache Exp $
SHA1 (pygtkglext-1.1.0.tar.bz2) = a22962982d12a43acac7601a8b370ec02834eb8f
RMD160 (pygtkglext-1.1.0.tar.bz2) = a050519f520dc45254f485bdc2c41e2d51a2d26f
Size (pygtkglext-1.1.0.tar.bz2) = 349067 bytes
-SHA1 (patch-aa) = bbc4f2cd0fce5851c5e1020f2f0dffe1c82eae20
+SHA1 (patch-aa) = 07c33bed02cb4b756bb2bc6b324bf2ce051e9408
diff --git a/graphics/py-gtkglext/patches/patch-aa b/graphics/py-gtkglext/patches/patch-aa
index c56e3b5be54..da0d4d7b0e6 100644
--- a/graphics/py-gtkglext/patches/patch-aa
+++ b/graphics/py-gtkglext/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2010/02/22 12:10:59 obache Exp $
--- setup.py.in.orig 2003-09-03 07:42:55.000000000 +0200
+++ setup.py.in
@@ -12,7 +12,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/07/13 15:01:27 drochner Exp $
self.install_template_as('pygtkglext.pc.in',
- os.path.join(self.libdir, 'pkgconfig'),
-+ os.path.join(os.getenv('PREFIX'), 'lib', 'pkgconfig'),
++ os.path.join(os.getenv('DESTDIR') + os.getenv('PREFIX'), 'lib', 'pkgconfig'),
'pygtkglext-' + API_VERSION + '.pc')
# Modify the base installation dir