Index: lang/python-doc-html/distinfo
===================================================================
--- lang/python-doc-html/distinfo
+++ lang/python-doc-html/distinfo
@@ -1,11 +1,11 @@
-SHA256 (python/python-2.7.9-docs-html.tar.bz2) = 9c8ec955491a53b20794cd20065f1ccee15622a0ffc89a6c301d879513a67b50
-SIZE (python/python-2.7.9-docs-html.tar.bz2) = 4527125
-SHA256 (python/python-2.7.9-docs-pdf-a4.tar.bz2) = b1ce63f4d234f3aab2fe8c29e8889063fcd6786ee2fc71edeab26f826eeaeea5
-SIZE (python/python-2.7.9-docs-pdf-a4.tar.bz2) = 10679722
-SHA256 (python/python-2.7.9-docs-pdf-letter.tar.bz2) = 2e76fcfca34790ccb35dda55c84057abdce5362cd2421f6f4db8904b59b82545
-SIZE (python/python-2.7.9-docs-pdf-letter.tar.bz2) = 10734252
-SHA256 (python/python-2.7.9-docs-text.tar.bz2) = 3929ff923aebaf33c6e7a6339c535191d30e3d9e2e21c63aaa05171ecc3d60df
-SIZE (python/python-2.7.9-docs-text.tar.bz2) = 1601304
+SHA256 (python/python-2.7.10-docs-html.tar.bz2) = e5f399cccc365f16679a32cd79d2b1bd0906c8838b7ea83f5a0c8236d2324e61
+SIZE (python/python-2.7.10-docs-html.tar.bz2) = 4566934
+SHA256 (python/python-2.7.10-docs-pdf-a4.tar.bz2) = 53ce5f42fededd92fc297fe92b6ed991333e5c58ac838a21f501cc19bce6f545
+SIZE (python/python-2.7.10-docs-pdf-a4.tar.bz2) = 10651077
+SHA256 (python/python-2.7.10-docs-pdf-letter.tar.bz2) = ab4eb48cca914e195b648bf541c3a894a04d9e64512d3f451d84b6d0307fd19e
+SIZE (python/python-2.7.10-docs-pdf-letter.tar.bz2) = 10709408
+SHA256 (python/python-2.7.10-docs-text.tar.bz2) = f90dc826239bb6e66639e913647fe50cf8ab1352bf55d393eed2fb1d46b51eeb
+SIZE (python/python-2.7.10-docs-text.tar.bz2) = 1605615
SHA256 (python/python-3.2.5-docs-html.tar.bz2) = 5a7f7f79d58cf87511aae66784ae71e3e108ca8185bd40706c4bb43e5e0348bc
SIZE (python/python-3.2.5-docs-html.tar.bz2) = 4435429
SHA256 (python/python-3.2.5-docs-pdf-a4.tar.bz2) = bfa07657b5d3810fa3cc16cd210459457cfaedff0887e2617b2deabd21e432e3
Index: lang/python-tools/Makefile
===================================================================
--- lang/python-tools/Makefile
+++ lang/python-tools/Makefile
@@ -22,7 +22,7 @@
WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Tools/scripts
SCRIPT_FILES= byteyears checkpyc copytime crlf dutree \
- ftpmirror lfcr ptags untabify
+ lfcr ptags untabify
PYLIB_FILES= tabnanny timeit
PLIST_FILES= ${SCRIPT_FILES:C/^.*/bin\/&/g} ${PYLIB_FILES:C/^.*/bin\/&/g}
Index: lang/python27/Makefile
===================================================================
--- lang/python27/Makefile
+++ lang/python27/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= python27
-PORTVERSION= 2.7.9
-PORTREVISION= 1
+PORTVERSION= 2.7.10
CATEGORIES= lang python ipv6
MASTER_SITES= PYTHON/ftp/python/${PORTVERSION}
DISTNAME= Python-${PORTVERSION}
@@ -104,6 +103,11 @@
PLIST_SUB+= NO_NIS=""
.endif
+.if defined(WITH_OPENSSL_PORT)
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \
Index: lang/python27/distinfo
===================================================================
--- lang/python27/distinfo
+++ lang/python27/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python/Python-2.7.9.tar.xz) = 90d27e14ea7e03570026850e2e50ba71ad20b7eb31035aada1cf3def8f8d4916
-SIZE (python/Python-2.7.9.tar.xz) = 12164712
+SHA256 (python/Python-2.7.10.tar.xz) = 1cd3730781b91caf0fa1c4d472dc29274186480161a150294c42ce9b5c5effc0
+SIZE (python/Python-2.7.10.tar.xz) = 12250696
Index: lang/python27/files/patch-Doc__library__fcntl.rst
===================================================================
--- lang/python27/files/patch-Doc__library__fcntl.rst
+++ lang/python27/files/patch-Doc__library__fcntl.rst
@@ -1,6 +1,6 @@
---- ./Doc/library/fcntl.rst.orig 2014-07-03 21:53:41.473098625 +1000
-+++ ./Doc/library/fcntl.rst 2014-07-03 21:54:04.342833056 +1000
-@@ -50,7 +50,6 @@
+--- ./Doc/library/fcntl.rst.orig 2014-07-03 11:53:41.473098625 +1000
++++ ./Doc/library/fcntl.rst 2014-07-03 11:54:04.342833056 +1000
+@@ -50,7 +50,6 @@ The module defines the following functio
operations are typically defined in the library module :mod:`termios` and the
argument handling is even more complicated.
Index: lang/python27/files/patch-Lib__distutils__unixccompiler.py
===================================================================
--- lang/python27/files/patch-Lib__distutils__unixccompiler.py
+++ lang/python27/files/patch-Lib__distutils__unixccompiler.py
@@ -4,7 +4,7 @@
--- ./Lib/distutils/unixccompiler.py.orig 2013-11-10 07:36:40.000000000 +0000
+++ ./Lib/distutils/unixccompiler.py 2014-02-19 15:41:48.000000000 +0000
-@@ -228,6 +228,8 @@
+@@ -228,6 +228,8 @@ class UnixCCompiler(CCompiler):
if sys.platform[:6] == "darwin":
# MacOSX's linker doesn't understand the -R flag at all
return "-L" + dir
Index: lang/python27/files/patch-Lib_distutils_command_build__scripts.py
===================================================================
--- /dev/null
+++ lang/python27/files/patch-Lib_distutils_command_build__scripts.py
@@ -0,0 +1,17 @@
+# Description: A non-invasive partial backport of the Python3 distutils behaviour.
+# This allows Python's scripts to be properly suffixed (similar to Python 3.x) on
+# installation.
+# Submitted by: mva
+
+--- Lib/distutils/command/build_scripts.py.orig 2014-07-26 09:52:20.000000000 UTC
++++ Lib/distutils/command/build_scripts.py 2014-07-26 09:52:56.000000000 UTC
+@@ -126,6 +126,9 @@ class build_scripts (Command):
+ file, oldmode, newmode)
+ os.chmod(file, newmode)
+
++ # XXX should we modify self.outfiles?
++ return outfiles
++
+ # copy_scripts ()
+
+ # class build_scripts
Index: lang/python27/files/patch-Lib_distutils_command_build_scripts.py
===================================================================
--- lang/python27/files/patch-Lib_distutils_command_build_scripts.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Description: A non-invasive partial backport of the Python3 distutils behaviour.
-# This allows Python's scripts to be properly suffixed (similar to Python 3.x) on
-# installation.
-# Submitted by: mva
-
---- Lib/distutils/command/build_scripts.py.orig 2014-07-26 11:52:20.000000000 +0200
-+++ Lib/distutils/command/build_scripts.py 2014-07-26 11:52:56.000000000 +0200
-@@ -126,6 +126,9 @@
- file, oldmode, newmode)
- os.chmod(file, newmode)
-
-+ # XXX should we modify self.outfiles?
-+ return outfiles
-+
- # copy_scripts ()
-
- # class build_scripts
Index: lang/python27/files/patch-Makefile.pre.in
===================================================================
--- lang/python27/files/patch-Makefile.pre.in
+++ lang/python27/files/patch-Makefile.pre.in
@@ -1,12 +1,12 @@
# Description: Link scripts in the same way Python3 does
# Submitted by: mva
---- Makefile.pre.in.orig 2014-06-30 04:05:39.000000000 +0200
-+++ Makefile.pre.in 2014-07-26 11:09:46.000000000 +0200
-@@ -868,6 +868,12 @@
- (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)
- -rm -f $(DESTDIR)$(LIBPC)/python.pc
- (cd $(DESTDIR)$(LIBPC); $(LN) -s python2.pc python.pc)
+--- Makefile.pre.in.orig 2014-06-30 02:05:39.000000000 UTC
++++ Makefile.pre.in 2014-07-26 09:09:46.000000000 UTC
+@@ -900,6 +900,12 @@ bininstall: altbininstall
+ (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)
+ -rm -f $(DESTDIR)$(LIBPC)/python.pc
+ (cd $(DESTDIR)$(LIBPC); $(LN) -s python2.pc python.pc)
+ -rm -f $(DESTDIR)$(BINDIR)/idle
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle2)
+ -rm -f $(DESTDIR)$(BINDIR)/pydoc
Index: lang/python27/files/patch-Modules-_ctypes-libffi-configure
===================================================================
--- lang/python27/files/patch-Modules-_ctypes-libffi-configure
+++ lang/python27/files/patch-Modules-_ctypes-libffi-configure
@@ -1,6 +1,6 @@
--- Modules/_ctypes/libffi/configure.orig 2014-12-16 08:10:12.000000000 +0100
+++ Modules/_ctypes/libffi/configure 2014-12-16 08:10:40.000000000 +0100
-@@ -7526,7 +7526,7 @@
+@@ -7526,7 +7526,7 @@ mips64*-*linux*)
rm -rf conftest*
;;
Index: lang/python27/files/patch-Modules___ctypes__libffi__src__arm__ffi.c
===================================================================
--- lang/python27/files/patch-Modules___ctypes__libffi__src__arm__ffi.c
+++ lang/python27/files/patch-Modules___ctypes__libffi__src__arm__ffi.c
@@ -3,8 +3,8 @@
# PR: ports/149167 ports/184517
# Patch by: cognet@ (to be upstreamed @ LLVM)
---- ./Modules/_ctypes/libffi/src/arm/ffi.c.orig 2013-11-10 18:36:41.000000000 +1100
-+++ ./Modules/_ctypes/libffi/src/arm/ffi.c 2013-12-03 18:05:51.461078888 +1100
+--- ./Modules/_ctypes/libffi/src/arm/ffi.c.orig 2013-11-10 07:36:41.000000000 UTC
++++ ./Modules/_ctypes/libffi/src/arm/ffi.c 2013-12-03 07:05:51.461078888 UTC
@@ -33,6 +33,11 @@
#include
@@ -17,7 +17,7 @@
/* Forward declares. */
static int vfp_type_p (ffi_type *);
static void layout_vfp_args (ffi_cif *);
-@@ -582,6 +587,16 @@
+@@ -751,6 +756,16 @@ ffi_closure_free (void *ptr)
#else
Index: lang/python27/files/patch-Modules__fcntlmodule.c
===================================================================
--- lang/python27/files/patch-Modules__fcntlmodule.c
+++ lang/python27/files/patch-Modules__fcntlmodule.c
@@ -1,6 +1,6 @@
--- ./Modules/fcntlmodule.c.orig 2014-07-03 21:57:10.429953240 +1000
+++ ./Modules/fcntlmodule.c 2014-07-03 21:59:36.517210444 +1000
-@@ -98,20 +98,15 @@
+@@ -98,20 +98,15 @@ fcntl_ioctl(PyObject *self, PyObject *ar
{
#define IOCTL_BUFSZ 1024
int fd;
@@ -24,7 +24,7 @@
int arg;
int ret;
char *str;
-@@ -119,7 +114,7 @@
+@@ -119,7 +114,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
int mutate_arg = 1;
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
@@ -33,7 +33,7 @@
conv_descriptor, &fd, &code,
&str, &len, &mutate_arg)) {
char *arg;
-@@ -170,7 +165,7 @@
+@@ -170,7 +165,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
}
PyErr_Clear();
@@ -42,7 +42,7 @@
conv_descriptor, &fd, &code, &str, &len)) {
if (len > IOCTL_BUFSZ) {
PyErr_SetString(PyExc_ValueError,
-@@ -192,7 +187,7 @@
+@@ -192,7 +187,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
PyErr_Clear();
arg = 0;
if (!PyArg_ParseTuple(args,
Index: lang/python27/files/patch-setup.py
===================================================================
--- lang/python27/files/patch-setup.py
+++ lang/python27/files/patch-setup.py
@@ -5,9 +5,9 @@
# Description: ossaudiodev detection fix backport
---- setup.py.orig 2014-06-30 04:05:48.000000000 +0200
-+++ setup.py 2014-07-26 14:51:29.000000000 +0200
-@@ -15,6 +15,7 @@
+--- setup.py.orig 2014-06-30 02:05:48.000000000 UTC
++++ setup.py 2014-07-26 12:51:29.000000000 UTC
+@@ -15,6 +15,7 @@ from distutils.core import Extension, se
from distutils.command.build_ext import build_ext
from distutils.command.install import install
from distutils.command.install_lib import install_lib
@@ -15,7 +15,7 @@
from distutils.spawn import find_executable
cross_compiling = "_PYTHON_HOST_PLATFORM" in os.environ
-@@ -33,7 +34,7 @@
+@@ -33,7 +34,7 @@ host_platform = get_platform()
COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
# This global variable is used to hold the list of modules to be disabled.
@@ -24,7 +24,7 @@
def add_dir_to_list(dirlist, dir):
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
-@@ -1212,7 +1213,7 @@
+@@ -1214,7 +1215,7 @@ class PyBuildExt(build_ext):
sysroot = macosx_sdk_root()
f = os.path.join(sysroot, f[1:])
@@ -33,7 +33,7 @@
data = open(f).read()
m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
if m is not None:
-@@ -1551,7 +1552,7 @@
+@@ -1553,7 +1554,7 @@ class PyBuildExt(build_ext):
macros = dict()
libraries = []
@@ -42,7 +42,7 @@
# FreeBSD's P1003.1b semaphore support is very experimental
# and has many known problems. (as of June 2008)
macros = dict()
-@@ -1602,9 +1603,10 @@
+@@ -1604,9 +1605,10 @@ class PyBuildExt(build_ext):
else:
missing.append('linuxaudiodev')
@@ -56,7 +56,7 @@
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
else:
missing.append('ossaudiodev')
-@@ -2176,6 +2178,22 @@
+@@ -2178,6 +2180,22 @@ class PyBuildInstallLib(install_lib):
def is_chmod_supported(self):
return hasattr(os, 'chmod')
@@ -79,7 +79,7 @@
SUMMARY = """
Python is an interpreted, interactive, object-oriented programming
language. It is often compared to Tcl, Perl, Scheme or Java.
-@@ -2221,7 +2239,9 @@
+@@ -2223,7 +2241,9 @@ def main():
platforms = ["Many"],
# Build info
@@ -90,7 +90,7 @@
'install_lib':PyBuildInstallLib},
# The struct module is defined here, because build_ext won't be
# called unless there's at least one extension module defined.
-@@ -2229,8 +2249,7 @@
+@@ -2231,8 +2251,7 @@ def main():
# Scripts to install
scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
Index: lang/python27/pkg-plist
===================================================================
--- lang/python27/pkg-plist
+++ lang/python27/pkg-plist
@@ -1436,8 +1436,8 @@
lib/python2.7/ensurepip/__main__.py
lib/python2.7/ensurepip/__main__.pyc
lib/python2.7/ensurepip/__main__.pyo
-lib/python2.7/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl
-lib/python2.7/ensurepip/_bundled/setuptools-7.0-py2.py3-none-any.whl
+lib/python2.7/ensurepip/_bundled/pip-6.1.1-py2.py3-none-any.whl
+lib/python2.7/ensurepip/_bundled/setuptools-15.2-py2.py3-none-any.whl
lib/python2.7/ensurepip/_uninstall.py
lib/python2.7/ensurepip/_uninstall.pyc
lib/python2.7/ensurepip/_uninstall.pyo
@@ -1782,9 +1782,9 @@
lib/python2.7/idlelib/tabbedpages.py
lib/python2.7/idlelib/tabbedpages.pyo
lib/python2.7/idlelib/tabbedpages.pyc
-lib/python2.7/idlelib/testcode.py
-lib/python2.7/idlelib/testcode.pyo
-lib/python2.7/idlelib/testcode.pyc
+lib/python2.7/idlelib/idle_test/test_io.py
+lib/python2.7/idlelib/idle_test/test_io.pyo
+lib/python2.7/idlelib/idle_test/test_io.pyc
lib/python2.7/idlelib/textView.py
lib/python2.7/idlelib/textView.pyo
lib/python2.7/idlelib/textView.pyc
@@ -2907,7 +2907,7 @@
lib/python2.7/test/decimaltestdata/tointegral.decTest
lib/python2.7/test/decimaltestdata/tointegralx.decTest
lib/python2.7/test/decimaltestdata/xor.decTest
-lib/python2.7/test/dh512.pem
+lib/python2.7/test/dh1024.pem
lib/python2.7/test/doctest_aliases.py
lib/python2.7/test/doctest_aliases.pyo
lib/python2.7/test/doctest_aliases.pyc
@@ -4090,6 +4090,9 @@
lib/python2.7/test/test_time.py
lib/python2.7/test/test_time.pyo
lib/python2.7/test/test_time.pyc
+lib/python2.7/test/test_timeit.py
+lib/python2.7/test/test_timeit.pyo
+lib/python2.7/test/test_timeit.pyc
lib/python2.7/test/test_timeout.py
lib/python2.7/test/test_timeout.pyo
lib/python2.7/test/test_timeout.pyc