Import Python 2.7.1.

Thanks a lot to landry@, fgsch@ for feedback.
Need tests before doing this version the default.
This commit is contained in:
rpointel 2011-04-24 09:31:44 +00:00
parent c25fe689b1
commit eaa3c34823
47 changed files with 5512 additions and 0 deletions

11
lang/python/2.7/Makefile Normal file
View File

@ -0,0 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
VERSION = 2.7
PATCHLEVEL = .1
SHARED_LIBS = python2.7 0.0
AUTOCONF_VERSION = 2.65
CONFIGURE_ARGS += --with-cxx_main \
--with-system-expat
.include <bsd.port.mk>

5
lang/python/2.7/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (Python-2.7.1.tgz) = Fe1WczZV4/q3heSacnjS+w==
RMD160 (Python-2.7.1.tgz) = CTxJp5LXVfUXPbsE6Vljnz6eYWs=
SHA1 (Python-2.7.1.tgz) = 3WuRDEeRKnxdjyO3/ArIv4Rl65I=
SHA256 (Python-2.7.1.tgz) = yhPnsYYIIUlPcN4BcgIoOtc7H7e9iFhkAcVO+Vgibsg=
SIZE (Python-2.7.1.tgz) = 14058131

View File

@ -0,0 +1,21 @@
$OpenBSD: CHANGES.OpenBSD,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
As required by item 3 of the PSF license, here is a brief summary
of changes made to this version of Python for the OpenBSD package.
1. tempfile.py was patched to not try /usr/tmp as a possible
tempfile directory.
2. libpython is created as a shared library, and the pthread stack
size was doubled to support this with complex applications such
as Zope.
3. OpenBSD threads are used for threading support.
4. Regression tests have been taught about OpenBSD.
5. Support for MIPS64 and MIPS64EL systems has been enabled for the
_ctypes Module.
These changes are available in the OpenBSD CVS repository
<http://www.openbsd.org/anoncvs.html> in ports/lang/python.

4
lang/python/2.7/files/idle Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# $OpenBSD: idle,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
/usr/bin/env python@VERSION@ @LOCALBASE@/lib/python@VERSION@/idlelib/idle.py

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-Lib_distutils_command_build_ext_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/distutils/command/build_ext.py.orig Fri Sep 10 22:03:17 2010
+++ Lib/distutils/command/build_ext.py Sun Mar 27 18:00:54 2011
@@ -757,13 +757,6 @@
# Don't use the default code below
return ext.libraries
else:
- from distutils import sysconfig
- if sysconfig.get_config_var('Py_ENABLE_SHARED'):
- template = "python%d.%d"
- pythonlib = (template %
- (sys.hexversion >> 24, (sys.hexversion >> 16) & 0xff))
- return ext.libraries + [pythonlib]
- else:
- return ext.libraries
+ return ext.libraries
# class build_ext

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Lib_tempfile_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/tempfile.py.orig Wed Jul 1 15:34:35 2009
+++ Lib/tempfile.py Sun Mar 27 18:02:47 2011
@@ -155,7 +155,7 @@
elif _os.name == 'nt':
dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
else:
- dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])
+ dirlist.extend([ '/tmp', '/var/tmp' ])
# As a last resort, the current directory.
try:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Lib_test_regrtest_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/test/regrtest.py.orig Sun Oct 31 14:17:46 2010
+++ Lib/test/regrtest.py Sun Mar 27 18:05:35 2011
@@ -1433,6 +1433,8 @@
_expectations['freebsd7'] = _expectations['freebsd4']
_expectations['freebsd8'] = _expectations['freebsd4']
+_expectations['openbsd4'] = _expectations['openbsd3']
+
class _ExpectedSkips:
def __init__(self):
import os.path

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-Lib_test_test_dl_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/test/test_dl.py.orig Sun Mar 27 18:06:50 2011
+++ Lib/test/test_dl.py Sun Mar 27 18:10:55 2011
@@ -6,11 +6,21 @@
from test.test_support import verbose, import_module
dl = import_module('dl', deprecated=True)
+import dircache
+libcNames = []
+libcName = ''
+for file in dircache.listdir('/usr/lib/'):
+ if '/libc.so.' in file:
+ libcNames.append(file)
+# Pick the most recent (highest number) libc
+if len(libcNames) > 0:
+ libcName = sorted(libcNames)[-1]
+if not libcName:
+ raise TestSkipped
+
+
sharedlibs = [
- ('/usr/lib/libc.so', 'getpid'),
- ('/lib/libc.so.6', 'getpid'),
- ('/usr/bin/cygwin1.dll', 'getpid'),
- ('/usr/lib/libc.dylib', 'getpid'),
+ (libcName, 'getpid'),
]
def test_main():

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Lib_test_test_kqueue_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/test/test_kqueue.py.orig Sun Nov 21 14:34:58 2010
+++ Lib/test/test_kqueue.py Sun Mar 27 18:13:43 2011
@@ -96,7 +96,8 @@
pass # FreeBSD doesn't raise an exception here
server, addr = serverSocket.accept()
- if sys.platform.startswith("darwin"):
+ if sys.platform.startswith("darwin") or \
+ sys.platform.startswith("openbsd"):
flags = select.KQ_EV_ADD | select.KQ_EV_ENABLE
else:
flags = 0

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-Lib_test_test_signal_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
workarounds for breakage caused by libpthread
--- Lib/test/test_signal.py.orig Sun Nov 21 14:34:58 2010
+++ Lib/test/test_signal.py Sun Mar 27 20:21:27 2011
@@ -367,6 +367,12 @@
a false value for the second argument, when that signal arrives, it
does not interrupt a syscall that's in progress.
"""
+ if sys.platform.startswith('openbsd'):
+ if test_support.verbose:
+ sys.stderr.write('skipping -- siginterrupt not reliable (does '
+ 'not mix well with threading) on %s\n' %
+ sys.platform)
+ return
signal.siginterrupt(self.signum, 0)
i = self.readpipe_interrupted()
self.assertFalse(i)
@@ -461,8 +467,8 @@
self.assertEqual(self.hndl_called, True)
# Issue 3864. Unknown if this affects earlier versions of freebsd also.
- @unittest.skipIf(sys.platform=='freebsd6',
- 'itimer not reliable (does not mix well with threading) on freebsd6')
+ @unittest.skipIf(sys.platform=='freebsd6' or sys.platform.startswith('openbsd'),
+ 'itimer not reliable (does not mix well with threading) on %s\n' % sys.platform)
def test_itimer_prof(self):
self.itimer = signal.ITIMER_PROF
signal.signal(signal.SIGPROF, self.sig_prof)

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-Lib_test_test_sys_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/test/test_sys.py.orig Sun Nov 21 14:34:58 2010
+++ Lib/test/test_sys.py Mon Mar 28 11:31:21 2011
@@ -416,10 +416,11 @@
self.assertIsInstance(sys.float_repr_style, str)
self.assertIn(sys.float_repr_style, ('short', 'legacy'))
- def test_43581(self):
- # Can't use sys.stdout, as this is a cStringIO object when
- # the test runs under regrtest.
- self.assertTrue(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.assertTrue(sys.__stdout__.encoding == sys.__stderr__.encoding)
def test_sys_flags(self):
self.assertTrue(sys.flags)

View File

@ -0,0 +1,33 @@
$OpenBSD: patch-Lib_test_test_urllib2_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
# test fix for CVE-2011-1521: http://hg.python.org/cpython/rev/a778b963eae3
--- Lib/test/test_urllib2.py.orig Mon Nov 22 06:04:33 2010
+++ Lib/test/test_urllib2.py Sat Apr 23 14:10:32 2011
@@ -969,6 +969,28 @@
self.assertEqual(count,
urllib2.HTTPRedirectHandler.max_redirections)
+ def test_invalid_redirect(self):
+ from_url = "http://example.com/a.html"
+ valid_schemes = ['http', 'https', 'ftp']
+ invalid_schemes = ['file', 'imap', 'ldap']
+ schemeless_url = "example.com/b.html"
+ h = urllib2.HTTPRedirectHandler()
+ o = h.parent = MockOpener()
+ req = Request(from_url)
+ req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
+
+ for scheme in invalid_schemes:
+ invalid_url = scheme + '://' + schemeless_url
+ self.assertRaises(urllib2.HTTPError, h.http_error_302,
+ req, MockFile(), 302, "Security Loophole",
+ MockHeaders({"location": invalid_url}))
+
+ for scheme in valid_schemes:
+ valid_url = scheme + '://' + schemeless_url
+ h.http_error_302(req, MockFile(), 302, "That's fine",
+ MockHeaders({"location": valid_url}))
+ self.assertEqual(o.req.get_full_url(), valid_url)
+
def test_cookie_redirect(self):
# cookies shouldn't leak into redirected requests
from cookielib import CookieJar

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-Lib_test_test_urllib_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
# test fix for CVE-2011-1521: http://hg.python.org/cpython/rev/a778b963eae3
--- Lib/test/test_urllib.py.orig Sun Nov 21 14:34:58 2010
+++ Lib/test/test_urllib.py Sat Apr 23 14:10:32 2011
@@ -161,6 +161,20 @@ Content-Type: text/html; charset=iso-885
finally:
self.unfakehttp()
+ def test_invalid_redirect(self):
+ # urlopen() should raise IOError for many error codes.
+ self.fakehttp("""HTTP/1.1 302 Found
+Date: Wed, 02 Jan 2008 03:03:54 GMT
+Server: Apache/1.3.33 (Debian GNU/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e
+Location: file:README
+Connection: close
+Content-Type: text/html; charset=iso-8859-1
+""")
+ try:
+ self.assertRaises(IOError, urllib.urlopen, "http://python.org/")
+ finally:
+ self.unfakehttp()
+
def test_empty_socket(self):
# urlopen() raises IOError if the underlying socket does not send any
# data. (#1680230)

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-Lib_urllib2_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
# fix for CVE-2011-1521: http://hg.python.org/cpython/rev/a778b963eae3
--- Lib/urllib2.py.orig Sat Apr 23 15:02:11 2011
+++ Lib/urllib2.py Sat Apr 23 15:09:17 2011
@@ -578,6 +578,17 @@ class HTTPRedirectHandler(BaseHandler):
newurl = urlparse.urljoin(req.get_full_url(), newurl)
+ # For security reasons we do not allow redirects to protocols
+ # other than HTTP, HTTPS or FTP.
+ newurl_lower = newurl.lower()
+ if not (newurl_lower.startswith('http://') or
+ newurl_lower.startswith('https://') or
+ newurl_lower.startswith('ftp://')):
+ raise HTTPError(newurl, code,
+ msg + " - Redirection to url '%s' is not allowed" %
+ newurl,
+ headers, fp)
+
# XXX Probably want to forget about the state of the current
# request, although that might interact poorly with other
# handlers that also use handler-specific request attributes

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-Lib_urllib_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
# fix for CVE-2011-1521: http://hg.python.org/cpython/rev/a778b963eae3
--- Lib/urllib.py.orig Sat Apr 23 15:02:11 2011
+++ Lib/urllib.py Sat Apr 23 15:09:17 2011
@@ -644,6 +644,18 @@ class FancyURLopener(URLopener):
fp.close()
# In case the server sent a relative URL, join with original:
newurl = basejoin(self.type + ":" + url, newurl)
+
+ # For security reasons we do not allow redirects to protocols
+ # other than HTTP, HTTPS or FTP.
+ newurl_lower = newurl.lower()
+ if not (newurl_lower.startswith('http://') or
+ newurl_lower.startswith('https://') or
+ newurl_lower.startswith('ftp://')):
+ raise IOError('redirect error', errcode,
+ errmsg + " - Redirection to url '%s' is not allowed" %
+ newurl,
+ headers)
+
return self.open(newurl)
def http_error_301(self, url, fp, errcode, errmsg, headers, data=None):

View File

@ -0,0 +1,73 @@
$OpenBSD: patch-Makefile_pre_in,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Makefile.pre.in.orig Thu Oct 14 13:37:30 2010
+++ Makefile.pre.in Mon Apr 11 22:39:56 2011
@@ -360,6 +360,8 @@
#########################################################################
# Rules
+everything: all $(srcdir)/Lib/$(PLATDIR)
+
# Default target
all: build_all
build_all: $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks
@@ -395,7 +397,7 @@
$(BUILDPYTHON): Modules/python.o $(LIBRARY) $(LDLIBRARY)
$(LINKCC) $(LDFLAGS) $(LINKFORSHARED) -o $@ \
Modules/python.o \
- $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
+ -lpython$(VERSION) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
platform: $(BUILDPYTHON)
$(RUNSHARED) ./$(BUILDPYTHON) -E -c 'import sys ; from sysconfig import get_platform ; print get_platform()+"-"+sys.version[0:3]' >platform
@@ -444,8 +446,12 @@
SRC_GDB_HOOKS=$(srcdir)/Tools/gdb/libpython.py
$(BUILDPYTHON)-gdb.py: $(SRC_GDB_HOOKS)
- $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
+ cp $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py
+# This rule for OpenBSD...
+$(LDLIBRARY): $(LIBRARY)
+ $(LDSHARED) -o $@ $(LIBRARY_OBJS)
+
# 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.
@@ -787,7 +793,6 @@
then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
else true; \
fi
- (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
-rm -f $(DESTDIR)$(BINDIR)/python-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
-test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
@@ -797,7 +802,7 @@
# Install the interpreter with $(VERSION) affixed
# This goes into $(exec_prefix)
altbininstall: $(BUILDPYTHON)
- @for i in $(BINDIR) $(LIBDIR); \
+ @for i in $(BINDIR) $(LIBDIR) $(LIBPL); \
do \
if test ! -d $(DESTDIR)$$i; then \
echo "Creating directory $$i"; \
@@ -813,7 +818,8 @@
$(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
if test $(LDLIBRARY) != $(INSTSONAME); then \
(cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
- fi \
+ fi ; \
+ (cd $(DESTDIR)$(LIBPL); $(LN) -sf $(LIBDIR)/$(LDLIBRARY)) \
fi; \
else true; \
fi
@@ -942,8 +948,8 @@
./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
# Create the PLATDIR source directory, if one wasn't distributed..
-$(srcdir)/Lib/$(PLATDIR):
- mkdir $(srcdir)/Lib/$(PLATDIR)
+$(srcdir)/Lib/$(PLATDIR): $(BUILDPYTHON)
+ mkdir -p $(srcdir)/Lib/$(PLATDIR)
cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
export PATH; PATH="`pwd`:$$PATH"; \
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Modules__ctypes_libffi_configure,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/_ctypes/libffi/configure.orig Fri Mar 19 19:59:20 2010
+++ Modules/_ctypes/libffi/configure Mon Mar 28 11:24:47 2011
@@ -11254,7 +11254,7 @@
mips-sgi-irix5.* | mips-sgi-irix6.*)
TARGET=MIPS_IRIX; TARGETDIR=mips
;;
- mips*-*-linux*)
+ mips*-*-linux* | mips*-*-openbsd*)
# Support 128-bit long double for NewABI.
HAVE_LONG_DOUBLE='defined(__mips64)'
TARGET=MIPS_IRIX; TARGETDIR=mips

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-Modules__ctypes_libffi_src_mips_ffi_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
Allow building this on OpenBSD, where we don't provide the ICACHE related
defines in cachectl.h, but in sysarch.h
--- Modules/_ctypes/libffi/src/mips/ffi.c.orig Tue Feb 23 20:12:37 2010
+++ Modules/_ctypes/libffi/src/mips/ffi.c Tue Feb 23 20:13:38 2010
@@ -37,7 +37,11 @@
#endif
#ifndef USE__BUILTIN___CLEAR_CACHE
-#include <sys/cachectl.h>
+#if defined(__OpenBSD__)
+# include <mips64/sysarch.h>
+#else
+# include <sys/cachectl.h>
+#endif
#endif
#ifdef FFI_DEBUG

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-Modules_makesetup,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/makesetup.orig Fri Mar 29 19:00:19 2002
+++ Modules/makesetup Thu Oct 19 03:59:06 2006
@@ -164,6 +164,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
-rpath) libs="$libs $arg"; skip=libs;;
--rpath) libs="$libs $arg"; skip=libs;;
-[A-Zl]*) libs="$libs $arg";;
+ -pthread*) libs="$libs $arg";;
*.a) libs="$libs $arg";;
*.so) libs="$libs $arg";;
*.sl) libs="$libs $arg";;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Modules_mathmodule_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/mathmodule.c.orig Fri Jun 25 21:21:43 2010
+++ Modules/mathmodule.c Mon Aug 30 13:52:05 2010
@@ -235,7 +235,7 @@ math_1(PyObject *arg, double (*func) (double), int can
else
errno = 0;
}
- else if (Py_IS_INFINITY(r)) {
+ else if (errno != EDOM && Py_IS_INFINITY(r)) {
if (Py_IS_FINITE(x))
errno = can_overflow ? ERANGE : EDOM;
else

View File

@ -0,0 +1,82 @@
$OpenBSD: patch-Modules_ossaudiodev_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/ossaudiodev.c.orig Mon Jun 9 14:58:54 2008
+++ Modules/ossaudiodev.c Mon Aug 25 08:48:37 2008
@@ -30,7 +30,7 @@
#endif
#include <sys/ioctl.h>
-#include <sys/soundcard.h>
+#include <soundcard.h>
#if defined(linux)
@@ -1040,6 +1040,7 @@ initossaudiodev(void)
/* Expose all the ioctl numbers for masochists who like to do this
stuff directly. */
+#ifdef SNDCTL_COPR_HALT
_EXPORT_INT(m, SNDCTL_COPR_HALT);
_EXPORT_INT(m, SNDCTL_COPR_LOAD);
_EXPORT_INT(m, SNDCTL_COPR_RCODE);
@@ -1050,6 +1051,7 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_COPR_SENDMSG);
_EXPORT_INT(m, SNDCTL_COPR_WCODE);
_EXPORT_INT(m, SNDCTL_COPR_WDATA);
+#endif
#ifdef SNDCTL_DSP_BIND_CHANNEL
_EXPORT_INT(m, SNDCTL_DSP_BIND_CHANNEL);
#endif
@@ -1092,18 +1094,25 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_DSP_STEREO);
_EXPORT_INT(m, SNDCTL_DSP_SUBDIVIDE);
_EXPORT_INT(m, SNDCTL_DSP_SYNC);
+#ifdef SNDCTL_FM_4OP_ENABLE
_EXPORT_INT(m, SNDCTL_FM_4OP_ENABLE);
_EXPORT_INT(m, SNDCTL_FM_LOAD_INSTR);
+#endif
+#ifdef SNDCTL_MIDI_INFO
_EXPORT_INT(m, SNDCTL_MIDI_INFO);
_EXPORT_INT(m, SNDCTL_MIDI_MPUCMD);
_EXPORT_INT(m, SNDCTL_MIDI_MPUMODE);
_EXPORT_INT(m, SNDCTL_MIDI_PRETIME);
+#endif
+#ifdef SNDCTL_SEQ_CTRLRATE
_EXPORT_INT(m, SNDCTL_SEQ_CTRLRATE);
_EXPORT_INT(m, SNDCTL_SEQ_GETINCOUNT);
_EXPORT_INT(m, SNDCTL_SEQ_GETOUTCOUNT);
+#endif
#ifdef SNDCTL_SEQ_GETTIME
_EXPORT_INT(m, SNDCTL_SEQ_GETTIME);
#endif
+#ifdef SNDCTL_SEQ_NRMIDIS
_EXPORT_INT(m, SNDCTL_SEQ_NRMIDIS);
_EXPORT_INT(m, SNDCTL_SEQ_NRSYNTHS);
_EXPORT_INT(m, SNDCTL_SEQ_OUTOFBAND);
@@ -1114,17 +1123,21 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_SEQ_SYNC);
_EXPORT_INT(m, SNDCTL_SEQ_TESTMIDI);
_EXPORT_INT(m, SNDCTL_SEQ_THRESHOLD);
+#endif
#ifdef SNDCTL_SYNTH_CONTROL
_EXPORT_INT(m, SNDCTL_SYNTH_CONTROL);
#endif
#ifdef SNDCTL_SYNTH_ID
_EXPORT_INT(m, SNDCTL_SYNTH_ID);
#endif
+#ifdef SNDCTL_SYNTH_INFO
_EXPORT_INT(m, SNDCTL_SYNTH_INFO);
_EXPORT_INT(m, SNDCTL_SYNTH_MEMAVL);
+#endif
#ifdef SNDCTL_SYNTH_REMOVESAMPLE
_EXPORT_INT(m, SNDCTL_SYNTH_REMOVESAMPLE);
#endif
+#ifdef SNDCTL_TMR_CONTINUE
_EXPORT_INT(m, SNDCTL_TMR_CONTINUE);
_EXPORT_INT(m, SNDCTL_TMR_METRONOME);
_EXPORT_INT(m, SNDCTL_TMR_SELECT);
@@ -1133,4 +1146,5 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_TMR_STOP);
_EXPORT_INT(m, SNDCTL_TMR_TEMPO);
_EXPORT_INT(m, SNDCTL_TMR_TIMEBASE);
+#endif
}

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Modules_pyexpat_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel 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;

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-Modules_socketmodule_c,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Modules/socketmodule.c.orig Thu Feb 4 20:26:34 2010
+++ Modules/socketmodule.c Thu Jun 17 13:04:44 2010
@@ -93,9 +93,6 @@ Local naming conventions:
#include "Python.h"
#include "structmember.h"
-#undef MAX
-#define MAX(x, y) ((x) < (y) ? (y) : (x))
-
/* Socket object documentation */
PyDoc_STRVAR(sock_doc,
"socket([family[, type[, proto]]]) -> socket object\n\

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-Tools_scripts_pydoc,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Tools/scripts/pydoc.orig Tue Aug 10 03:27:55 2004
+++ Tools/scripts/pydoc Mon Sep 18 06:31:10 2006
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.7
import pydoc
if __name__ == '__main__':

View File

@ -0,0 +1,47 @@
$OpenBSD: patch-configure_in,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- configure.in.orig Mon Nov 1 02:47:19 2010
+++ configure.in Mon Mar 28 11:53:19 2011
@@ -1850,7 +1850,7 @@
BSD/OS*/4*)
LDSHARED="gcc -shared"
LDCXXSHARED="g++ -shared";;
- FreeBSD*)
+ FreeBSD*|OpenBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
LDSHARED='$(CC) -shared ${LDFLAGS}'
@@ -1858,22 +1858,6 @@
else
LDSHARED="ld -Bshareable ${LDFLAGS}"
fi;;
- OpenBSD*)
- if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
- then
- LDSHARED='$(CC) -shared $(CCSHARED) ${LDFLAGS}'
- LDCXXSHARED='$(CXX) -shared $(CCSHARED) ${LDFLAGS}'
- else
- case `uname -r` in
- [[01]].* | 2.[[0-7]] | 2.[[0-7]].*)
- LDSHARED="ld -Bshareable ${LDFLAGS}"
- ;;
- *)
- LDSHARED='$(CC) -shared $(CCSHARED) ${LDFLAGS}'
- LDCXXSHARED='$(CXX) -shared $(CCSHARED) ${LDFLAGS}'
- ;;
- esac
- fi;;
NetBSD*|DragonFly*)
LDSHARED="cc -shared ${LDFLAGS}"
LDCXXSHARED="c++ -shared ${LDFLAGS}";;
@@ -2035,9 +2019,10 @@
# only check for sem_init if thread support is requested
if test "$with_threads" = "yes" -o -z "$with_threads"; then
- AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
+# AC_SEARCH_LIBS(sem_init, pthread rt posix4) # 'Real Time' functions on Solaris
# posix4 on Solaris 2.6
# pthread (first!) on Linux
+ LIBS="-pthread $(LIBS)"
fi
# check if we need libintl for locale functions

View File

@ -0,0 +1,176 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- setup.py.orig Sun Oct 31 17:40:21 2010
+++ setup.py Sat Apr 23 13:48:23 2011
@@ -23,6 +23,11 @@
# This global variable is used to hold the list of modules to be disabled.
disabled_module_list = []
+def usrlocal(p):
+ return os.path.join(os.environ['LOCALBASE'], p)
+def usrx11r6(p):
+ return os.path.join(os.environ['X11BASE'], p)
+
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
1) 'dir' is not already in 'dirlist'
@@ -347,8 +352,8 @@
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, usrlocal('lib'))
+ add_dir_to_list(self.compiler.include_dirs, usrlocal('include'))
# Add paths specified in the environment variables LDFLAGS and
# CPPFLAGS for header and library files.
@@ -680,8 +685,6 @@
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
@@ -692,9 +695,7 @@
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):
@@ -793,7 +794,7 @@
# BerkeleyDB 4.6.x is not stable on many architectures.
arch = platform_machine()
if arch not in ('i386', 'i486', 'i586', 'i686',
- 'x86_64', 'ia64'):
+ 'x86_64', 'amd64', 'ia64'):
return False
return True
@@ -856,6 +857,7 @@
std_variants.append(os.path.join(dn, "db3.%d"%x))
db_inc_paths = std_variants + db_inc_paths
+ db_inc_paths = [ usrlocal('include/db4') ]
db_inc_paths = [p for p in db_inc_paths if os.path.exists(p)]
db_ver_inc_map = {}
@@ -919,6 +921,7 @@
db_incdir.replace("include", 'lib64'),
db_incdir.replace("include", 'lib'),
]
+ db_dirs_to_check = [usrlocal('lib/db4')]
if sys.platform != 'darwin':
db_dirs_to_check = filter(os.path.isdir, db_dirs_to_check)
@@ -941,6 +944,7 @@
# symlink to more general names?
for dblib in (('db-%d.%d' % db_ver),
('db%d%d' % db_ver),
+ ('db'),
('db%d' % db_ver[0])):
dblib_file = self.compiler.find_library_file(
db_dirs_to_check + lib_dirs, dblib )
@@ -988,6 +992,7 @@
'/usr/local/include/sqlite',
'/usr/local/include/sqlite3',
]
+ sqlite_inc_paths = [ usrlocal('include') ]
MIN_SQLITE_VERSION_NUMBER = (3, 0, 8)
MIN_SQLITE_VERSION = ".".join([str(x)
for x in MIN_SQLITE_VERSION_NUMBER])
@@ -1033,6 +1038,7 @@
os.path.join(sqlite_incdir, '..', '..', 'lib64'),
os.path.join(sqlite_incdir, '..', '..', 'lib'),
]
+ sqlite_dirs_to_check = [ usrlocal('lib') ]
sqlite_libfile = self.compiler.find_library_file(
sqlite_dirs_to_check + lib_dirs, 'sqlite3')
if sqlite_libfile:
@@ -1097,7 +1103,7 @@
sysroot = macosx_sdk_root()
f = os.path.join(sysroot, f[1:])
- if os.path.exists(f) and not db_incs:
+ if os.path.exists(f):
data = open(f).read()
m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
if m is not None:
@@ -1416,7 +1422,11 @@
libraries = []
elif platform.startswith('openbsd'):
- macros = dict()
+ macros = dict( # OpenBSD
+ HAVE_SEM_OPEN=0, # Not implemented
+ HAVE_SEM_TIMEDWAIT=0,
+ HAVE_FD_TRANSFER=1,
+ )
libraries = []
elif platform.startswith('netbsd'):
@@ -1464,6 +1474,9 @@
'freebsd7', 'freebsd8')
or platform.startswith("gnukfreebsd")):
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
+ if platform.startswith('openbsd'):
+ exts.append( Extension('ossaudiodev', ['ossaudiodev.c'],
+ libraries = ['ossaudio'],) )
else:
missing.append('ossaudiodev')
@@ -1637,7 +1650,7 @@
# For 8.4a2, the X11 headers are not included. Rather than include a
# complicated search, this is a hard-coded path. It could bail out
# if X11 libs are not found...
- include_dirs.append('/usr/X11R6/include')
+ include_dirs.append(usrx11r6('include'))
frameworks = ['-framework', 'Tcl', '-framework', 'Tk']
# All existing framework builds of Tcl/Tk don't support 64-bit
@@ -1687,8 +1700,7 @@
# The versions with dots are used on Unix, and the versions without
# dots on Windows, for detection by cygwin.
tcllib = tklib = tcl_includes = tk_includes = None
- for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
- '8.2', '82', '8.1', '81', '8.0', '80']:
+ for version in ['85']:
tklib = self.compiler.find_library_file(lib_dirs,
'tk' + version)
tcllib = self.compiler.find_library_file(lib_dirs,
@@ -1731,17 +1743,9 @@
if platform == 'sunos5':
include_dirs.append('/usr/openwin/include')
added_lib_dirs.append('/usr/openwin/lib')
- elif os.path.exists('/usr/X11R6/include'):
- include_dirs.append('/usr/X11R6/include')
- added_lib_dirs.append('/usr/X11R6/lib64')
- added_lib_dirs.append('/usr/X11R6/lib')
- elif os.path.exists('/usr/X11R5/include'):
- include_dirs.append('/usr/X11R5/include')
- added_lib_dirs.append('/usr/X11R5/lib')
- else:
- # Assume default location for X11
- include_dirs.append('/usr/X11/include')
- added_lib_dirs.append('/usr/X11/lib')
+ elif True:
+ include_dirs.append(usrx11r6('include'))
+ added_lib_dirs.append(usrx11r6('lib'))
# If Cygwin, then verify that X is installed before proceeding
if platform == 'cygwin':
@@ -2045,7 +2049,7 @@
# Scripts to install
scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
'Tools/scripts/2to3',
- 'Lib/smtpd.py']
+ ]
)
# --install-platlib

View File

@ -0,0 +1,12 @@
$OpenBSD: sup64-Lib_test_regrtest_py,v 1.1.1.1 2011/04/24 09:31:44 rpointel Exp $
--- Lib/test/regrtest.py Tue Sep 30 13:19:44 2008
+++ Lib/test/regrtest.py.orig Tue Sep 30 13:21:27 2008
@@ -1066,6 +1066,8 @@
""",
'openbsd3':
"""
+ test_audioop
+ test_imageop
test_bsddb
test_bsddb3
test_ctypes

View File

@ -0,0 +1,15 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the bsddb, for using the Berkeley DB library in
Python.

View File

@ -0,0 +1,15 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the gdbm, for using the GNU DBM library in
Python.

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains IDE for Python.

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented
programming language that combines remarkable power with
very clear syntax. For an introduction to programming in
Python you are referred to the Python Tutorial. The Python
Library Reference documents built-in and standard types,
constants, functions and modules. Finally, the Python
Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules
written in C or C++. On most systems such modules may be
dynamically loaded. Python is also adaptable as an
extension language for existing applications. See the
internal documentation for hints.

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the Python testsuite.

View File

@ -0,0 +1,15 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the Tkinter module, for using the tk toolkit
in Python.

View File

@ -0,0 +1,15 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains extra tools that Python users may find useful
as well as a Python mode for Emacs.

View File

@ -0,0 +1,3 @@
If you want to use this package as your default system idle, as root
create symbolic links like so (overwriting any previous default):
ln -sf ${PREFIX}/bin/idle2.7 ${PREFIX}/bin/idle

View File

@ -0,0 +1,5 @@
If you want to use this package as your default system python, as root
create symbolic links like so (overwriting any previous default):
ln -sf ${PREFIX}/bin/python2.7 ${PREFIX}/bin/python
ln -sf ${PREFIX}/bin/python2.7-config ${PREFIX}/bin/python-config
ln -sf ${PREFIX}/bin/pydoc2.7 ${PREFIX}/bin/pydoc

View File

@ -0,0 +1,5 @@
You may wish to add the following to your .emacs:
(autoload 'python-mode "python-mode" "Python Mode." t)
(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))

View File

@ -0,0 +1,192 @@
@comment $OpenBSD: PFRAG.ctypes-main,v 1.1.1.1 2011/04/24 09:31:46 rpointel Exp $
lib/python2.7/ctypes/
lib/python2.7/ctypes/__init__.py
lib/python2.7/ctypes/__init__.pyc
lib/python2.7/ctypes/__init__.pyo
lib/python2.7/ctypes/_endian.py
lib/python2.7/ctypes/_endian.pyc
lib/python2.7/ctypes/_endian.pyo
lib/python2.7/ctypes/macholib/
lib/python2.7/ctypes/macholib/README.ctypes
lib/python2.7/ctypes/macholib/__init__.py
lib/python2.7/ctypes/macholib/__init__.pyc
lib/python2.7/ctypes/macholib/__init__.pyo
lib/python2.7/ctypes/macholib/dyld.py
lib/python2.7/ctypes/macholib/dyld.pyc
lib/python2.7/ctypes/macholib/dyld.pyo
lib/python2.7/ctypes/macholib/dylib.py
lib/python2.7/ctypes/macholib/dylib.pyc
lib/python2.7/ctypes/macholib/dylib.pyo
lib/python2.7/ctypes/macholib/fetch_macholib
lib/python2.7/ctypes/macholib/fetch_macholib.bat
lib/python2.7/ctypes/macholib/framework.py
lib/python2.7/ctypes/macholib/framework.pyc
lib/python2.7/ctypes/macholib/framework.pyo
lib/python2.7/ctypes/test/
lib/python2.7/ctypes/test/__init__.py
lib/python2.7/ctypes/test/__init__.pyc
lib/python2.7/ctypes/test/__init__.pyo
lib/python2.7/ctypes/test/runtests.py
lib/python2.7/ctypes/test/runtests.pyc
lib/python2.7/ctypes/test/runtests.pyo
lib/python2.7/ctypes/test/test_anon.py
lib/python2.7/ctypes/test/test_anon.pyc
lib/python2.7/ctypes/test/test_anon.pyo
lib/python2.7/ctypes/test/test_array_in_pointer.py
lib/python2.7/ctypes/test/test_array_in_pointer.pyc
lib/python2.7/ctypes/test/test_array_in_pointer.pyo
lib/python2.7/ctypes/test/test_arrays.py
lib/python2.7/ctypes/test/test_arrays.pyc
lib/python2.7/ctypes/test/test_arrays.pyo
lib/python2.7/ctypes/test/test_as_parameter.py
lib/python2.7/ctypes/test/test_as_parameter.pyc
lib/python2.7/ctypes/test/test_as_parameter.pyo
lib/python2.7/ctypes/test/test_bitfields.py
lib/python2.7/ctypes/test/test_bitfields.pyc
lib/python2.7/ctypes/test/test_bitfields.pyo
lib/python2.7/ctypes/test/test_buffers.py
lib/python2.7/ctypes/test/test_buffers.pyc
lib/python2.7/ctypes/test/test_buffers.pyo
lib/python2.7/ctypes/test/test_byteswap.py
lib/python2.7/ctypes/test/test_byteswap.pyc
lib/python2.7/ctypes/test/test_byteswap.pyo
lib/python2.7/ctypes/test/test_callbacks.py
lib/python2.7/ctypes/test/test_callbacks.pyc
lib/python2.7/ctypes/test/test_callbacks.pyo
lib/python2.7/ctypes/test/test_cast.py
lib/python2.7/ctypes/test/test_cast.pyc
lib/python2.7/ctypes/test/test_cast.pyo
lib/python2.7/ctypes/test/test_cfuncs.py
lib/python2.7/ctypes/test/test_cfuncs.pyc
lib/python2.7/ctypes/test/test_cfuncs.pyo
lib/python2.7/ctypes/test/test_checkretval.py
lib/python2.7/ctypes/test/test_checkretval.pyc
lib/python2.7/ctypes/test/test_checkretval.pyo
lib/python2.7/ctypes/test/test_delattr.py
lib/python2.7/ctypes/test/test_delattr.pyc
lib/python2.7/ctypes/test/test_delattr.pyo
lib/python2.7/ctypes/test/test_errcheck.py
lib/python2.7/ctypes/test/test_errcheck.pyc
lib/python2.7/ctypes/test/test_errcheck.pyo
lib/python2.7/ctypes/test/test_errno.py
lib/python2.7/ctypes/test/test_errno.pyc
lib/python2.7/ctypes/test/test_errno.pyo
lib/python2.7/ctypes/test/test_find.py
lib/python2.7/ctypes/test/test_find.pyc
lib/python2.7/ctypes/test/test_find.pyo
lib/python2.7/ctypes/test/test_frombuffer.py
lib/python2.7/ctypes/test/test_frombuffer.pyc
lib/python2.7/ctypes/test/test_frombuffer.pyo
lib/python2.7/ctypes/test/test_funcptr.py
lib/python2.7/ctypes/test/test_funcptr.pyc
lib/python2.7/ctypes/test/test_funcptr.pyo
lib/python2.7/ctypes/test/test_functions.py
lib/python2.7/ctypes/test/test_functions.pyc
lib/python2.7/ctypes/test/test_functions.pyo
lib/python2.7/ctypes/test/test_incomplete.py
lib/python2.7/ctypes/test/test_incomplete.pyc
lib/python2.7/ctypes/test/test_incomplete.pyo
lib/python2.7/ctypes/test/test_init.py
lib/python2.7/ctypes/test/test_init.pyc
lib/python2.7/ctypes/test/test_init.pyo
lib/python2.7/ctypes/test/test_integers.py
lib/python2.7/ctypes/test/test_integers.pyc
lib/python2.7/ctypes/test/test_integers.pyo
lib/python2.7/ctypes/test/test_internals.py
lib/python2.7/ctypes/test/test_internals.pyc
lib/python2.7/ctypes/test/test_internals.pyo
lib/python2.7/ctypes/test/test_keeprefs.py
lib/python2.7/ctypes/test/test_keeprefs.pyc
lib/python2.7/ctypes/test/test_keeprefs.pyo
lib/python2.7/ctypes/test/test_libc.py
lib/python2.7/ctypes/test/test_libc.pyc
lib/python2.7/ctypes/test/test_libc.pyo
lib/python2.7/ctypes/test/test_loading.py
lib/python2.7/ctypes/test/test_loading.pyc
lib/python2.7/ctypes/test/test_loading.pyo
lib/python2.7/ctypes/test/test_macholib.py
lib/python2.7/ctypes/test/test_macholib.pyc
lib/python2.7/ctypes/test/test_macholib.pyo
lib/python2.7/ctypes/test/test_memfunctions.py
lib/python2.7/ctypes/test/test_memfunctions.pyc
lib/python2.7/ctypes/test/test_memfunctions.pyo
lib/python2.7/ctypes/test/test_numbers.py
lib/python2.7/ctypes/test/test_numbers.pyc
lib/python2.7/ctypes/test/test_numbers.pyo
lib/python2.7/ctypes/test/test_objects.py
lib/python2.7/ctypes/test/test_objects.pyc
lib/python2.7/ctypes/test/test_objects.pyo
lib/python2.7/ctypes/test/test_parameters.py
lib/python2.7/ctypes/test/test_parameters.pyc
lib/python2.7/ctypes/test/test_parameters.pyo
lib/python2.7/ctypes/test/test_pep3118.py
lib/python2.7/ctypes/test/test_pep3118.pyc
lib/python2.7/ctypes/test/test_pep3118.pyo
lib/python2.7/ctypes/test/test_pickling.py
lib/python2.7/ctypes/test/test_pickling.pyc
lib/python2.7/ctypes/test/test_pickling.pyo
lib/python2.7/ctypes/test/test_pointers.py
lib/python2.7/ctypes/test/test_pointers.pyc
lib/python2.7/ctypes/test/test_pointers.pyo
lib/python2.7/ctypes/test/test_prototypes.py
lib/python2.7/ctypes/test/test_prototypes.pyc
lib/python2.7/ctypes/test/test_prototypes.pyo
lib/python2.7/ctypes/test/test_python_api.py
lib/python2.7/ctypes/test/test_python_api.pyc
lib/python2.7/ctypes/test/test_python_api.pyo
lib/python2.7/ctypes/test/test_random_things.py
lib/python2.7/ctypes/test/test_random_things.pyc
lib/python2.7/ctypes/test/test_random_things.pyo
lib/python2.7/ctypes/test/test_refcounts.py
lib/python2.7/ctypes/test/test_refcounts.pyc
lib/python2.7/ctypes/test/test_refcounts.pyo
lib/python2.7/ctypes/test/test_repr.py
lib/python2.7/ctypes/test/test_repr.pyc
lib/python2.7/ctypes/test/test_repr.pyo
lib/python2.7/ctypes/test/test_returnfuncptrs.py
lib/python2.7/ctypes/test/test_returnfuncptrs.pyc
lib/python2.7/ctypes/test/test_returnfuncptrs.pyo
lib/python2.7/ctypes/test/test_simplesubclasses.py
lib/python2.7/ctypes/test/test_simplesubclasses.pyc
lib/python2.7/ctypes/test/test_simplesubclasses.pyo
lib/python2.7/ctypes/test/test_sizes.py
lib/python2.7/ctypes/test/test_sizes.pyc
lib/python2.7/ctypes/test/test_sizes.pyo
lib/python2.7/ctypes/test/test_slicing.py
lib/python2.7/ctypes/test/test_slicing.pyc
lib/python2.7/ctypes/test/test_slicing.pyo
lib/python2.7/ctypes/test/test_stringptr.py
lib/python2.7/ctypes/test/test_stringptr.pyc
lib/python2.7/ctypes/test/test_stringptr.pyo
lib/python2.7/ctypes/test/test_strings.py
lib/python2.7/ctypes/test/test_strings.pyc
lib/python2.7/ctypes/test/test_strings.pyo
lib/python2.7/ctypes/test/test_struct_fields.py
lib/python2.7/ctypes/test/test_struct_fields.pyc
lib/python2.7/ctypes/test/test_struct_fields.pyo
lib/python2.7/ctypes/test/test_structures.py
lib/python2.7/ctypes/test/test_structures.pyc
lib/python2.7/ctypes/test/test_structures.pyo
lib/python2.7/ctypes/test/test_unaligned_structures.py
lib/python2.7/ctypes/test/test_unaligned_structures.pyc
lib/python2.7/ctypes/test/test_unaligned_structures.pyo
lib/python2.7/ctypes/test/test_unicode.py
lib/python2.7/ctypes/test/test_unicode.pyc
lib/python2.7/ctypes/test/test_unicode.pyo
lib/python2.7/ctypes/test/test_values.py
lib/python2.7/ctypes/test/test_values.pyc
lib/python2.7/ctypes/test/test_values.pyo
lib/python2.7/ctypes/test/test_varsize_struct.py
lib/python2.7/ctypes/test/test_varsize_struct.pyc
lib/python2.7/ctypes/test/test_varsize_struct.pyo
lib/python2.7/ctypes/test/test_win32.py
lib/python2.7/ctypes/test/test_win32.pyc
lib/python2.7/ctypes/test/test_win32.pyo
lib/python2.7/ctypes/util.py
lib/python2.7/ctypes/util.pyc
lib/python2.7/ctypes/util.pyo
lib/python2.7/ctypes/wintypes.py
lib/python2.7/ctypes/wintypes.pyc
lib/python2.7/ctypes/wintypes.pyo
lib/python2.7/lib-dynload/_ctypes.so
lib/python2.7/lib-dynload/_ctypes_test.so

View File

@ -0,0 +1,102 @@
@comment $OpenBSD: PLIST-bsddb,v 1.1.1.1 2011/04/24 09:31:45 rpointel Exp $
@option no-default-conflict
@conflict python-bsddb->=2.7,<2.8
lib/python2.7/bsddb/
lib/python2.7/bsddb/__init__.py
lib/python2.7/bsddb/__init__.pyc
lib/python2.7/bsddb/__init__.pyo
lib/python2.7/bsddb/db.py
lib/python2.7/bsddb/db.pyc
lib/python2.7/bsddb/db.pyo
lib/python2.7/bsddb/dbobj.py
lib/python2.7/bsddb/dbobj.pyc
lib/python2.7/bsddb/dbobj.pyo
lib/python2.7/bsddb/dbrecio.py
lib/python2.7/bsddb/dbrecio.pyc
lib/python2.7/bsddb/dbrecio.pyo
lib/python2.7/bsddb/dbshelve.py
lib/python2.7/bsddb/dbshelve.pyc
lib/python2.7/bsddb/dbshelve.pyo
lib/python2.7/bsddb/dbtables.py
lib/python2.7/bsddb/dbtables.pyc
lib/python2.7/bsddb/dbtables.pyo
lib/python2.7/bsddb/dbutils.py
lib/python2.7/bsddb/dbutils.pyc
lib/python2.7/bsddb/dbutils.pyo
lib/python2.7/bsddb/test/
lib/python2.7/bsddb/test/__init__.py
lib/python2.7/bsddb/test/__init__.pyc
lib/python2.7/bsddb/test/__init__.pyo
lib/python2.7/bsddb/test/test_all.py
lib/python2.7/bsddb/test/test_all.pyc
lib/python2.7/bsddb/test/test_all.pyo
lib/python2.7/bsddb/test/test_associate.py
lib/python2.7/bsddb/test/test_associate.pyc
lib/python2.7/bsddb/test/test_associate.pyo
lib/python2.7/bsddb/test/test_basics.py
lib/python2.7/bsddb/test/test_basics.pyc
lib/python2.7/bsddb/test/test_basics.pyo
lib/python2.7/bsddb/test/test_compare.py
lib/python2.7/bsddb/test/test_compare.pyc
lib/python2.7/bsddb/test/test_compare.pyo
lib/python2.7/bsddb/test/test_compat.py
lib/python2.7/bsddb/test/test_compat.pyc
lib/python2.7/bsddb/test/test_compat.pyo
lib/python2.7/bsddb/test/test_cursor_pget_bug.py
lib/python2.7/bsddb/test/test_cursor_pget_bug.pyc
lib/python2.7/bsddb/test/test_cursor_pget_bug.pyo
lib/python2.7/bsddb/test/test_db.py
lib/python2.7/bsddb/test/test_db.pyc
lib/python2.7/bsddb/test/test_db.pyo
lib/python2.7/bsddb/test/test_dbenv.py
lib/python2.7/bsddb/test/test_dbenv.pyc
lib/python2.7/bsddb/test/test_dbenv.pyo
lib/python2.7/bsddb/test/test_dbobj.py
lib/python2.7/bsddb/test/test_dbobj.pyc
lib/python2.7/bsddb/test/test_dbobj.pyo
lib/python2.7/bsddb/test/test_dbshelve.py
lib/python2.7/bsddb/test/test_dbshelve.pyc
lib/python2.7/bsddb/test/test_dbshelve.pyo
lib/python2.7/bsddb/test/test_dbtables.py
lib/python2.7/bsddb/test/test_dbtables.pyc
lib/python2.7/bsddb/test/test_dbtables.pyo
lib/python2.7/bsddb/test/test_distributed_transactions.py
lib/python2.7/bsddb/test/test_distributed_transactions.pyc
lib/python2.7/bsddb/test/test_distributed_transactions.pyo
lib/python2.7/bsddb/test/test_early_close.py
lib/python2.7/bsddb/test/test_early_close.pyc
lib/python2.7/bsddb/test/test_early_close.pyo
lib/python2.7/bsddb/test/test_fileid.py
lib/python2.7/bsddb/test/test_fileid.pyc
lib/python2.7/bsddb/test/test_fileid.pyo
lib/python2.7/bsddb/test/test_get_none.py
lib/python2.7/bsddb/test/test_get_none.pyc
lib/python2.7/bsddb/test/test_get_none.pyo
lib/python2.7/bsddb/test/test_join.py
lib/python2.7/bsddb/test/test_join.pyc
lib/python2.7/bsddb/test/test_join.pyo
lib/python2.7/bsddb/test/test_lock.py
lib/python2.7/bsddb/test/test_lock.pyc
lib/python2.7/bsddb/test/test_lock.pyo
lib/python2.7/bsddb/test/test_misc.py
lib/python2.7/bsddb/test/test_misc.pyc
lib/python2.7/bsddb/test/test_misc.pyo
lib/python2.7/bsddb/test/test_pickle.py
lib/python2.7/bsddb/test/test_pickle.pyc
lib/python2.7/bsddb/test/test_pickle.pyo
lib/python2.7/bsddb/test/test_queue.py
lib/python2.7/bsddb/test/test_queue.pyc
lib/python2.7/bsddb/test/test_queue.pyo
lib/python2.7/bsddb/test/test_recno.py
lib/python2.7/bsddb/test/test_recno.pyc
lib/python2.7/bsddb/test/test_recno.pyo
lib/python2.7/bsddb/test/test_replication.py
lib/python2.7/bsddb/test/test_replication.pyc
lib/python2.7/bsddb/test/test_replication.pyo
lib/python2.7/bsddb/test/test_sequence.py
lib/python2.7/bsddb/test/test_sequence.pyc
lib/python2.7/bsddb/test/test_sequence.pyo
lib/python2.7/bsddb/test/test_thread.py
lib/python2.7/bsddb/test/test_thread.pyc
lib/python2.7/bsddb/test/test_thread.pyo
lib/python2.7/lib-dynload/_bsddb.so

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-gdbm,v 1.1.1.1 2011/04/24 09:31:45 rpointel Exp $
@option no-default-conflict
@conflict python-gdbm->=2.7,<2.8
lib/python2.7/lib-dynload/gdbm.so

View File

@ -0,0 +1,205 @@
@comment $OpenBSD: PLIST-idle,v 1.1.1.1 2011/04/24 09:31:45 rpointel Exp $
@option no-default-conflict
@conflict python-idle->=2.7,<2.8
@comment bin/idle
bin/idle2.7
lib/python2.7/idlelib/
lib/python2.7/idlelib/AutoComplete.py
lib/python2.7/idlelib/AutoComplete.pyc
lib/python2.7/idlelib/AutoComplete.pyo
lib/python2.7/idlelib/AutoCompleteWindow.py
lib/python2.7/idlelib/AutoCompleteWindow.pyc
lib/python2.7/idlelib/AutoCompleteWindow.pyo
lib/python2.7/idlelib/AutoExpand.py
lib/python2.7/idlelib/AutoExpand.pyc
lib/python2.7/idlelib/AutoExpand.pyo
lib/python2.7/idlelib/Bindings.py
lib/python2.7/idlelib/Bindings.pyc
lib/python2.7/idlelib/Bindings.pyo
lib/python2.7/idlelib/CREDITS.txt
lib/python2.7/idlelib/CallTipWindow.py
lib/python2.7/idlelib/CallTipWindow.pyc
lib/python2.7/idlelib/CallTipWindow.pyo
lib/python2.7/idlelib/CallTips.py
lib/python2.7/idlelib/CallTips.pyc
lib/python2.7/idlelib/CallTips.pyo
lib/python2.7/idlelib/ChangeLog
lib/python2.7/idlelib/ClassBrowser.py
lib/python2.7/idlelib/ClassBrowser.pyc
lib/python2.7/idlelib/ClassBrowser.pyo
lib/python2.7/idlelib/CodeContext.py
lib/python2.7/idlelib/CodeContext.pyc
lib/python2.7/idlelib/CodeContext.pyo
lib/python2.7/idlelib/ColorDelegator.py
lib/python2.7/idlelib/ColorDelegator.pyc
lib/python2.7/idlelib/ColorDelegator.pyo
lib/python2.7/idlelib/Debugger.py
lib/python2.7/idlelib/Debugger.pyc
lib/python2.7/idlelib/Debugger.pyo
lib/python2.7/idlelib/Delegator.py
lib/python2.7/idlelib/Delegator.pyc
lib/python2.7/idlelib/Delegator.pyo
lib/python2.7/idlelib/EditorWindow.py
lib/python2.7/idlelib/EditorWindow.pyc
lib/python2.7/idlelib/EditorWindow.pyo
lib/python2.7/idlelib/FileList.py
lib/python2.7/idlelib/FileList.pyc
lib/python2.7/idlelib/FileList.pyo
lib/python2.7/idlelib/FormatParagraph.py
lib/python2.7/idlelib/FormatParagraph.pyc
lib/python2.7/idlelib/FormatParagraph.pyo
lib/python2.7/idlelib/GrepDialog.py
lib/python2.7/idlelib/GrepDialog.pyc
lib/python2.7/idlelib/GrepDialog.pyo
lib/python2.7/idlelib/HISTORY.txt
lib/python2.7/idlelib/HyperParser.py
lib/python2.7/idlelib/HyperParser.pyc
lib/python2.7/idlelib/HyperParser.pyo
lib/python2.7/idlelib/IOBinding.py
lib/python2.7/idlelib/IOBinding.pyc
lib/python2.7/idlelib/IOBinding.pyo
lib/python2.7/idlelib/Icons/
lib/python2.7/idlelib/Icons/folder.gif
lib/python2.7/idlelib/Icons/idle.icns
lib/python2.7/idlelib/Icons/minusnode.gif
lib/python2.7/idlelib/Icons/openfolder.gif
lib/python2.7/idlelib/Icons/plusnode.gif
lib/python2.7/idlelib/Icons/python.gif
lib/python2.7/idlelib/Icons/tk.gif
lib/python2.7/idlelib/IdleHistory.py
lib/python2.7/idlelib/IdleHistory.pyc
lib/python2.7/idlelib/IdleHistory.pyo
lib/python2.7/idlelib/MultiCall.py
lib/python2.7/idlelib/MultiCall.pyc
lib/python2.7/idlelib/MultiCall.pyo
lib/python2.7/idlelib/MultiStatusBar.py
lib/python2.7/idlelib/MultiStatusBar.pyc
lib/python2.7/idlelib/MultiStatusBar.pyo
lib/python2.7/idlelib/NEWS.txt
lib/python2.7/idlelib/ObjectBrowser.py
lib/python2.7/idlelib/ObjectBrowser.pyc
lib/python2.7/idlelib/ObjectBrowser.pyo
lib/python2.7/idlelib/OutputWindow.py
lib/python2.7/idlelib/OutputWindow.pyc
lib/python2.7/idlelib/OutputWindow.pyo
lib/python2.7/idlelib/ParenMatch.py
lib/python2.7/idlelib/ParenMatch.pyc
lib/python2.7/idlelib/ParenMatch.pyo
lib/python2.7/idlelib/PathBrowser.py
lib/python2.7/idlelib/PathBrowser.pyc
lib/python2.7/idlelib/PathBrowser.pyo
lib/python2.7/idlelib/Percolator.py
lib/python2.7/idlelib/Percolator.pyc
lib/python2.7/idlelib/Percolator.pyo
lib/python2.7/idlelib/PyParse.py
lib/python2.7/idlelib/PyParse.pyc
lib/python2.7/idlelib/PyParse.pyo
lib/python2.7/idlelib/PyShell.py
lib/python2.7/idlelib/PyShell.pyc
lib/python2.7/idlelib/PyShell.pyo
lib/python2.7/idlelib/README.txt
lib/python2.7/idlelib/RemoteDebugger.py
lib/python2.7/idlelib/RemoteDebugger.pyc
lib/python2.7/idlelib/RemoteDebugger.pyo
lib/python2.7/idlelib/RemoteObjectBrowser.py
lib/python2.7/idlelib/RemoteObjectBrowser.pyc
lib/python2.7/idlelib/RemoteObjectBrowser.pyo
lib/python2.7/idlelib/ReplaceDialog.py
lib/python2.7/idlelib/ReplaceDialog.pyc
lib/python2.7/idlelib/ReplaceDialog.pyo
lib/python2.7/idlelib/RstripExtension.py
lib/python2.7/idlelib/RstripExtension.pyc
lib/python2.7/idlelib/RstripExtension.pyo
lib/python2.7/idlelib/ScriptBinding.py
lib/python2.7/idlelib/ScriptBinding.pyc
lib/python2.7/idlelib/ScriptBinding.pyo
lib/python2.7/idlelib/ScrolledList.py
lib/python2.7/idlelib/ScrolledList.pyc
lib/python2.7/idlelib/ScrolledList.pyo
lib/python2.7/idlelib/SearchDialog.py
lib/python2.7/idlelib/SearchDialog.pyc
lib/python2.7/idlelib/SearchDialog.pyo
lib/python2.7/idlelib/SearchDialogBase.py
lib/python2.7/idlelib/SearchDialogBase.pyc
lib/python2.7/idlelib/SearchDialogBase.pyo
lib/python2.7/idlelib/SearchEngine.py
lib/python2.7/idlelib/SearchEngine.pyc
lib/python2.7/idlelib/SearchEngine.pyo
lib/python2.7/idlelib/StackViewer.py
lib/python2.7/idlelib/StackViewer.pyc
lib/python2.7/idlelib/StackViewer.pyo
lib/python2.7/idlelib/TODO.txt
lib/python2.7/idlelib/ToolTip.py
lib/python2.7/idlelib/ToolTip.pyc
lib/python2.7/idlelib/ToolTip.pyo
lib/python2.7/idlelib/TreeWidget.py
lib/python2.7/idlelib/TreeWidget.pyc
lib/python2.7/idlelib/TreeWidget.pyo
lib/python2.7/idlelib/UndoDelegator.py
lib/python2.7/idlelib/UndoDelegator.pyc
lib/python2.7/idlelib/UndoDelegator.pyo
lib/python2.7/idlelib/WidgetRedirector.py
lib/python2.7/idlelib/WidgetRedirector.pyc
lib/python2.7/idlelib/WidgetRedirector.pyo
lib/python2.7/idlelib/WindowList.py
lib/python2.7/idlelib/WindowList.pyc
lib/python2.7/idlelib/WindowList.pyo
lib/python2.7/idlelib/ZoomHeight.py
lib/python2.7/idlelib/ZoomHeight.pyc
lib/python2.7/idlelib/ZoomHeight.pyo
lib/python2.7/idlelib/__init__.py
lib/python2.7/idlelib/__init__.pyc
lib/python2.7/idlelib/__init__.pyo
lib/python2.7/idlelib/aboutDialog.py
lib/python2.7/idlelib/aboutDialog.pyc
lib/python2.7/idlelib/aboutDialog.pyo
lib/python2.7/idlelib/config-extensions.def
lib/python2.7/idlelib/config-highlight.def
lib/python2.7/idlelib/config-keys.def
lib/python2.7/idlelib/config-main.def
lib/python2.7/idlelib/configDialog.py
lib/python2.7/idlelib/configDialog.pyc
lib/python2.7/idlelib/configDialog.pyo
lib/python2.7/idlelib/configHandler.py
lib/python2.7/idlelib/configHandler.pyc
lib/python2.7/idlelib/configHandler.pyo
lib/python2.7/idlelib/configHelpSourceEdit.py
lib/python2.7/idlelib/configHelpSourceEdit.pyc
lib/python2.7/idlelib/configHelpSourceEdit.pyo
lib/python2.7/idlelib/configSectionNameDialog.py
lib/python2.7/idlelib/configSectionNameDialog.pyc
lib/python2.7/idlelib/configSectionNameDialog.pyo
lib/python2.7/idlelib/dynOptionMenuWidget.py
lib/python2.7/idlelib/dynOptionMenuWidget.pyc
lib/python2.7/idlelib/dynOptionMenuWidget.pyo
lib/python2.7/idlelib/extend.txt
lib/python2.7/idlelib/help.txt
@comment lib/python2.7/idlelib/idle.bat
lib/python2.7/idlelib/idle.py
lib/python2.7/idlelib/idle.pyc
lib/python2.7/idlelib/idle.pyo
lib/python2.7/idlelib/idle.pyw
lib/python2.7/idlelib/idlever.py
lib/python2.7/idlelib/idlever.pyc
lib/python2.7/idlelib/idlever.pyo
lib/python2.7/idlelib/keybindingDialog.py
lib/python2.7/idlelib/keybindingDialog.pyc
lib/python2.7/idlelib/keybindingDialog.pyo
lib/python2.7/idlelib/macosxSupport.py
lib/python2.7/idlelib/macosxSupport.pyc
lib/python2.7/idlelib/macosxSupport.pyo
lib/python2.7/idlelib/rpc.py
lib/python2.7/idlelib/rpc.pyc
lib/python2.7/idlelib/rpc.pyo
lib/python2.7/idlelib/run.py
lib/python2.7/idlelib/run.pyc
lib/python2.7/idlelib/run.pyo
lib/python2.7/idlelib/tabbedpages.py
lib/python2.7/idlelib/tabbedpages.pyc
lib/python2.7/idlelib/tabbedpages.pyo
lib/python2.7/idlelib/testcode.py
lib/python2.7/idlelib/testcode.pyc
lib/python2.7/idlelib/testcode.pyo
lib/python2.7/idlelib/textView.py
lib/python2.7/idlelib/textView.pyc
lib/python2.7/idlelib/textView.pyo

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,93 @@
@comment $OpenBSD: PLIST-tkinter,v 1.1.1.1 2011/04/24 09:31:46 rpointel Exp $
@option no-default-conflict
@conflict python-tkinter->=2.7,<2.8
lib/python2.7/lib-dynload/_tkinter.so
lib/python2.7/lib-tk/
lib/python2.7/lib-tk/Canvas.py
lib/python2.7/lib-tk/Canvas.pyc
lib/python2.7/lib-tk/Canvas.pyo
lib/python2.7/lib-tk/Dialog.py
lib/python2.7/lib-tk/Dialog.pyc
lib/python2.7/lib-tk/Dialog.pyo
lib/python2.7/lib-tk/FileDialog.py
lib/python2.7/lib-tk/FileDialog.pyc
lib/python2.7/lib-tk/FileDialog.pyo
lib/python2.7/lib-tk/FixTk.py
lib/python2.7/lib-tk/FixTk.pyc
lib/python2.7/lib-tk/FixTk.pyo
lib/python2.7/lib-tk/ScrolledText.py
lib/python2.7/lib-tk/ScrolledText.pyc
lib/python2.7/lib-tk/ScrolledText.pyo
lib/python2.7/lib-tk/SimpleDialog.py
lib/python2.7/lib-tk/SimpleDialog.pyc
lib/python2.7/lib-tk/SimpleDialog.pyo
lib/python2.7/lib-tk/Tix.py
lib/python2.7/lib-tk/Tix.pyc
lib/python2.7/lib-tk/Tix.pyo
lib/python2.7/lib-tk/Tkconstants.py
lib/python2.7/lib-tk/Tkconstants.pyc
lib/python2.7/lib-tk/Tkconstants.pyo
lib/python2.7/lib-tk/Tkdnd.py
lib/python2.7/lib-tk/Tkdnd.pyc
lib/python2.7/lib-tk/Tkdnd.pyo
lib/python2.7/lib-tk/Tkinter.py
lib/python2.7/lib-tk/Tkinter.pyc
lib/python2.7/lib-tk/Tkinter.pyo
lib/python2.7/lib-tk/test/
lib/python2.7/lib-tk/test/README
lib/python2.7/lib-tk/test/runtktests.py
lib/python2.7/lib-tk/test/runtktests.pyc
lib/python2.7/lib-tk/test/runtktests.pyo
lib/python2.7/lib-tk/test/test_tkinter/
lib/python2.7/lib-tk/test/test_tkinter/__init__.py
lib/python2.7/lib-tk/test/test_tkinter/__init__.pyc
lib/python2.7/lib-tk/test/test_tkinter/__init__.pyo
lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.py
lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyc
lib/python2.7/lib-tk/test/test_tkinter/test_loadtk.pyo
lib/python2.7/lib-tk/test/test_tkinter/test_text.py
lib/python2.7/lib-tk/test/test_tkinter/test_text.pyc
lib/python2.7/lib-tk/test/test_tkinter/test_text.pyo
lib/python2.7/lib-tk/test/test_ttk/
lib/python2.7/lib-tk/test/test_ttk/__init__.py
lib/python2.7/lib-tk/test/test_ttk/__init__.pyc
lib/python2.7/lib-tk/test/test_ttk/__init__.pyo
lib/python2.7/lib-tk/test/test_ttk/support.py
lib/python2.7/lib-tk/test/test_ttk/support.pyc
lib/python2.7/lib-tk/test/test_ttk/support.pyo
lib/python2.7/lib-tk/test/test_ttk/test_extensions.py
lib/python2.7/lib-tk/test/test_ttk/test_extensions.pyc
lib/python2.7/lib-tk/test/test_ttk/test_extensions.pyo
lib/python2.7/lib-tk/test/test_ttk/test_functions.py
lib/python2.7/lib-tk/test/test_ttk/test_functions.pyc
lib/python2.7/lib-tk/test/test_ttk/test_functions.pyo
lib/python2.7/lib-tk/test/test_ttk/test_style.py
lib/python2.7/lib-tk/test/test_ttk/test_style.pyc
lib/python2.7/lib-tk/test/test_ttk/test_style.pyo
lib/python2.7/lib-tk/test/test_ttk/test_widgets.py
lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyc
lib/python2.7/lib-tk/test/test_ttk/test_widgets.pyo
lib/python2.7/lib-tk/tkColorChooser.py
lib/python2.7/lib-tk/tkColorChooser.pyc
lib/python2.7/lib-tk/tkColorChooser.pyo
lib/python2.7/lib-tk/tkCommonDialog.py
lib/python2.7/lib-tk/tkCommonDialog.pyc
lib/python2.7/lib-tk/tkCommonDialog.pyo
lib/python2.7/lib-tk/tkFileDialog.py
lib/python2.7/lib-tk/tkFileDialog.pyc
lib/python2.7/lib-tk/tkFileDialog.pyo
lib/python2.7/lib-tk/tkFont.py
lib/python2.7/lib-tk/tkFont.pyc
lib/python2.7/lib-tk/tkFont.pyo
lib/python2.7/lib-tk/tkMessageBox.py
lib/python2.7/lib-tk/tkMessageBox.pyc
lib/python2.7/lib-tk/tkMessageBox.pyo
lib/python2.7/lib-tk/tkSimpleDialog.py
lib/python2.7/lib-tk/tkSimpleDialog.pyc
lib/python2.7/lib-tk/tkSimpleDialog.pyo
lib/python2.7/lib-tk/ttk.py
lib/python2.7/lib-tk/ttk.pyc
lib/python2.7/lib-tk/ttk.pyo
lib/python2.7/lib-tk/turtle.py
lib/python2.7/lib-tk/turtle.pyc
lib/python2.7/lib-tk/turtle.pyo

View File

@ -0,0 +1,256 @@
@comment $OpenBSD: PLIST-tools,v 1.1.1.1 2011/04/24 09:31:46 rpointel Exp $
@option no-default-conflict
@conflict python-tools->=2.7,<2.8
lib/python2.7/Tools/
lib/python2.7/Tools/README
lib/python2.7/Tools/audiopy/
lib/python2.7/Tools/audiopy/README
lib/python2.7/Tools/audiopy/audiopy
lib/python2.7/Tools/bgen/
lib/python2.7/Tools/bgen/README
lib/python2.7/Tools/bgen/bgen/
lib/python2.7/Tools/bgen/bgen/bgen.py
lib/python2.7/Tools/bgen/bgen/bgenBuffer.py
lib/python2.7/Tools/bgen/bgen/bgenGenerator.py
lib/python2.7/Tools/bgen/bgen/bgenGeneratorGroup.py
lib/python2.7/Tools/bgen/bgen/bgenHeapBuffer.py
lib/python2.7/Tools/bgen/bgen/bgenModule.py
lib/python2.7/Tools/bgen/bgen/bgenObjectDefinition.py
lib/python2.7/Tools/bgen/bgen/bgenOutput.py
lib/python2.7/Tools/bgen/bgen/bgenStackBuffer.py
lib/python2.7/Tools/bgen/bgen/bgenStringBuffer.py
lib/python2.7/Tools/bgen/bgen/bgenType.py
lib/python2.7/Tools/bgen/bgen/bgenVariable.py
lib/python2.7/Tools/bgen/bgen/macsupport.py
lib/python2.7/Tools/bgen/bgen/scantools.py
lib/python2.7/Tools/buildbot/
lib/python2.7/Tools/buildbot/README.tcltk-AMD64
@comment lib/python2.7/Tools/buildbot/build-${MACHINE_ARCH}.bat
@comment lib/python2.7/Tools/buildbot/build.bat
@comment lib/python2.7/Tools/buildbot/buildmsi.bat
@comment lib/python2.7/Tools/buildbot/clean-${MACHINE_ARCH}.bat
@comment lib/python2.7/Tools/buildbot/clean.bat
@comment lib/python2.7/Tools/buildbot/external-${MACHINE_ARCH}.bat
@comment lib/python2.7/Tools/buildbot/external-common.bat
@comment lib/python2.7/Tools/buildbot/external.bat
@comment lib/python2.7/Tools/buildbot/test-${MACHINE_ARCH}.bat
@comment lib/python2.7/Tools/buildbot/test.bat
lib/python2.7/Tools/ccbench/
lib/python2.7/Tools/ccbench/ccbench.py
lib/python2.7/Tools/compiler/
lib/python2.7/Tools/compiler/ACKS
lib/python2.7/Tools/compiler/README
lib/python2.7/Tools/compiler/ast.txt
lib/python2.7/Tools/compiler/astgen.py
lib/python2.7/Tools/compiler/compile.py
lib/python2.7/Tools/compiler/demo.py
lib/python2.7/Tools/compiler/dumppyc.py
lib/python2.7/Tools/compiler/regrtest.py
lib/python2.7/Tools/compiler/stacktest.py
lib/python2.7/Tools/faqwiz/
lib/python2.7/Tools/faqwiz/README
lib/python2.7/Tools/faqwiz/faqconf.py
lib/python2.7/Tools/faqwiz/faqcust.py
lib/python2.7/Tools/faqwiz/faqw.py
lib/python2.7/Tools/faqwiz/faqwiz.py
lib/python2.7/Tools/faqwiz/move-faqwiz.sh
lib/python2.7/Tools/framer/
lib/python2.7/Tools/framer/README.txt
lib/python2.7/Tools/framer/TODO.txt
lib/python2.7/Tools/framer/example.py
lib/python2.7/Tools/framer/framer/
lib/python2.7/Tools/framer/framer/__init__.py
lib/python2.7/Tools/framer/framer/bases.py
lib/python2.7/Tools/framer/framer/function.py
lib/python2.7/Tools/framer/framer/member.py
lib/python2.7/Tools/framer/framer/slots.py
lib/python2.7/Tools/framer/framer/struct.py
lib/python2.7/Tools/framer/framer/structparse.py
lib/python2.7/Tools/framer/framer/template.py
lib/python2.7/Tools/framer/framer/util.py
lib/python2.7/Tools/freeze/
lib/python2.7/Tools/freeze/README
lib/python2.7/Tools/freeze/bkfile.py
lib/python2.7/Tools/freeze/checkextensions.py
lib/python2.7/Tools/freeze/checkextensions_win32.py
lib/python2.7/Tools/freeze/extensions_win32.ini
lib/python2.7/Tools/freeze/freeze.py
lib/python2.7/Tools/freeze/hello.py
lib/python2.7/Tools/freeze/makeconfig.py
lib/python2.7/Tools/freeze/makefreeze.py
lib/python2.7/Tools/freeze/makemakefile.py
lib/python2.7/Tools/freeze/parsesetup.py
lib/python2.7/Tools/freeze/win32.html
lib/python2.7/Tools/freeze/winmakemakefile.py
lib/python2.7/Tools/gdb/
lib/python2.7/Tools/gdb/libpython.py
lib/python2.7/Tools/i18n/
lib/python2.7/Tools/i18n/makelocalealias.py
lib/python2.7/Tools/i18n/msgfmt.py
lib/python2.7/Tools/i18n/pygettext.py
lib/python2.7/Tools/iobench/
lib/python2.7/Tools/iobench/iobench.py
lib/python2.7/Tools/msi/
lib/python2.7/Tools/msi/README.txt
lib/python2.7/Tools/msi/crtlicense.txt
lib/python2.7/Tools/msi/msi.py
lib/python2.7/Tools/msi/msilib.py
lib/python2.7/Tools/msi/msisupport.c
lib/python2.7/Tools/msi/msisupport.mak
lib/python2.7/Tools/msi/schema.py
lib/python2.7/Tools/msi/sequence.py
lib/python2.7/Tools/msi/uisample.py
lib/python2.7/Tools/msi/uuids.py
lib/python2.7/Tools/pybench/
lib/python2.7/Tools/pybench/Arithmetic.py
lib/python2.7/Tools/pybench/Calls.py
lib/python2.7/Tools/pybench/CommandLine.py
lib/python2.7/Tools/pybench/Constructs.py
lib/python2.7/Tools/pybench/Dict.py
lib/python2.7/Tools/pybench/Exceptions.py
lib/python2.7/Tools/pybench/Imports.py
lib/python2.7/Tools/pybench/Instances.py
lib/python2.7/Tools/pybench/LICENSE
lib/python2.7/Tools/pybench/Lists.py
lib/python2.7/Tools/pybench/Lookups.py
lib/python2.7/Tools/pybench/NewInstances.py
lib/python2.7/Tools/pybench/Numbers.py
lib/python2.7/Tools/pybench/README
lib/python2.7/Tools/pybench/Setup.py
lib/python2.7/Tools/pybench/Strings.py
lib/python2.7/Tools/pybench/Tuples.py
lib/python2.7/Tools/pybench/Unicode.py
lib/python2.7/Tools/pybench/With.py
lib/python2.7/Tools/pybench/clockres.py
lib/python2.7/Tools/pybench/package/
lib/python2.7/Tools/pybench/package/__init__.py
lib/python2.7/Tools/pybench/package/submodule.py
lib/python2.7/Tools/pybench/pybench.py
lib/python2.7/Tools/pybench/systimes.py
lib/python2.7/Tools/pynche/
lib/python2.7/Tools/pynche/ChipViewer.py
lib/python2.7/Tools/pynche/ColorDB.py
lib/python2.7/Tools/pynche/DetailsViewer.py
lib/python2.7/Tools/pynche/ListViewer.py
lib/python2.7/Tools/pynche/Main.py
lib/python2.7/Tools/pynche/PyncheWidget.py
lib/python2.7/Tools/pynche/README
lib/python2.7/Tools/pynche/StripViewer.py
lib/python2.7/Tools/pynche/Switchboard.py
lib/python2.7/Tools/pynche/TextViewer.py
lib/python2.7/Tools/pynche/TypeinViewer.py
lib/python2.7/Tools/pynche/X/
lib/python2.7/Tools/pynche/X/rgb.txt
lib/python2.7/Tools/pynche/X/xlicense.txt
lib/python2.7/Tools/pynche/__init__.py
lib/python2.7/Tools/pynche/html40colors.txt
lib/python2.7/Tools/pynche/namedcolors.txt
lib/python2.7/Tools/pynche/pyColorChooser.py
lib/python2.7/Tools/pynche/pynche
lib/python2.7/Tools/pynche/pynche.pyw
lib/python2.7/Tools/pynche/webcolors.txt
lib/python2.7/Tools/pynche/websafe.txt
lib/python2.7/Tools/scripts/
lib/python2.7/Tools/scripts/2to3
lib/python2.7/Tools/scripts/README
lib/python2.7/Tools/scripts/analyze_dxp.py
lib/python2.7/Tools/scripts/byext.py
lib/python2.7/Tools/scripts/byteyears.py
lib/python2.7/Tools/scripts/checkappend.py
lib/python2.7/Tools/scripts/checkpyc.py
lib/python2.7/Tools/scripts/classfix.py
lib/python2.7/Tools/scripts/cleanfuture.py
lib/python2.7/Tools/scripts/combinerefs.py
lib/python2.7/Tools/scripts/copytime.py
lib/python2.7/Tools/scripts/crlf.py
lib/python2.7/Tools/scripts/cvsfiles.py
lib/python2.7/Tools/scripts/db2pickle.py
lib/python2.7/Tools/scripts/diff.py
lib/python2.7/Tools/scripts/dutree.doc
lib/python2.7/Tools/scripts/dutree.py
lib/python2.7/Tools/scripts/eptags.py
lib/python2.7/Tools/scripts/find_recursionlimit.py
lib/python2.7/Tools/scripts/finddiv.py
lib/python2.7/Tools/scripts/findlinksto.py
lib/python2.7/Tools/scripts/findnocoding.py
lib/python2.7/Tools/scripts/fixcid.py
lib/python2.7/Tools/scripts/fixdiv.py
lib/python2.7/Tools/scripts/fixheader.py
lib/python2.7/Tools/scripts/fixnotice.py
lib/python2.7/Tools/scripts/fixps.py
lib/python2.7/Tools/scripts/ftpmirror.py
lib/python2.7/Tools/scripts/google.py
lib/python2.7/Tools/scripts/gprof2html.py
lib/python2.7/Tools/scripts/h2py.py
lib/python2.7/Tools/scripts/hotshotmain.py
lib/python2.7/Tools/scripts/idle
lib/python2.7/Tools/scripts/ifdef.py
lib/python2.7/Tools/scripts/lfcr.py
lib/python2.7/Tools/scripts/linktree.py
lib/python2.7/Tools/scripts/lll.py
lib/python2.7/Tools/scripts/logmerge.py
lib/python2.7/Tools/scripts/mailerdaemon.py
lib/python2.7/Tools/scripts/md5sum.py
lib/python2.7/Tools/scripts/methfix.py
lib/python2.7/Tools/scripts/mkreal.py
lib/python2.7/Tools/scripts/ndiff.py
lib/python2.7/Tools/scripts/nm2def.py
lib/python2.7/Tools/scripts/objgraph.py
lib/python2.7/Tools/scripts/parseentities.py
lib/python2.7/Tools/scripts/patchcheck.py
lib/python2.7/Tools/scripts/pathfix.py
lib/python2.7/Tools/scripts/pdeps.py
lib/python2.7/Tools/scripts/pickle2db.py
lib/python2.7/Tools/scripts/pindent.py
lib/python2.7/Tools/scripts/ptags.py
lib/python2.7/Tools/scripts/pydoc
@comment lib/python2.7/Tools/scripts/pydoc.orig
lib/python2.7/Tools/scripts/pydocgui.pyw
lib/python2.7/Tools/scripts/pysource.py
lib/python2.7/Tools/scripts/redemo.py
lib/python2.7/Tools/scripts/reindent-rst.py
lib/python2.7/Tools/scripts/reindent.py
lib/python2.7/Tools/scripts/rgrep.py
lib/python2.7/Tools/scripts/serve.py
lib/python2.7/Tools/scripts/setup.py
lib/python2.7/Tools/scripts/suff.py
lib/python2.7/Tools/scripts/svneol.py
lib/python2.7/Tools/scripts/texcheck.py
lib/python2.7/Tools/scripts/texi2html.py
lib/python2.7/Tools/scripts/treesync.py
lib/python2.7/Tools/scripts/untabify.py
lib/python2.7/Tools/scripts/which.py
lib/python2.7/Tools/scripts/win_add2path.py
lib/python2.7/Tools/scripts/xxci.py
lib/python2.7/Tools/ssl/
lib/python2.7/Tools/ssl/get-remote-certificate.py
lib/python2.7/Tools/unicode/
lib/python2.7/Tools/unicode/Makefile
lib/python2.7/Tools/unicode/comparecodecs.py
lib/python2.7/Tools/unicode/gencjkcodecs.py
lib/python2.7/Tools/unicode/gencodec.py
lib/python2.7/Tools/unicode/genwincodec.py
@comment lib/python2.7/Tools/unicode/genwincodecs.bat
lib/python2.7/Tools/unicode/listcodecs.py
lib/python2.7/Tools/unicode/makeunicodedata.py
lib/python2.7/Tools/unicode/mkstringprep.py
lib/python2.7/Tools/unicode/python-mappings/
lib/python2.7/Tools/unicode/python-mappings/CP1140.TXT
lib/python2.7/Tools/unicode/python-mappings/KOI8-U.TXT
lib/python2.7/Tools/unicode/python-mappings/TIS-620.TXT
lib/python2.7/Tools/versioncheck/
lib/python2.7/Tools/versioncheck/README
lib/python2.7/Tools/versioncheck/_checkversion.py
lib/python2.7/Tools/versioncheck/checkversions.py
lib/python2.7/Tools/versioncheck/pyversioncheck.py
lib/python2.7/Tools/webchecker/
lib/python2.7/Tools/webchecker/README
lib/python2.7/Tools/webchecker/tktools.py
lib/python2.7/Tools/webchecker/wcgui.py
lib/python2.7/Tools/webchecker/wcmac.py
lib/python2.7/Tools/webchecker/webchecker.py
lib/python2.7/Tools/webchecker/websucker.py
lib/python2.7/Tools/webchecker/wsgui.py
lib/python2.7/Tools/world/
lib/python2.7/Tools/world/README
lib/python2.7/Tools/world/world

View File

@ -0,0 +1,2 @@
Don't forget to remove ${PREFIX}/bin/idle
if it was a symlink to ${PREFIX}/bin/idle2.7.

View File

@ -0,0 +1,5 @@
Don't forget to remove ${PREFIX}/bin/python,
${PREFIX}/bin/python-config or/and
${PREFIX}/bin/pydoc if they were symlinks to
${PREFIX}/bin/python2.7, ${PREFIX}/bin/python2.7-config
or to ${PREFIX}/bin/pydoc2.7.