summaryrefslogtreecommitdiff
path: root/lang/python24
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-13 02:26:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-13 02:26:54 +0000
commit053f691e9b2e92ff25375fcc0b26f61cfe37e8d9 (patch)
tree1dfa57725ef5c772d4a448cdff68f5edc29865ac /lang/python24
parent77e66f9bb1d7772a51fabab2c49ad8b029f03167 (diff)
downloadpkgsrc-053f691e9b2e92ff25375fcc0b26f61cfe37e8d9.tar.gz
Strip of anything after the version number in distutils.util.get_platform
on DragonFly. Since that version is used e.g. as part of the file name for python eggs, it makes handling easier to match normal pkgsrc platform policy. Bump revisions of all Python packages.
Diffstat (limited to 'lang/python24')
-rw-r--r--lang/python24/Makefile3
-rw-r--r--lang/python24/distinfo3
-rw-r--r--lang/python24/patches/patch-ao13
3 files changed, 17 insertions, 2 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 947626beecf..1d6d58f6064 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.23 2006/04/12 20:21:48 drochner Exp $
+# $NetBSD: Makefile,v 1.24 2006/04/13 02:26:54 joerg Exp $
#
DISTNAME= Python-2.4.3
PKGNAME= python24-2.4.3
+PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.4.3/ \
http://www.python.org/ftp/python/2.4.3/
diff --git a/lang/python24/distinfo b/lang/python24/distinfo
index 141eaa160c1..aeb739a0646 100644
--- a/lang/python24/distinfo
+++ b/lang/python24/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2006/04/12 20:21:48 drochner Exp $
+$NetBSD: distinfo,v 1.18 2006/04/13 02:26:54 joerg Exp $
SHA1 (Python-2.4.3.tar.bz2) = d6b81e1aec0045b5acff99676f2abe303da1b384
RMD160 (Python-2.4.3.tar.bz2) = c86247554975e6c44f91d05e44e68e280d5244dc
@@ -17,3 +17,4 @@ SHA1 (patch-ak) = f2e1d4087a94490bd3589a8c829ec72e04f31f72
SHA1 (patch-al) = 3dccd19d56685ab447c3629c4c360881dcca4c3d
SHA1 (patch-am) = a8be9e5d3558c27e38d4323601335ad3bcde1f85
SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8
+SHA1 (patch-ao) = 0e8564ec8157fb5c48c801294213c66ae89a55a1
diff --git a/lang/python24/patches/patch-ao b/lang/python24/patches/patch-ao
new file mode 100644
index 00000000000..d8fb9624e8f
--- /dev/null
+++ b/lang/python24/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2006/04/13 02:26:54 joerg Exp $
+
+--- Lib/distutils/util.py.orig 2004-07-18 06:16:08.000000000 +0000
++++ Lib/distutils/util.py
+@@ -66,6 +66,8 @@ def get_platform ():
+ m = rel_re.match(release)
+ if m:
+ release = m.group()
++ elif osname[:9] == "dragonfly":
++ release = string.split(release, "-")[0]
+
+ return "%s-%s-%s" % (osname, release, machine)
+