python-2.5.2
tested with a full ports build by naddy@ ok pvalchev@
This commit is contained in:
parent
eedfc33420
commit
f1a641c815
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2007/11/21 18:45:07 merdely Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2008/02/27 00:30:47 djm Exp $
|
||||
|
||||
VERSION= 2.5
|
||||
PATCHLEVEL= .1
|
||||
PKG_PATCHLEVEL= p7
|
||||
PATCHLEVEL= .2
|
||||
PKG_PATCHLEVEL=
|
||||
SHARED_LIBS= python2.5 0.0
|
||||
|
||||
# PSUBDIR= python/${VERSION}
|
||||
@ -14,7 +14,9 @@ PATCH_LIST= patch-* sup64-*
|
||||
CFLAGS+= -mieee
|
||||
.endif
|
||||
|
||||
AUTOCONF_VERSION= 2.61
|
||||
CONFIGURE_ARGS+= --with-cxx_main
|
||||
ALL_TARGET?= all ./Lib/plat-openbsd4
|
||||
|
||||
post-extract:
|
||||
rm -r ${WRKDIST}/Modules/expat
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (Python-2.5.1.tgz) = zKaVgo34rcPmm2N68HUi4Q==
|
||||
RMD160 (Python-2.5.1.tgz) = jjNycywia63xZeukVcWKT05IodQ=
|
||||
SHA1 (Python-2.5.1.tgz) = 0L9fi4RE6IbAfKu0smwZihNVMg4=
|
||||
SHA256 (Python-2.5.1.tgz) = H1yu6EYEnKMNmW+UA+79uZYpXEr2ZIZ+NdzF6zbk5+g=
|
||||
SIZE (Python-2.5.1.tgz) = 11060830
|
||||
MD5 (Python-2.5.2.tgz) = P3yoqobGvSdUJtY7RuB5kg==
|
||||
RMD160 (Python-2.5.2.tgz) = puLoGRBjmjYvJlry44FOe0fiEQo=
|
||||
SHA1 (Python-2.5.2.tgz) = eoNck6kErk7LLSO1GD6U07kvgwU=
|
||||
SHA256 (Python-2.5.2.tgz) = g0r+ioitr2I7Baxd1nAN1btdDVVT/HStUpNZo0luSuM=
|
||||
SIZE (Python-2.5.2.tgz) = 11583114
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-Lib_distutils_command_build_ext_py,v 1.2 2007/04/24 23:32:47 djm Exp $
|
||||
--- Lib/distutils/command/build_ext.py.orig Tue Mar 13 21:19:35 2007
|
||||
+++ Lib/distutils/command/build_ext.py Fri Apr 20 13:29:23 2007
|
||||
@@ -704,13 +704,6 @@ class build_ext (Command):
|
||||
$OpenBSD: patch-Lib_distutils_command_build_ext_py,v 1.3 2008/02/27 00:30:47 djm Exp $
|
||||
--- Lib/distutils/command/build_ext.py.orig Wed Apr 25 01:27:25 2007
|
||||
+++ Lib/distutils/command/build_ext.py Fri Feb 15 11:53:53 2008
|
||||
@@ -705,13 +705,6 @@ class build_ext (Command):
|
||||
return ext.libraries
|
||||
|
||||
else:
|
||||
|
19
lang/python/2.5/patches/patch-Lib_test_test_sys_py
Normal file
19
lang/python/2.5/patches/patch-Lib_test_test_sys_py
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-Lib_test_test_sys_py,v 1.1 2008/02/27 00:30:47 djm Exp $
|
||||
--- Lib/test/test_sys.py.orig Tue Jul 25 14:07:22 2006
|
||||
+++ Lib/test/test_sys.py Tue Feb 19 14:44:47 2008
|
||||
@@ -345,10 +345,11 @@ class SysModuleTest(unittest.TestCase):
|
||||
self.assert_(vi[3] in ("alpha", "beta", "candidate", "final"))
|
||||
self.assert_(isinstance(vi[4], int))
|
||||
|
||||
- def test_43581(self):
|
||||
- # Can't use sys.stdout, as this is a cStringIO object when
|
||||
- # the test runs under regrtest.
|
||||
- self.assert_(sys.__stdout__.encoding == sys.__stderr__.encoding)
|
||||
+ # This test is simply broken when run with a redirected stdout
|
||||
+ #def test_43581(self):
|
||||
+ # # Can't use sys.stdout, as this is a cStringIO object when
|
||||
+ # # the test runs under regrtest.
|
||||
+ # self.assert_(sys.__stdout__.encoding == sys.__stderr__.encoding)
|
||||
|
||||
def test_main():
|
||||
test.test_support.run_unittest(SysModuleTest)
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
--- Makefile.pre.in.orig Fri Dec 8 21:46:13 2006
|
||||
+++ Makefile.pre.in Mon Oct 29 22:18:11 2007
|
||||
@@ -337,6 +337,7 @@ $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRAR
|
||||
$OpenBSD: patch-Makefile_pre_in,v 1.4 2008/02/27 00:30:47 djm Exp $
|
||||
--- Makefile.pre.in.orig Thu Dec 6 07:43:57 2007
|
||||
+++ Makefile.pre.in Fri Feb 15 11:55:22 2008
|
||||
@@ -340,6 +340,7 @@ $(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRAR
|
||||
$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
|
||||
Modules/python.o \
|
||||
$(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
|
||||
@ -9,7 +9,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
|
||||
platform: $(BUILDPYTHON)
|
||||
$(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from distutils.util import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
|
||||
@@ -373,6 +374,11 @@ libpython$(VERSION).so: $(LIBRARY_OBJS)
|
||||
@@ -376,6 +377,11 @@ libpython$(VERSION).so: $(LIBRARY_OBJS)
|
||||
libpython$(VERSION).sl: $(LIBRARY_OBJS)
|
||||
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
|
||||
|
||||
@ -21,12 +21,13 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
|
||||
# minimal framework (not including the Lib directory and such) in the current
|
||||
# directory.
|
||||
@@ -650,13 +656,12 @@ bininstall: altbininstall
|
||||
@@ -658,14 +664,13 @@ bininstall: altbininstall
|
||||
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
|
||||
else true; \
|
||||
fi
|
||||
- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -sf python$(VERSION)-config python-config)
|
||||
-rm -f $(DESTDIR)$(BINDIR)/python-config
|
||||
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
|
||||
|
||||
# Install the interpreter with $(VERSION) affixed
|
||||
# This goes into $(exec_prefix)
|
||||
@ -36,7 +37,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
do \
|
||||
if test ! -d $(DESTDIR)$$i; then \
|
||||
echo "Creating directory $$i"; \
|
||||
@@ -665,14 +670,12 @@ altbininstall: $(BUILDPYTHON)
|
||||
@@ -674,14 +679,12 @@ altbininstall: $(BUILDPYTHON)
|
||||
fi; \
|
||||
done
|
||||
$(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE)
|
||||
@ -54,7 +55,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
fi; \
|
||||
else true; \
|
||||
fi
|
||||
@@ -688,7 +691,7 @@ maninstall:
|
||||
@@ -697,7 +700,7 @@ maninstall:
|
||||
fi; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/Misc/python.man \
|
||||
@ -63,7 +64,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
|
||||
# Install the library
|
||||
PLATDIR= plat-$(MACHDEP)
|
||||
@@ -716,7 +719,7 @@ LIBSUBDIRS= lib-tk site-packages test test/output test
|
||||
@@ -725,7 +728,7 @@ LIBSUBDIRS= lib-tk site-packages test test/output test
|
||||
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
|
||||
setuptools setuptools/command setuptools/tests setuptools.egg-info \
|
||||
curses $(MACHDEPS)
|
||||
@ -72,7 +73,7 @@ $OpenBSD: patch-Makefile_pre_in,v 1.3 2007/11/03 11:16:21 espie Exp $
|
||||
@for i in $(SCRIPTDIR) $(LIBDEST); \
|
||||
do \
|
||||
if test ! -d $(DESTDIR)$$i; then \
|
||||
@@ -790,8 +793,8 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
|
||||
@@ -799,8 +802,8 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
|
||||
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
|
||||
|
||||
# Create the PLATDIR source directory, if one wasn't distributed..
|
||||
|
15
lang/python/2.5/patches/patch-Modules_pyexpat_c
Normal file
15
lang/python/2.5/patches/patch-Modules_pyexpat_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-Modules_pyexpat_c,v 1.1 2008/02/27 00:30:47 djm Exp $
|
||||
--- Modules/pyexpat.c.orig Tue Feb 19 14:21:13 2008
|
||||
+++ Modules/pyexpat.c Tue Feb 19 14:21:18 2008
|
||||
@@ -473,6 +473,11 @@ call_character_handler(xmlparseobject *self, const XML
|
||||
noop_character_data_handler);
|
||||
return -1;
|
||||
}
|
||||
+ if (!have_handler(self, CharacterData)) {
|
||||
+ Py_DECREF(args);
|
||||
+ flag_error(self);
|
||||
+ return -1;
|
||||
+ }
|
||||
PyTuple_SET_ITEM(args, 0, temp);
|
||||
/* temp is now a borrowed reference; consider it unused. */
|
||||
self->in_callback = 1;
|
@ -1,16 +1,16 @@
|
||||
$OpenBSD: patch-configure_in,v 1.3 2007/04/24 23:32:47 djm Exp $
|
||||
--- configure.in.orig Mon Mar 12 21:50:51 2007
|
||||
+++ configure.in Fri Apr 20 13:29:23 2007
|
||||
$OpenBSD: patch-configure_in,v 1.4 2008/02/27 00:30:47 djm Exp $
|
||||
--- configure.in.orig Thu Feb 14 06:17:17 2008
|
||||
+++ configure.in Fri Feb 15 11:57:39 2008
|
||||
@@ -201,7 +201,7 @@ case $ac_sys_system/$ac_sys_release in
|
||||
# On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined,
|
||||
# even though select is a POSIX function. Reported by J. Ribbens.
|
||||
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
|
||||
- OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@ | OpenBSD/4.@<:@0@:>@)
|
||||
+ OpenBSD*)
|
||||
define_xopen_source=no;;
|
||||
# Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
|
||||
# _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
|
||||
@@ -1509,19 +1509,7 @@ then
|
||||
+ OpenBSD*)
|
||||
define_xopen_source=no
|
||||
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
|
||||
# also defined. This can be overridden by defining _BSD_SOURCE
|
||||
@@ -1526,19 +1526,7 @@ then
|
||||
LDSHARED="ld -Bshareable ${LDFLAGS}"
|
||||
fi;;
|
||||
OpenBSD*)
|
||||
@ -31,7 +31,7 @@ $OpenBSD: patch-configure_in,v 1.3 2007/04/24 23:32:47 djm Exp $
|
||||
NetBSD*|DragonFly*) LDSHARED="cc -shared ${LDFLAGS}";;
|
||||
OpenUNIX*|UnixWare*)
|
||||
if test "$GCC" = "yes"
|
||||
@@ -1665,9 +1653,10 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-U
|
||||
@@ -1682,9 +1670,10 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-U
|
||||
|
||||
# only check for sem_ini if thread support is requested
|
||||
if test "$with_threads" = "yes" -o -z "$with_threads"; then
|
||||
|
@ -1,10 +1,42 @@
|
||||
$OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
--- setup.py.orig Wed Feb 14 05:53:41 2007
|
||||
+++ setup.py Sat Apr 28 03:49:19 2007
|
||||
@@ -592,209 +592,14 @@ class PyBuildExt(build_ext):
|
||||
$OpenBSD: patch-setup_py,v 1.4 2008/02/27 00:30:47 djm Exp $
|
||||
--- setup.py.orig Tue Feb 5 10:41:02 2008
|
||||
+++ setup.py Tue Feb 19 23:59:33 2008
|
||||
@@ -244,8 +244,8 @@ class PyBuildExt(build_ext):
|
||||
|
||||
def detect_modules(self):
|
||||
# Ensure that /usr/local is always used
|
||||
- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
|
||||
- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
|
||||
+ add_dir_to_list(self.compiler.library_dirs, '!!LOCALBASE!!/lib')
|
||||
+ add_dir_to_list(self.compiler.include_dirs, '!!LOCALBASE!!/include')
|
||||
|
||||
# Add paths specified in the environment variables LDFLAGS and
|
||||
# CPPFLAGS for header and library files.
|
||||
@@ -521,8 +521,6 @@ class PyBuildExt(build_ext):
|
||||
depends = ['socketmodule.h']) )
|
||||
# Detect SSL support for the socket module (via _ssl)
|
||||
search_for_ssl_incs_in = [
|
||||
- '/usr/local/ssl/include',
|
||||
- '/usr/contrib/ssl/include/'
|
||||
]
|
||||
ssl_incs = find_file('openssl/ssl.h', inc_dirs,
|
||||
search_for_ssl_incs_in
|
||||
@@ -533,9 +531,7 @@ class PyBuildExt(build_ext):
|
||||
if krb5_h:
|
||||
ssl_incs += krb5_h
|
||||
ssl_libs = find_library_file(self.compiler, 'ssl',lib_dirs,
|
||||
- ['/usr/local/ssl/lib',
|
||||
- '/usr/contrib/ssl/lib/'
|
||||
- ] )
|
||||
+ [ ] )
|
||||
|
||||
if (ssl_incs is not None and
|
||||
ssl_libs is not None):
|
||||
@@ -592,223 +588,15 @@ class PyBuildExt(build_ext):
|
||||
exts.append( Extension('_sha256', ['sha256module.c']) )
|
||||
exts.append( Extension('_sha512', ['sha512module.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
|
||||
@ -12,14 +44,18 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
- # implementation independent wrapper for these; dumbdbm.py provides
|
||||
- # similar functionality (but slower of course) implemented in Python.
|
||||
-
|
||||
- # Sleepycat Berkeley DB interface. http://www.sleepycat.com
|
||||
- # Sleepycat^WOracle Berkeley DB interface.
|
||||
- # http://www.oracle.com/database/berkeley-db/db/index.html
|
||||
- #
|
||||
- # This requires the Sleepycat DB code. The supported versions
|
||||
- # are set below. Visit http://www.sleepycat.com/ to download
|
||||
- # This requires the Sleepycat^WOracle DB code. The supported versions
|
||||
- # are set below. Visit the URL above to download
|
||||
- # a release. Most open source OSes come with one or more
|
||||
- # versions of BerkeleyDB already installed.
|
||||
-
|
||||
- max_db_ver = (4, 5)
|
||||
- # NOTE: while the _bsddb.c code links against BerkeleyDB 4.6.x
|
||||
- # we leave that version disabled by default as it has proven to be
|
||||
- # quite a buggy library release on many platforms.
|
||||
- min_db_ver = (3, 3)
|
||||
- db_setup_debug = False # verbose debug prints from this script?
|
||||
-
|
||||
@ -36,7 +72,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
- '/sw/include/db3',
|
||||
- ]
|
||||
- # 4.x minor number specific paths
|
||||
- for x in (0,1,2,3,4,5):
|
||||
- for x in range(max_db_ver[1]+1):
|
||||
- db_inc_paths.append('/usr/include/db4%d' % x)
|
||||
- db_inc_paths.append('/usr/include/db4.%d' % x)
|
||||
- db_inc_paths.append('/usr/local/BerkeleyDB.4.%d/include' % x)
|
||||
@ -59,7 +95,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
- for dn in inc_dirs:
|
||||
- std_variants.append(os.path.join(dn, 'db3'))
|
||||
- std_variants.append(os.path.join(dn, 'db4'))
|
||||
- for x in (0,1,2,3,4):
|
||||
- for x in range(max_db_ver[1]+1):
|
||||
- std_variants.append(os.path.join(dn, "db4%d"%x))
|
||||
- std_variants.append(os.path.join(dn, "db4.%d"%x))
|
||||
- for x in (2,3):
|
||||
@ -87,6 +123,15 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
- db_minor = int(m.group(1))
|
||||
- db_ver = (db_major, db_minor)
|
||||
-
|
||||
- # Avoid 4.6 prior to 4.6.21 due to a BerkeleyDB bug
|
||||
- if db_ver == (4, 6):
|
||||
- m = re.search(r"#define\WDB_VERSION_PATCH\W(\d+)", f)
|
||||
- db_patch = int(m.group(1))
|
||||
- if db_patch < 21:
|
||||
- print "db.h:", db_ver, "patch", db_patch,
|
||||
- print "being ignored (4.6.x must be >= 4.6.21)"
|
||||
- continue
|
||||
-
|
||||
- if ( (not db_ver_inc_map.has_key(db_ver)) and
|
||||
- (db_ver <= max_db_ver and db_ver >= min_db_ver) ):
|
||||
- # save the include directory with the db.h version
|
||||
@ -159,8 +204,8 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
+ libraries=["db"]))
|
||||
|
||||
- # The sqlite interface
|
||||
- sqlite_setup_debug = True # verbose debug prints from this script?
|
||||
-
|
||||
- sqlite_setup_debug = False # verbose debug prints from this script?
|
||||
|
||||
- # We hunt for #define SQLITE_VERSION "n.n.n"
|
||||
- # We need to find >= sqlite version 3.0.8
|
||||
- sqlite_incdir = sqlite_libdir = None
|
||||
@ -217,7 +262,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
sqlite_srcs = ['_sqlite/cache.c',
|
||||
'_sqlite/connection.c',
|
||||
'_sqlite/cursor.c',
|
||||
@@ -804,31 +609,14 @@ class PyBuildExt(build_ext):
|
||||
@@ -818,31 +606,14 @@ class PyBuildExt(build_ext):
|
||||
'_sqlite/row.c',
|
||||
'_sqlite/statement.c',
|
||||
'_sqlite/util.c', ]
|
||||
@ -253,7 +298,15 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
libraries=["sqlite3",]))
|
||||
|
||||
# Look for Berkeley db 1.85. Note that it is built as a different
|
||||
@@ -878,8 +666,7 @@ class PyBuildExt(build_ext):
|
||||
@@ -856,6 +627,7 @@ class PyBuildExt(build_ext):
|
||||
# we do not build this one. Otherwise this build will pick up
|
||||
# the more recent berkeleydb's db.h file first in the include path
|
||||
# when attempting to compile and it will fail.
|
||||
+ db_incs = []
|
||||
f = "/usr/include/db.h"
|
||||
if os.path.exists(f) and not db_incs:
|
||||
data = open(f).read()
|
||||
@@ -897,8 +669,7 @@ class PyBuildExt(build_ext):
|
||||
('DB_DBM_HSEARCH',None)],
|
||||
libraries=dblibs))
|
||||
|
||||
@ -263,7 +316,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
exts.append( Extension('gdbm', ['gdbmmodule.c'],
|
||||
libraries = ['gdbm'] ) )
|
||||
|
||||
@@ -970,53 +757,35 @@ class PyBuildExt(build_ext):
|
||||
@@ -989,53 +760,35 @@ class PyBuildExt(build_ext):
|
||||
libraries = ['z'],
|
||||
extra_link_args = zlib_extra_link_args))
|
||||
|
||||
@ -341,7 +394,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
# Hye-Shik Chang's CJKCodecs modules.
|
||||
if have_unicode:
|
||||
exts.append(Extension('_multibytecodec',
|
||||
@@ -1132,8 +901,16 @@ class PyBuildExt(build_ext):
|
||||
@@ -1151,8 +904,16 @@ class PyBuildExt(build_ext):
|
||||
|
||||
self.extensions.extend(exts)
|
||||
|
||||
@ -360,7 +413,7 @@ $OpenBSD: patch-setup_py,v 1.3 2007/04/28 10:06:25 bernd Exp $
|
||||
|
||||
def detect_tkinter_darwin(self, inc_dirs, lib_dirs):
|
||||
# The _tkinter module, using frameworks. Since frameworks are quite
|
||||
@@ -1516,8 +1293,7 @@ def main():
|
||||
@@ -1535,8 +1296,7 @@ def main():
|
||||
ext_modules=[Extension('_struct', ['_struct.c'])],
|
||||
|
||||
# Scripts to install
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.3 2007/10/21 11:41:32 steven Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2008/02/27 00:30:47 djm Exp $
|
||||
@option no-default-conflict
|
||||
@conflict python->=2.5,<2.6
|
||||
@pkgpath lang/python/2.5
|
||||
@ -131,6 +131,8 @@ lib/python2.5/SocketServer.pyo
|
||||
lib/python2.5/StringIO.py
|
||||
lib/python2.5/StringIO.pyc
|
||||
lib/python2.5/StringIO.pyo
|
||||
lib/python2.5/Tools/buildbot/buildmsi.bat
|
||||
lib/python2.5/Tools/buildbot/getchm.py
|
||||
lib/python2.5/UserDict.py
|
||||
lib/python2.5/UserDict.pyc
|
||||
lib/python2.5/UserDict.pyo
|
||||
@ -371,6 +373,9 @@ lib/python2.5/copy_reg.pyo
|
||||
lib/python2.5/csv.py
|
||||
lib/python2.5/csv.pyc
|
||||
lib/python2.5/csv.pyo
|
||||
lib/python2.5/ctypes/test/test_delattr.py
|
||||
lib/python2.5/ctypes/test/test_delattr.pyc
|
||||
lib/python2.5/ctypes/test/test_delattr.pyo
|
||||
lib/python2.5/curses/
|
||||
lib/python2.5/curses/__init__.py
|
||||
lib/python2.5/curses/__init__.pyc
|
||||
@ -1365,7 +1370,7 @@ lib/python2.5/keyword.py
|
||||
lib/python2.5/keyword.pyc
|
||||
lib/python2.5/keyword.pyo
|
||||
lib/python2.5/lib-dynload/
|
||||
lib/python2.5/lib-dynload/Python-2.5.1-py2.5.egg-info
|
||||
lib/python2.5/lib-dynload/Python-2.5.2-py2.5.egg-info
|
||||
lib/python2.5/lib-dynload/_bisect.so
|
||||
lib/python2.5/lib-dynload/_codecs_cn.so
|
||||
lib/python2.5/lib-dynload/_codecs_hk.so
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-tests,v 1.2 2007/10/21 11:41:32 steven Exp $
|
||||
@comment $OpenBSD: PLIST-tests,v 1.3 2008/02/27 00:30:47 djm Exp $
|
||||
@option no-default-conflict
|
||||
@conflict python-tests->=2.5,<2.6
|
||||
lib/python2.5/test/
|
||||
@ -29,34 +29,147 @@ lib/python2.5/test/cjkencodings_test.pyo
|
||||
lib/python2.5/test/decimaltestdata/
|
||||
lib/python2.5/test/decimaltestdata/abs.decTest
|
||||
lib/python2.5/test/decimaltestdata/add.decTest
|
||||
lib/python2.5/test/decimaltestdata/and.decTest
|
||||
lib/python2.5/test/decimaltestdata/base.decTest
|
||||
lib/python2.5/test/decimaltestdata/clamp.decTest
|
||||
lib/python2.5/test/decimaltestdata/class.decTest
|
||||
lib/python2.5/test/decimaltestdata/compare.decTest
|
||||
lib/python2.5/test/decimaltestdata/decimal128.decTest
|
||||
lib/python2.5/test/decimaltestdata/decimal32.decTest
|
||||
lib/python2.5/test/decimaltestdata/decimal64.decTest
|
||||
lib/python2.5/test/decimaltestdata/comparetotal.decTest
|
||||
lib/python2.5/test/decimaltestdata/comparetotmag.decTest
|
||||
lib/python2.5/test/decimaltestdata/copy.decTest
|
||||
lib/python2.5/test/decimaltestdata/copyabs.decTest
|
||||
lib/python2.5/test/decimaltestdata/copynegate.decTest
|
||||
lib/python2.5/test/decimaltestdata/copysign.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddAbs.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddAdd.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddAnd.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddBase.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCanonical.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddClass.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCompare.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCompareSig.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCompareTotal.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCompareTotalMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCopy.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCopyAbs.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCopyNegate.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddCopySign.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddDivide.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddDivideInt.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddEncode.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddFMA.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddInvert.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddLogB.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMax.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMaxMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMin.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMinMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMinus.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddMultiply.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddNextMinus.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddNextPlus.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddNextToward.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddOr.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddPlus.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddQuantize.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddReduce.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddRemainder.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddRemainderNear.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddRotate.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddSameQuantum.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddScaleB.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddShift.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddSubtract.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddToIntegral.decTest
|
||||
lib/python2.5/test/decimaltestdata/ddXor.decTest
|
||||
lib/python2.5/test/decimaltestdata/decDouble.decTest
|
||||
lib/python2.5/test/decimaltestdata/decQuad.decTest
|
||||
lib/python2.5/test/decimaltestdata/decSingle.decTest
|
||||
lib/python2.5/test/decimaltestdata/divide.decTest
|
||||
lib/python2.5/test/decimaltestdata/divideint.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqAbs.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqAdd.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqAnd.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqBase.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCanonical.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqClass.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCompare.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCompareSig.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCompareTotal.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCompareTotalMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCopy.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCopyAbs.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCopyNegate.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqCopySign.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqDivide.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqDivideInt.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqEncode.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqFMA.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqInvert.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqLogB.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMax.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMaxMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMin.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMinMag.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMinus.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqMultiply.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqNextMinus.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqNextPlus.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqNextToward.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqOr.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqPlus.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqQuantize.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqReduce.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqRemainder.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqRemainderNear.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqRotate.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqSameQuantum.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqScaleB.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqShift.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqSubtract.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqToIntegral.decTest
|
||||
lib/python2.5/test/decimaltestdata/dqXor.decTest
|
||||
lib/python2.5/test/decimaltestdata/dsBase.decTest
|
||||
lib/python2.5/test/decimaltestdata/dsEncode.decTest
|
||||
lib/python2.5/test/decimaltestdata/exp.decTest
|
||||
lib/python2.5/test/decimaltestdata/extra.decTest
|
||||
lib/python2.5/test/decimaltestdata/fma.decTest
|
||||
lib/python2.5/test/decimaltestdata/inexact.decTest
|
||||
lib/python2.5/test/decimaltestdata/invert.decTest
|
||||
lib/python2.5/test/decimaltestdata/ln.decTest
|
||||
lib/python2.5/test/decimaltestdata/log10.decTest
|
||||
lib/python2.5/test/decimaltestdata/logb.decTest
|
||||
lib/python2.5/test/decimaltestdata/max.decTest
|
||||
lib/python2.5/test/decimaltestdata/maxmag.decTest
|
||||
lib/python2.5/test/decimaltestdata/min.decTest
|
||||
lib/python2.5/test/decimaltestdata/minmag.decTest
|
||||
lib/python2.5/test/decimaltestdata/minus.decTest
|
||||
lib/python2.5/test/decimaltestdata/multiply.decTest
|
||||
lib/python2.5/test/decimaltestdata/normalize.decTest
|
||||
lib/python2.5/test/decimaltestdata/nextminus.decTest
|
||||
lib/python2.5/test/decimaltestdata/nextplus.decTest
|
||||
lib/python2.5/test/decimaltestdata/nexttoward.decTest
|
||||
lib/python2.5/test/decimaltestdata/or.decTest
|
||||
lib/python2.5/test/decimaltestdata/plus.decTest
|
||||
lib/python2.5/test/decimaltestdata/power.decTest
|
||||
lib/python2.5/test/decimaltestdata/powersqrt.decTest
|
||||
lib/python2.5/test/decimaltestdata/quantize.decTest
|
||||
lib/python2.5/test/decimaltestdata/randomBound32.decTest
|
||||
lib/python2.5/test/decimaltestdata/randoms.decTest
|
||||
lib/python2.5/test/decimaltestdata/reduce.decTest
|
||||
lib/python2.5/test/decimaltestdata/remainder.decTest
|
||||
lib/python2.5/test/decimaltestdata/remainderNear.decTest
|
||||
lib/python2.5/test/decimaltestdata/rescale.decTest
|
||||
lib/python2.5/test/decimaltestdata/rotate.decTest
|
||||
lib/python2.5/test/decimaltestdata/rounding.decTest
|
||||
lib/python2.5/test/decimaltestdata/samequantum.decTest
|
||||
lib/python2.5/test/decimaltestdata/scaleb.decTest
|
||||
lib/python2.5/test/decimaltestdata/shift.decTest
|
||||
lib/python2.5/test/decimaltestdata/squareroot.decTest
|
||||
lib/python2.5/test/decimaltestdata/subtract.decTest
|
||||
lib/python2.5/test/decimaltestdata/testall.decTest
|
||||
lib/python2.5/test/decimaltestdata/tointegral.decTest
|
||||
lib/python2.5/test/decimaltestdata/tointegralx.decTest
|
||||
lib/python2.5/test/decimaltestdata/xor.decTest
|
||||
lib/python2.5/test/doctest_aliases.py
|
||||
lib/python2.5/test/doctest_aliases.pyc
|
||||
lib/python2.5/test/doctest_aliases.pyo
|
||||
@ -1060,6 +1173,9 @@ lib/python2.5/test/test_urllib.pyo
|
||||
lib/python2.5/test/test_urllib2.py
|
||||
lib/python2.5/test/test_urllib2.pyc
|
||||
lib/python2.5/test/test_urllib2.pyo
|
||||
lib/python2.5/test/test_urllib2_localnet.py
|
||||
lib/python2.5/test/test_urllib2_localnet.pyc
|
||||
lib/python2.5/test/test_urllib2_localnet.pyo
|
||||
lib/python2.5/test/test_urllib2net.py
|
||||
lib/python2.5/test/test_urllib2net.pyc
|
||||
lib/python2.5/test/test_urllib2net.pyo
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.53 2008/01/04 17:48:36 espie Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.54 2008/02/27 00:30:47 djm Exp $
|
||||
|
||||
# IMPORTANT! If you make any changes to the Python ports, be sure
|
||||
# to also update files/CHANGES.OpenBSD for your change. This is a
|
||||
@ -24,7 +24,7 @@ DISTNAME= Python-${VERSION}${PATCHLEVEL}
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= http://www.python.org/ftp/${PSUBDIR}/ \
|
||||
http://python.mirrors.pair.com/pub/${PSUBDIR}/
|
||||
PSUBDIR= python/${VERSION}${PATCHLEVEL}
|
||||
PSUBDIR?= python/${VERSION}${PATCHLEVEL}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
HOMEPAGE= http://www.python.org/
|
||||
@ -169,7 +169,7 @@ MAKE_FLAGS+= LDLIBRARY=libpython${VERSION}.so.${LIBpython${VERSION}_VERSION} \
|
||||
LD_LIBRARY_PATH=${WRKSRC} PATH="${WRKDIST}:${PORTPATH}"
|
||||
FAKE_FLAGS+= RANLIB=:
|
||||
|
||||
ALL_TARGET= all ${WRKSRC}/Lib/plat-openbsd4
|
||||
ALL_TARGET?= all ${WRKSRC}/Lib/plat-openbsd4
|
||||
|
||||
post-configure:
|
||||
@cd ${WRKSRC} && ${MAKE_PROGRAM} Makefile
|
||||
|
Loading…
x
Reference in New Issue
Block a user