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/python22 | |
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/python22')
-rw-r--r-- | lang/python22/Makefile | 4 | ||||
-rw-r--r-- | lang/python22/distinfo | 3 | ||||
-rw-r--r-- | lang/python22/patches/patch-aj | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 05b8dc9a6d8..81523250d48 100644 --- a/lang/python22/Makefile +++ b/lang/python22/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.31 2006/03/04 21:29:55 jlam Exp $ +# $NetBSD: Makefile,v 1.32 2006/04/13 02:26:54 joerg Exp $ # DISTNAME= Python-2.2.3 PKGNAME= python22-2.2.3 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= lang python MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/ EXTRACT_SUFX= .tgz diff --git a/lang/python22/distinfo b/lang/python22/distinfo index a2e9f89fd74..95cce391c27 100644 --- a/lang/python22/distinfo +++ b/lang/python22/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.19 2006/01/09 21:22:57 joerg Exp $ +$NetBSD: distinfo,v 1.20 2006/04/13 02:26:54 joerg Exp $ SHA1 (Python-2.2.3.tgz) = 177d587e77e0eaa14131ab0d0d0b470777de4400 RMD160 (Python-2.2.3.tgz) = 3590f813582d65194b467f4ab450e360e35eb40e @@ -11,6 +11,7 @@ SHA1 (patch-af) = a2b23859941766319f638e40c49b5af3f504ef52 SHA1 (patch-ag) = 08dad489e37199127f7f5cb0b4cc30f40a29fdda SHA1 (patch-ah) = 22eca366910a007feeb6e5870eadb9f5024783b1 SHA1 (patch-ai) = 02f530a08fd8b61a696ae43ddabd7e86e4af7727 +SHA1 (patch-aj) = 0e8564ec8157fb5c48c801294213c66ae89a55a1 SHA1 (patch-al) = 9e1a69f0a1625054acc6ceed7242ac4d260c0948 SHA1 (patch-an) = 8e5b93bc65bb6d271e8e111949f715f7234f4371 SHA1 (patch-bb) = 59c5bdef790918e6653fce0cf8189f5c01e9d4d5 diff --git a/lang/python22/patches/patch-aj b/lang/python22/patches/patch-aj new file mode 100644 index 00000000000..0569ca4cc09 --- /dev/null +++ b/lang/python22/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,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) + |