aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-04-15 15:35:49 +0800
committertg <tg@FreeBSD.org>1998-04-15 15:35:49 +0800
commit66b92ddd8546340c9230b116dcc8755603c4df92 (patch)
treec64b5dda48ecaac335335d247d106a3cd6035189 /lang
parent17bfa7fcd0b9601984defd1ee17a53582e7e8df6 (diff)
downloadfreebsd-ports-gnome-66b92ddd8546340c9230b116dcc8755603c4df92.tar.gz
freebsd-ports-gnome-66b92ddd8546340c9230b116dcc8755603c4df92.tar.zst
freebsd-ports-gnome-66b92ddd8546340c9230b116dcc8755603c4df92.zip
Upgrade to 1.5.1.
Diffstat (limited to 'lang')
-rw-r--r--lang/python+ipv6/Makefile13
-rw-r--r--lang/python+ipv6/distinfo3
-rw-r--r--lang/python+ipv6/files/Setup32
-rw-r--r--lang/python+ipv6/pkg-plist55
-rw-r--r--lang/python-devel/Makefile13
-rw-r--r--lang/python-devel/distinfo3
-rw-r--r--lang/python-devel/files/Setup32
-rw-r--r--lang/python-devel/pkg-plist55
-rw-r--r--lang/python/Makefile13
-rw-r--r--lang/python/distinfo3
-rw-r--r--lang/python/files/Setup32
-rw-r--r--lang/python/pkg-plist55
-rw-r--r--lang/python15/Makefile13
-rw-r--r--lang/python15/distinfo3
-rw-r--r--lang/python15/files/Setup32
-rw-r--r--lang/python15/pkg-plist55
-rw-r--r--lang/python20/Makefile13
-rw-r--r--lang/python20/distinfo3
-rw-r--r--lang/python20/files/Setup32
-rw-r--r--lang/python20/pkg-plist55
-rw-r--r--lang/python21/Makefile13
-rw-r--r--lang/python21/distinfo3
-rw-r--r--lang/python21/files/Setup32
-rw-r--r--lang/python21/pkg-plist55
-rw-r--r--lang/python22/Makefile13
-rw-r--r--lang/python22/distinfo3
-rw-r--r--lang/python22/files/Setup32
-rw-r--r--lang/python22/pkg-plist55
-rw-r--r--lang/python23/Makefile13
-rw-r--r--lang/python23/distinfo3
-rw-r--r--lang/python23/files/Setup32
-rw-r--r--lang/python23/pkg-plist55
-rw-r--r--lang/python24/Makefile13
-rw-r--r--lang/python24/distinfo3
-rw-r--r--lang/python24/files/Setup32
-rw-r--r--lang/python24/pkg-plist55
-rw-r--r--lang/python25/Makefile13
-rw-r--r--lang/python25/distinfo3
-rw-r--r--lang/python25/files/Setup32
-rw-r--r--lang/python25/pkg-plist55
-rw-r--r--lang/python26/Makefile13
-rw-r--r--lang/python26/distinfo3
-rw-r--r--lang/python26/files/Setup32
-rw-r--r--lang/python26/pkg-plist55
-rw-r--r--lang/python27/Makefile13
-rw-r--r--lang/python27/distinfo3
-rw-r--r--lang/python27/files/Setup32
-rw-r--r--lang/python27/pkg-plist55
-rw-r--r--lang/python30/Makefile13
-rw-r--r--lang/python30/distinfo3
-rw-r--r--lang/python30/files/Setup32
-rw-r--r--lang/python30/pkg-plist55
-rw-r--r--lang/python31/Makefile13
-rw-r--r--lang/python31/distinfo3
-rw-r--r--lang/python31/files/Setup32
-rw-r--r--lang/python31/pkg-plist55
-rw-r--r--lang/python32/Makefile13
-rw-r--r--lang/python32/distinfo3
-rw-r--r--lang/python32/files/Setup32
-rw-r--r--lang/python32/pkg-plist55
60 files changed, 810 insertions, 735 deletions
diff --git a/lang/python+ipv6/Makefile b/lang/python+ipv6/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python+ipv6/Makefile
+++ b/lang/python+ipv6/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python+ipv6/distinfo b/lang/python+ipv6/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python+ipv6/distinfo
+++ b/lang/python+ipv6/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python+ipv6/files/Setup b/lang/python+ipv6/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python+ipv6/files/Setup
+++ b/lang/python+ipv6/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python+ipv6/pkg-plist b/lang/python+ipv6/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python+ipv6/pkg-plist
+++ b/lang/python+ipv6/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python-devel/Makefile b/lang/python-devel/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python-devel/Makefile
+++ b/lang/python-devel/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python-devel/distinfo b/lang/python-devel/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python-devel/distinfo
+++ b/lang/python-devel/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python-devel/files/Setup b/lang/python-devel/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python-devel/files/Setup
+++ b/lang/python-devel/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python-devel/pkg-plist b/lang/python-devel/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python-devel/pkg-plist
+++ b/lang/python-devel/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python/Makefile b/lang/python/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python/distinfo b/lang/python/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python/distinfo
+++ b/lang/python/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python/files/Setup b/lang/python/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python/files/Setup
+++ b/lang/python/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python/pkg-plist b/lang/python/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python/pkg-plist
+++ b/lang/python/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python15/Makefile b/lang/python15/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python15/Makefile
+++ b/lang/python15/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python15/distinfo b/lang/python15/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python15/distinfo
+++ b/lang/python15/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python15/files/Setup b/lang/python15/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python15/files/Setup
+++ b/lang/python15/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python15/pkg-plist b/lang/python15/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python15/pkg-plist
+++ b/lang/python15/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python20/distinfo b/lang/python20/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python20/distinfo
+++ b/lang/python20/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python20/files/Setup b/lang/python20/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python20/files/Setup
+++ b/lang/python20/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python20/pkg-plist b/lang/python20/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python20/pkg-plist
+++ b/lang/python20/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python21/distinfo b/lang/python21/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python21/distinfo
+++ b/lang/python21/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python21/files/Setup b/lang/python21/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python21/files/Setup
+++ b/lang/python21/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python21/pkg-plist b/lang/python21/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python21/pkg-plist
+++ b/lang/python21/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python22/distinfo b/lang/python22/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python22/distinfo
+++ b/lang/python22/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python22/files/Setup b/lang/python22/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python22/files/Setup
+++ b/lang/python22/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python22/pkg-plist b/lang/python22/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python22/pkg-plist
+++ b/lang/python22/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python23/distinfo b/lang/python23/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python23/distinfo
+++ b/lang/python23/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python23/files/Setup b/lang/python23/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python23/files/Setup
+++ b/lang/python23/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python23/pkg-plist b/lang/python23/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python23/pkg-plist
+++ b/lang/python23/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python24/distinfo b/lang/python24/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python24/distinfo
+++ b/lang/python24/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python24/files/Setup b/lang/python24/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python24/files/Setup
+++ b/lang/python24/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python24/pkg-plist b/lang/python24/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python24/pkg-plist
+++ b/lang/python24/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python25/distinfo b/lang/python25/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python25/distinfo
+++ b/lang/python25/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python25/files/Setup b/lang/python25/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python25/files/Setup
+++ b/lang/python25/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python25/pkg-plist b/lang/python25/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python25/pkg-plist
+++ b/lang/python25/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python26/distinfo b/lang/python26/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python26/distinfo
+++ b/lang/python26/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python26/files/Setup b/lang/python26/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python26/files/Setup
+++ b/lang/python26/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python26/pkg-plist b/lang/python26/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python26/pkg-plist
+++ b/lang/python26/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python27/distinfo b/lang/python27/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python27/distinfo
+++ b/lang/python27/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python27/files/Setup b/lang/python27/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python27/files/Setup
+++ b/lang/python27/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python27/pkg-plist b/lang/python27/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python30/distinfo b/lang/python30/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python30/distinfo
+++ b/lang/python30/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python30/files/Setup b/lang/python30/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python30/files/Setup
+++ b/lang/python30/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python30/pkg-plist b/lang/python30/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python30/pkg-plist
+++ b/lang/python30/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python31/distinfo b/lang/python31/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python31/distinfo
+++ b/lang/python31/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python31/files/Setup b/lang/python31/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python31/files/Setup
+++ b/lang/python31/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python31/pkg-plist b/lang/python31/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python31/pkg-plist
+++ b/lang/python31/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index f3c49252abef..2b965d0b9b72 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -3,24 +3,21 @@
# Date created: 08 August 1995
# Whom: jkh
#
-# $Id: Makefile,v 1.24 1998/04/08 09:23:57 tg Exp $
+# $Id: Makefile,v 1.25 1998/04/09 10:51:32 tg Exp $
#
-DISTNAME= python1.5
-PKGNAME= python-1.5
+DISTNAME= pyth151
+PKGNAME= python-1.5.1
CATEGORIES= lang tk80
MASTER_SITES= ftp://www.python.org/pub/python/src/ \
ftp://ftp.cwi.nl/pub/python/src/
-
-PATCH_SITES= http://www.python.org/1.5/
-PATCHFILES= all.txt
+EXTRACT_SUFX= .tgz
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
-WRKSRC= ${WRKDIR}/Python-1.5
+WRKSRC= ${WRKDIR}/Python-1.5.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-fpectl
MAKE_FLAGS= 'OPT=${CFLAGS}'
diff --git a/lang/python32/distinfo b/lang/python32/distinfo
index 8014abbcfc0c..63166bf98acb 100644
--- a/lang/python32/distinfo
+++ b/lang/python32/distinfo
@@ -1,2 +1 @@
-MD5 (python/python1.5.tar.gz) = 7964dcbae1e55e961549f0b4d4713711
-MD5 (python/all.txt) = c16d29e25ab01d1e21a94d5824502794
+MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427
diff --git a/lang/python32/files/Setup b/lang/python32/files/Setup
index 41350fd89059..8599a9d17129 100644
--- a/lang/python32/files/Setup
+++ b/lang/python32/files/Setup
@@ -65,7 +65,7 @@ MACHDESTLIB=$(BINLIBDEST)
DESTPATH=
# Site specific path insertions -- should begin with : if non-empty
-SITEPATH=:NumPy
+SITEPATH=
# Standard enabled (tests are always available)
TESTPATH=:test
@@ -84,7 +84,6 @@ PYTHONPATH=$(COREPYTHONPATH)
# Some modules that are normally always on:
regex regexmodule.c regexpr.c # Regular expressions, GNU Emacs style
-reop reopmodule.c # Additional RE support (for re1.py)
pcre pcremodule.c pypcre.c # Regular expressions, Perl style (for re.py)
posix posixmodule.c # posix (UNIX) system calls
signal signalmodule.c # signal(2)
@@ -93,11 +92,14 @@ signal signalmodule.c # signal(2)
#gl glmodule.c -lgl -lX11 # Graphics Library -- SGI only
-# Thread module -- use only if Python has thread support for your OS.
-# Note that you must have configured (and built!) Python with the
-# --with-thread option passed to the configure script for this to work:
+# The thread module is now automatically enabled, see Setup.thread.
-#thread threadmodule.c
+# Pure module. Cannot be linked dynamically.
+# -DWITH_QUANTIFY, -DWITH_PURIFY, or -DWITH_ALL_PURE
+#WHICH_PURE_PRODUCTS=-DWITH_ALL_PURE
+#PURE_INCLS=-I/usr/local/include
+#PURE_STUBLIBS=-L/usr/local/lib -lpurify_stubs -lquantify_stubs
+#pure puremodule.c $(WHICH_PURE_PRODUCTS) $(PURE_INCLS) $(PURE_STUBLIBS)
# Uncommenting the following line tells makesetup that all following
# modules are to be built as shared libraries (see above for more
@@ -124,7 +126,7 @@ cmath cmathmodule.c # complex math library functions
math mathmodule.c -lm # math library functions, e.g. sin()
strop stropmodule.c # fast string operations implemented in C
struct structmodule.c # binary structure packing/unpacking
-time timemodule.c # time operations and variables
+time timemodule.c # -lm # time operations and variables
operator operator.c # operator.add() and similar goodies
_locale _localemodule.c # access to ISO C locale support
@@ -137,17 +139,19 @@ _locale _localemodule.c # access to ISO C locale support
fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
pwd pwdmodule.c # pwd(3)
grp grpmodule.c # grp(3)
-crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
select selectmodule.c # select(2); not on ancient System V
socket socketmodule.c # socket(2); not on ancient System V
errno errnomodule.c # posix (UNIX) errno values
+# The crypt module is now disabled by default because it breaks builds
+# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
+
*shared*
# Some more UNIX dependent modules -- off by default, since these
# are not supported by all UNIX systems:
-dbm dbmmodule.c # dbm(3) may require -lndbm or similar
nis nismodule.c # Sun yellow pages -- not everywhere
termios termios.c # Steen Lumholt's termios module
resource resource.c # Jeremy Hylton's rlimit interface
@@ -319,6 +323,16 @@ curses cursesmodule.c -lncurses -ltermcap
#dl dlmodule.c
+# Modules that provide persistent dictionary-like semantics. You will
+# probably want to arrange for at least one of them to be available on
+# your machine, though none are defined by default because of library
+# dependencies. The Python module anydbm.py provides an
+# implementation independent wrapper for these; dumbdbm.py provides
+# similar functionality (but slower of course) implemented in Python.
+
+# The standard Unix dbm module:
+
+dbm dbmmodule.c # dbm(3) may require -lndbm or similar
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
# GNU dbm(3) will require -lgdbm:
diff --git a/lang/python32/pkg-plist b/lang/python32/pkg-plist
index 6d0e697c8732..59e319457559 100644
--- a/lang/python32/pkg-plist
+++ b/lang/python32/pkg-plist
@@ -73,9 +73,6 @@ lib/python1.5/ConfigParser.pyo
lib/python1.5/MimeWriter.py
lib/python1.5/MimeWriter.pyc
lib/python1.5/MimeWriter.pyo
-lib/python1.5/Para.py
-lib/python1.5/Para.pyc
-lib/python1.5/Para.pyo
lib/python1.5/Queue.py
lib/python1.5/Queue.pyc
lib/python1.5/Queue.pyo
@@ -94,9 +91,6 @@ lib/python1.5/UserDict.pyo
lib/python1.5/UserList.py
lib/python1.5/UserList.pyc
lib/python1.5/UserList.pyo
-lib/python1.5/addpack.py
-lib/python1.5/addpack.pyc
-lib/python1.5/addpack.pyo
lib/python1.5/aifc.py
lib/python1.5/aifc.pyc
lib/python1.5/aifc.pyo
@@ -136,9 +130,6 @@ lib/python1.5/cmpcache.pyo
lib/python1.5/code.py
lib/python1.5/code.pyc
lib/python1.5/code.pyo
-lib/python1.5/codehack.py
-lib/python1.5/codehack.pyc
-lib/python1.5/codehack.pyo
lib/python1.5/colorsys.py
lib/python1.5/colorsys.pyc
lib/python1.5/colorsys.pyo
@@ -195,9 +186,6 @@ lib/python1.5/fileinput.pyo
lib/python1.5/find.py
lib/python1.5/find.pyc
lib/python1.5/find.pyo
-lib/python1.5/fmt.py
-lib/python1.5/fmt.pyc
-lib/python1.5/fmt.pyo
lib/python1.5/fnmatch.py
lib/python1.5/fnmatch.pyc
lib/python1.5/fnmatch.pyo
@@ -213,6 +201,9 @@ lib/python1.5/ftplib.pyo
lib/python1.5/getopt.py
lib/python1.5/getopt.pyc
lib/python1.5/getopt.pyo
+lib/python1.5/getpass.py
+lib/python1.5/getpass.pyc
+lib/python1.5/getpass.pyo
lib/python1.5/glob.py
lib/python1.5/glob.pyc
lib/python1.5/glob.pyo
@@ -237,6 +228,9 @@ lib/python1.5/httplib.pyo
lib/python1.5/ihooks.py
lib/python1.5/ihooks.pyc
lib/python1.5/ihooks.pyo
+lib/python1.5/imaplib.py
+lib/python1.5/imaplib.pyc
+lib/python1.5/imaplib.pyo
lib/python1.5/imghdr.py
lib/python1.5/imghdr.pyc
lib/python1.5/imghdr.pyo
@@ -387,6 +381,9 @@ lib/python1.5/lib-tk/SimpleDialog.pyo
lib/python1.5/lib-tk/Tkconstants.py
lib/python1.5/lib-tk/Tkconstants.pyc
lib/python1.5/lib-tk/Tkconstants.pyo
+lib/python1.5/lib-tk/Tkdnd.py
+lib/python1.5/lib-tk/Tkdnd.pyc
+lib/python1.5/lib-tk/Tkdnd.pyo
lib/python1.5/lib-tk/Tkinter.py
lib/python1.5/lib-tk/Tkinter.pyc
lib/python1.5/lib-tk/Tkinter.pyo
@@ -411,9 +408,6 @@ lib/python1.5/linecache.pyo
lib/python1.5/locale.py
lib/python1.5/locale.pyc
lib/python1.5/locale.pyo
-lib/python1.5/lockfile.py
-lib/python1.5/lockfile.pyc
-lib/python1.5/lockfile.pyo
lib/python1.5/macpath.py
lib/python1.5/macpath.pyc
lib/python1.5/macpath.pyo
@@ -444,12 +438,6 @@ lib/python1.5/multifile.pyo
lib/python1.5/mutex.py
lib/python1.5/mutex.pyc
lib/python1.5/mutex.pyo
-lib/python1.5/newdir.py
-lib/python1.5/newdir.pyc
-lib/python1.5/newdir.pyo
-lib/python1.5/ni1.py
-lib/python1.5/ni1.pyc
-lib/python1.5/ni1.pyo
lib/python1.5/nntplib.py
lib/python1.5/nntplib.pyc
lib/python1.5/nntplib.pyo
@@ -494,6 +482,9 @@ lib/python1.5/poly.pyo
lib/python1.5/popen2.py
lib/python1.5/popen2.pyc
lib/python1.5/popen2.pyo
+lib/python1.5/poplib.py
+lib/python1.5/poplib.pyc
+lib/python1.5/poplib.pyo
lib/python1.5/posixfile.py
lib/python1.5/posixfile.pyc
lib/python1.5/posixfile.pyo
@@ -522,18 +513,12 @@ lib/python1.5/pyclbr.pyo
lib/python1.5/quopri.py
lib/python1.5/quopri.pyc
lib/python1.5/quopri.pyo
-lib/python1.5/rand.py
-lib/python1.5/rand.pyc
-lib/python1.5/rand.pyo
lib/python1.5/random.py
lib/python1.5/random.pyc
lib/python1.5/random.pyo
lib/python1.5/re.py
lib/python1.5/re.pyc
lib/python1.5/re.pyo
-lib/python1.5/re1.py
-lib/python1.5/re1.pyc
-lib/python1.5/re1.pyo
lib/python1.5/reconvert.py
lib/python1.5/reconvert.pyc
lib/python1.5/reconvert.pyo
@@ -570,6 +555,9 @@ lib/python1.5/shutil.pyo
lib/python1.5/site.py
lib/python1.5/site.pyc
lib/python1.5/site.pyo
+lib/python1.5/smtplib.py
+lib/python1.5/smtplib.pyc
+lib/python1.5/smtplib.pyo
lib/python1.5/sndhdr.py
lib/python1.5/sndhdr.pyc
lib/python1.5/sndhdr.pyo
@@ -591,9 +579,6 @@ lib/python1.5/sunaudio.pyo
lib/python1.5/symbol.py
lib/python1.5/symbol.pyc
lib/python1.5/symbol.pyo
-lib/python1.5/tb.py
-lib/python1.5/tb.pyc
-lib/python1.5/tb.pyo
lib/python1.5/telnetlib.py
lib/python1.5/telnetlib.pyc
lib/python1.5/telnetlib.pyo
@@ -656,6 +641,7 @@ lib/python1.5/test/output/test_timing
lib/python1.5/test/output/test_tokenize
lib/python1.5/test/output/test_types
lib/python1.5/test/output/test_unpack
+lib/python1.5/test/output/test_xmllib
lib/python1.5/test/output/test_zlib
lib/python1.5/test/pystone.py
lib/python1.5/test/pystone.pyc
@@ -822,6 +808,9 @@ lib/python1.5/test/test_types.pyo
lib/python1.5/test/test_unpack.py
lib/python1.5/test/test_unpack.pyc
lib/python1.5/test/test_unpack.pyo
+lib/python1.5/test/test_xmllib.py
+lib/python1.5/test/test_xmllib.pyc
+lib/python1.5/test/test_xmllib.pyo
lib/python1.5/test/test_zlib.py
lib/python1.5/test/test_zlib.pyc
lib/python1.5/test/test_zlib.pyo
@@ -834,6 +823,12 @@ lib/python1.5/test/testrgb.uue
lib/python1.5/test/tokenize_tests.py
lib/python1.5/test/tokenize_tests.pyc
lib/python1.5/test/tokenize_tests.pyo
+lib/python1.5/threading.py
+lib/python1.5/threading.pyc
+lib/python1.5/threading.pyo
+lib/python1.5/threading_api.py
+lib/python1.5/threading_api.pyc
+lib/python1.5/threading_api.pyo
lib/python1.5/toaiff.py
lib/python1.5/toaiff.pyc
lib/python1.5/toaiff.pyo