pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Extend some checks to also test for netbsd2 as sy...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/096ac7dfdddb
branches:  trunk
changeset: 480056:096ac7dfdddb
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Aug 29 10:44:19 2004 +0000

description:
Extend some checks to also test for netbsd2 as sys.platform.

Bump PKGREVISIONS accordingly.

diffstat:

 lang/python20/Makefile             |   4 ++--
 lang/python20/distinfo             |   4 +++-
 lang/python20/patches/patch-bb     |  18 ++++++++++++++++++
 lang/python20/patches/patch-bc     |  31 +++++++++++++++++++++++++++++++
 lang/python21-pth/Makefile         |   4 ++--
 lang/python21-pth/distinfo         |   5 +++--
 lang/python21-pth/patches/patch-bb |  13 +++++++++----
 lang/python21-pth/patches/patch-bc |  33 +++++++++++++++++++++++++++++++++
 lang/python21/Makefile             |   4 ++--
 lang/python21/distinfo             |   5 +++--
 lang/python21/patches/patch-bb     |  13 +++++++++----
 lang/python21/patches/patch-bc     |  33 +++++++++++++++++++++++++++++++++
 lang/python22-pth/Makefile         |   4 ++--
 lang/python22-pth/distinfo         |   5 +++--
 lang/python22-pth/patches/patch-bb |  13 +++++++++----
 lang/python22-pth/patches/patch-bc |  33 +++++++++++++++++++++++++++++++++
 lang/python22/Makefile             |   4 ++--
 lang/python22/distinfo             |   5 +++--
 lang/python22/patches/patch-bb     |  13 +++++++++----
 lang/python22/patches/patch-bc     |  33 +++++++++++++++++++++++++++++++++
 20 files changed, 242 insertions(+), 35 deletions(-)

diffs (truncated from 440 to 300 lines):

diff -r 5d3282677035 -r 096ac7dfdddb lang/python20/Makefile
--- a/lang/python20/Makefile    Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python20/Makefile    Sun Aug 29 10:44:19 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.19 2004/08/27 06:29:08 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2004/08/29 10:44:19 recht Exp $
 #
 
 DISTNAME=      Python-2.0.1
 PKGNAME=       python20-2.0.1
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    lang python
 MASTER_SITES=  ftp://ftp.python.org/pub/python/2.0.1/
 EXTRACT_SUFX=  .tgz
diff -r 5d3282677035 -r 096ac7dfdddb lang/python20/distinfo
--- a/lang/python20/distinfo    Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python20/distinfo    Sun Aug 29 10:44:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2003/08/18 09:14:16 drochner Exp $
+$NetBSD: distinfo,v 1.6 2004/08/29 10:44:19 recht Exp $
 
 SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab
 Size (python/Python-2.0.1.tgz) = 4097453 bytes
@@ -6,4 +6,6 @@
 SHA1 (patch-ab) = 670cd69d67566bf61d152e3433161c0f146be1b3
 SHA1 (patch-ac) = 74ff40fc338e8209d91e5da11fdbed497462dd83
 SHA1 (patch-ad) = 08096aea74ab4871309124cd28a3b98d83cb322f
+SHA1 (patch-bb) = 8d3c18ea43843dda48d60461a5a216a5237cc5f2
+SHA1 (patch-bc) = fdd18d0fab171364d4733975351fbc60c81d0a4a
 SHA1 (patch-cd) = 60107e1857ff4177efebfbf33fcc2df2a50c61fc
diff -r 5d3282677035 -r 096ac7dfdddb lang/python20/patches/patch-bb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python20/patches/patch-bb    Sun Aug 29 10:44:19 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-bb,v 1.1 2004/08/29 10:44:19 recht Exp $
+
+--- Lib/test/test_fcntl.py.orig        2004-08-28 19:24:26.000000000 +0200
++++ Lib/test/test_fcntl.py     2004-08-28 19:25:18.000000000 +0200
+@@ -16,11 +16,11 @@
+ if verbose:
+     print 'Status from fnctl with O_NONBLOCK: ', rv
+     
+-if sys.platform in ('netbsd1', 'Darwin1.2',
++if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2',
+                     'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                     'bsdos2', 'bsdos3', 'bsdos4',
+                     'openbsd', 'openbsd2'):
+-    lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
++    lockdata = struct.pack('ixxxxixxxxihh', 0, 0, 0, FCNTL.F_WRLCK, 0)
+ elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
+     lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
+ else:
diff -r 5d3282677035 -r 096ac7dfdddb lang/python20/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python20/patches/patch-bc    Sun Aug 29 10:44:19 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-bc,v 1.1 2004/08/29 10:44:19 recht Exp $
+
+--- Lib/posixfile.py.orig      2004-08-28 19:23:13.000000000 +0200
++++ Lib/posixfile.py   2004-08-29 12:21:02.000000000 +0200
+@@ -172,10 +172,11 @@
+         # additions for AIX by Vladimir.Marangozov%imag.fr@localhost
+         import sys, os
+         if sys.platform in ('netbsd1',
++                            'netbsd2',
+                             'openbsd2',
+                             'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                             'bsdos2', 'bsdos3', 'bsdos4'):
+-            flock = struct.pack('lxxxxlxxxxlhh', \
++            flock = struct.pack('qqihh', \
+                   l_start, l_len, os.getpid(), l_type, l_whence) 
+         elif sys.platform in ['aix3', 'aix4']:
+             flock = struct.pack('hhlllii', \
+@@ -188,11 +189,12 @@
+ 
+         if '?' in how:
+             if sys.platform in ('netbsd1',
++                                'netbsd2',
+                                 'openbsd2',
+                                 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                                 'bsdos2', 'bsdos3', 'bsdos4'):
+                 l_start, l_len, l_pid, l_type, l_whence = \
+-                    struct.unpack('lxxxxlxxxxlhh', flock)
++                    struct.unpack('qqihh', flock)
+             elif sys.platform in ['aix3', 'aix4']:
+                 l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
+                     struct.unpack('hhlllii', flock)
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21-pth/Makefile
--- a/lang/python21-pth/Makefile        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21-pth/Makefile        Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/08/02 16:59:22 recht Exp $
+# $NetBSD: Makefile,v 1.14 2004/08/29 10:44:19 recht Exp $
 #
 
 PKGNAME=       python21-pth-2.1.3
-PKGREVISION=   5
+PKGREVISION=   6
 
 PTHREAD_OPTS=  require
 .include "../../mk/pthread.buildlink3.mk"
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21-pth/distinfo
--- a/lang/python21-pth/distinfo        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21-pth/distinfo        Sun Aug 29 10:44:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2004/05/16 20:01:59 minskim Exp $
+$NetBSD: distinfo,v 1.9 2004/08/29 10:44:19 recht Exp $
 
 SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
 Size (Python-2.1.3.tgz) = 6194432 bytes
@@ -13,4 +13,5 @@
 SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6
 SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9
 SHA1 (patch-ba) = 5e47b2e75ea40682216e42fbf8b971432836afdc
-SHA1 (patch-bb) = d70f1c25051d121d33934fa8715332c1d1caff04
+SHA1 (patch-bb) = dea4f69c7b5152c02b903b08e1cf505e5f0fdc6b
+SHA1 (patch-bc) = d1a9b636c736a625c920fb013b07a1a41e824720
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21-pth/patches/patch-bb
--- a/lang/python21-pth/patches/patch-bb        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21-pth/patches/patch-bb        Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,13 @@
-$NetBSD: patch-bb,v 1.1 2003/04/15 16:52:29 drochner Exp $
+$NetBSD: patch-bb,v 1.2 2004/08/29 10:44:19 recht Exp $
 
---- Lib/test/test_fcntl.py.orig        2003-04-15 15:46:49.000000000 +0200
-+++ Lib/test/test_fcntl.py     2003-04-15 15:48:42.000000000 +0200
-@@ -20,7 +20,7 @@
+--- Lib/test/test_fcntl.py.orig        2001-04-11 22:58:20.000000000 +0200
++++ Lib/test/test_fcntl.py     2004-08-28 12:12:17.000000000 +0200
+@@ -16,11 +16,11 @@
+ if verbose:
+     print 'Status from fnctl with O_NONBLOCK: ', rv
+ 
+-if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
++if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2', 'darwin1',
                      'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                      'bsdos2', 'bsdos3', 'bsdos4',
                      'openbsd', 'openbsd2'):
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21-pth/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python21-pth/patches/patch-bc        Sun Aug 29 10:44:19 2004 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-bc,v 1.1 2004/08/29 10:44:19 recht Exp $
+
+--- Lib/posixfile.py.orig      2001-04-10 17:44:33.000000000 +0200
++++ Lib/posixfile.py   2004-08-28 12:10:29.000000000 +0200
+@@ -171,11 +171,11 @@
+         # Hack by davem%magnet.com@localhost to get locking to go on freebsd;
+         # additions for AIX by Vladimir.Marangozov%imag.fr@localhost
+         import sys, os
+-        if sys.platform in ('netbsd1',
++        if sys.platform in ('netbsd1', 'netbsd2',
+                             'openbsd2',
+                             'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                             'bsdos2', 'bsdos3', 'bsdos4'):
+-            flock = struct.pack('lxxxxlxxxxlhh', \
++            flock = struct.pack('qqihh', \
+                   l_start, l_len, os.getpid(), l_type, l_whence)
+         elif sys.platform in ['aix3', 'aix4']:
+             flock = struct.pack('hhlllii', \
+@@ -187,12 +187,12 @@
+         flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
+ 
+         if '?' in how:
+-            if sys.platform in ('netbsd1',
++            if sys.platform in ('netbsd1', 'netbsd2'
+                                 'openbsd2',
+                                 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                                 'bsdos2', 'bsdos3', 'bsdos4'):
+                 l_start, l_len, l_pid, l_type, l_whence = \
+-                    struct.unpack('lxxxxlxxxxlhh', flock)
++                    struct.unpack('qqihh', flock)
+             elif sys.platform in ['aix3', 'aix4']:
+                 l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
+                     struct.unpack('hhlllii', flock)
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21/Makefile
--- a/lang/python21/Makefile    Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21/Makefile    Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2004/08/02 16:59:22 recht Exp $
+# $NetBSD: Makefile,v 1.16 2004/08/29 10:44:19 recht Exp $
 #
 
 PKGNAME=       python21-2.1.3
-PKGREVISION=   3
+PKGREVISION=   4
 
 CONFIGURE_ARGS+=       --without-threads
 
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21/distinfo
--- a/lang/python21/distinfo    Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21/distinfo    Sun Aug 29 10:44:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2004/05/16 20:01:59 minskim Exp $
+$NetBSD: distinfo,v 1.13 2004/08/29 10:44:19 recht Exp $
 
 SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4
 Size (Python-2.1.3.tgz) = 6194432 bytes
@@ -10,4 +10,5 @@
 SHA1 (patch-ah) = 637dfe0cb4d031760f1085fb7921c0ae77158221
 SHA1 (patch-ai) = 6420f2994109b8cce55674ea14d7a974f9e039c6
 SHA1 (patch-aj) = ca232f769b57f617496f5c8701a0a32fe55f1fd9
-SHA1 (patch-bb) = d70f1c25051d121d33934fa8715332c1d1caff04
+SHA1 (patch-bb) = dea4f69c7b5152c02b903b08e1cf505e5f0fdc6b
+SHA1 (patch-bc) = d1a9b636c736a625c920fb013b07a1a41e824720
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21/patches/patch-bb
--- a/lang/python21/patches/patch-bb    Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python21/patches/patch-bb    Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,13 @@
-$NetBSD: patch-bb,v 1.1 2003/04/15 16:52:28 drochner Exp $
+$NetBSD: patch-bb,v 1.2 2004/08/29 10:44:19 recht Exp $
 
---- Lib/test/test_fcntl.py.orig        2003-04-15 15:46:49.000000000 +0200
-+++ Lib/test/test_fcntl.py     2003-04-15 15:48:42.000000000 +0200
-@@ -20,7 +20,7 @@
+--- Lib/test/test_fcntl.py.orig        2001-04-11 22:58:20.000000000 +0200
++++ Lib/test/test_fcntl.py     2004-08-28 12:12:17.000000000 +0200
+@@ -16,11 +16,11 @@
+ if verbose:
+     print 'Status from fnctl with O_NONBLOCK: ', rv
+ 
+-if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
++if sys.platform in ('netbsd1', 'netbsd2', 'Darwin1.2', 'darwin1',
                      'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
                      'bsdos2', 'bsdos3', 'bsdos4',
                      'openbsd', 'openbsd2'):
diff -r 5d3282677035 -r 096ac7dfdddb lang/python21/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/python21/patches/patch-bc    Sun Aug 29 10:44:19 2004 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-bc,v 1.1 2004/08/29 10:44:19 recht Exp $
+
+--- Lib/posixfile.py.orig      2001-04-10 17:44:33.000000000 +0200
++++ Lib/posixfile.py   2004-08-28 12:10:29.000000000 +0200
+@@ -171,11 +171,11 @@
+         # Hack by davem%magnet.com@localhost to get locking to go on freebsd;
+         # additions for AIX by Vladimir.Marangozov%imag.fr@localhost
+         import sys, os
+-        if sys.platform in ('netbsd1',
++        if sys.platform in ('netbsd1', 'netbsd2',
+                             'openbsd2',
+                             'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                             'bsdos2', 'bsdos3', 'bsdos4'):
+-            flock = struct.pack('lxxxxlxxxxlhh', \
++            flock = struct.pack('qqihh', \
+                   l_start, l_len, os.getpid(), l_type, l_whence)
+         elif sys.platform in ['aix3', 'aix4']:
+             flock = struct.pack('hhlllii', \
+@@ -187,12 +187,12 @@
+         flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
+ 
+         if '?' in how:
+-            if sys.platform in ('netbsd1',
++            if sys.platform in ('netbsd1', 'netbsd2'
+                                 'openbsd2',
+                                 'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
+                                 'bsdos2', 'bsdos3', 'bsdos4'):
+                 l_start, l_len, l_pid, l_type, l_whence = \
+-                    struct.unpack('lxxxxlxxxxlhh', flock)
++                    struct.unpack('qqihh', flock)
+             elif sys.platform in ['aix3', 'aix4']:
+                 l_type, l_whence, l_start, l_len, l_sysid, l_pid, l_vfs = \
+                     struct.unpack('hhlllii', flock)
diff -r 5d3282677035 -r 096ac7dfdddb lang/python22-pth/Makefile
--- a/lang/python22-pth/Makefile        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python22-pth/Makefile        Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2004/04/23 01:25:09 danw Exp $
+# $NetBSD: Makefile,v 1.14 2004/08/29 10:44:19 recht Exp $
 #
 
 PKGNAME=       python22-pth-2.2.3
-PKGREVISION=   2
+PKGREVISION=   3
 
 PTHREAD_OPTS=  require
 .include "../../mk/pthread.buildlink3.mk"
diff -r 5d3282677035 -r 096ac7dfdddb lang/python22-pth/distinfo
--- a/lang/python22-pth/distinfo        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python22-pth/distinfo        Sun Aug 29 10:44:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/05/16 20:01:59 minskim Exp $
+$NetBSD: distinfo,v 1.6 2004/08/29 10:44:19 recht Exp $
 
 SHA1 (Python-2.2.3.tgz) = 177d587e77e0eaa14131ab0d0d0b470777de4400
 Size (Python-2.2.3.tgz) = 6709556 bytes
@@ -11,4 +11,5 @@
 SHA1 (patch-ai) = ae1d8a7886604f9e973f4430f9c673a575452170
 SHA1 (patch-aj) = ccf82a79c38f848d31f5193b561be5a44481fedc
 SHA1 (patch-ba) = 5e47b2e75ea40682216e42fbf8b971432836afdc
-SHA1 (patch-bb) = 238f713b049fe2d9cd7e1142dfd0d8c32a53982e
+SHA1 (patch-bb) = 389c439e8031257ca997455e10c8bd327b14638a
+SHA1 (patch-bc) = 9fbe77ff35519a290ef1f70fcaa72a60009a36a1
diff -r 5d3282677035 -r 096ac7dfdddb lang/python22-pth/patches/patch-bb
--- a/lang/python22-pth/patches/patch-bb        Sun Aug 29 06:51:39 2004 +0000
+++ b/lang/python22-pth/patches/patch-bb        Sun Aug 29 10:44:19 2004 +0000
@@ -1,8 +1,13 @@
-$NetBSD: patch-bb,v 1.1 2003/04/08 18:32:59 drochner Exp $
+$NetBSD: patch-bb,v 1.2 2004/08/29 10:44:19 recht Exp $



Home | Main Index | Thread Index | Old Index