diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-13 02:26:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-13 02:26:54 +0000 |
commit | 053f691e9b2e92ff25375fcc0b26f61cfe37e8d9 (patch) | |
tree | 1dfa57725ef5c772d4a448cdff68f5edc29865ac /lang/python20 | |
parent | 77e66f9bb1d7772a51fabab2c49ad8b029f03167 (diff) | |
download | pkgsrc-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/python20')
-rw-r--r-- | lang/python20/Makefile | 4 | ||||
-rw-r--r-- | lang/python20/distinfo | 3 | ||||
-rw-r--r-- | lang/python20/patches/patch-ai | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile index 8f5750678a4..57376bea551 100644 --- a/lang/python20/Makefile +++ b/lang/python20/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.29 2005/11/16 19:18:58 joerg Exp $ +# $NetBSD: Makefile,v 1.30 2006/04/13 02:26:54 joerg Exp $ # DISTNAME= Python-2.0.1 PKGNAME= python20-2.0.1 -PKGREVISION= 11 +PKGREVISION= 12 CATEGORIES= lang python MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/ EXTRACT_SUFX= .tgz diff --git a/lang/python20/distinfo b/lang/python20/distinfo index cf241236b0a..3574fc0c224 100644 --- a/lang/python20/distinfo +++ b/lang/python20/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2005/12/06 18:26:49 joerg Exp $ +$NetBSD: distinfo,v 1.12 2006/04/13 02:26:54 joerg Exp $ SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab RMD160 (python/Python-2.0.1.tgz) = fe663234ff4a8b363f10f6e5589acf1d8b00573f @@ -11,6 +11,7 @@ SHA1 (patch-ae) = e962dad92260a1f506298ba3ebb059e852c4ccf4 SHA1 (patch-af) = 9ed51b6868c3c7e24d92b52f0dc260e9c30d99bc SHA1 (patch-ag) = 4b1b561832d6a044c6be0372f9f915b09fab4c3c SHA1 (patch-ah) = c48beff9fe4d4f61e21c0952f4a7547cae28c0bb +SHA1 (patch-ai) = 87b430f97ec258d423f7841bf369970223323a6b SHA1 (patch-bb) = adab8436d470acdc07149fdd6eed09c20ebf965e SHA1 (patch-bc) = fdd18d0fab171364d4733975351fbc60c81d0a4a SHA1 (patch-cd) = 60107e1857ff4177efebfbf33fcc2df2a50c61fc diff --git a/lang/python20/patches/patch-ai b/lang/python20/patches/patch-ai new file mode 100644 index 00000000000..2da7cd8dd64 --- /dev/null +++ b/lang/python20/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2006/04/13 02:26:54 joerg Exp $ + +--- Lib/distutils/util.py.orig 2000-10-14 04:07:39.000000000 +0000 ++++ Lib/distutils/util.py +@@ -54,6 +54,8 @@ def get_platform (): + # fall through to standard osname-release-machine representation + elif osname[:4] == "irix": # could be "irix64"! + return "%s-%s" % (osname, release) ++ elif osname[:9] == "dragonfly": ++ release = string.split(release, "-")[0] + + return "%s-%s-%s" % (osname, release, machine) + |