summaryrefslogtreecommitdiff
path: root/lang/python33
AgeCommit message (Collapse)AuthorFilesLines
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-2/+2
2016-02-23A few years ago, a brilliant mind decided to hard-code DT_RUNPATH forjoerg3-10/+28
all platforms that use GNU ld. This is of course completely wrong. Some platforms have always implemented the sane semantic for DT_RPATH already and newer saw a reason for implementing the then-redundant DT_RUNPATH. Unbreak them by trusting the compiler to actually know what the platform default should be. Bump revision.
2016-02-23Use PKG_* compiler variables, fixes build with cwrappers.jperkin1-3/+3
2015-12-05What’s New In Python 3.5adam1-3/+3
New syntax features: * PEP 492, coroutines with async and await syntax. * PEP 465, a new matrix multiplication operator: a @ b. * PEP 448, additional unpacking generalizations. New library modules: * typing: PEP 484 – Type Hints. * zipapp: PEP 441 Improving Python ZIP Application Support. New built-in features: * bytes % args, bytearray % args: PEP 461 – Adding % formatting to bytes and bytearray. * New bytes.hex(), bytearray.hex() and memoryview.hex() methods. (Contributed by Arnon Yaari in issue 9951.) * memoryview now supports tuple indexing (including multi-dimensional). (Contributed by Antoine Pitrou in issue 23632.) * Generators have a new gi_yieldfrom attribute, which returns the object being iterated by yield from expressions. (Contributed by Benno Leslie and Yury Selivanov in issue 24450.) * A new RecursionError exception is now raised when maximum recursion depth is reached. (Contributed by Georg Brandl in issue 19235.) CPython implementation improvements: * When the LC_TYPE locale is the POSIX locale (C locale), sys.stdin and sys.stdout now use the surrogateescape error handler, instead of the strict error handler. (Contributed by Victor Stinner in issue 19977.) * .pyo files are no longer used and have been replaced by a more flexible scheme that includes the optimization level explicitly in .pyc name. (See PEP 488 overview.) * Builtin and extension modules are now initialized in a multi-phase process, which is similar to how Python modules are loaded. (See PEP 489 overview.) Significant improvements in the standard library: * collections.OrderedDict is now implemented in C, which makes it 4 to 100 times faster. * The ssl module gained support for Memory BIO, which decouples SSL protocol handling from network IO. * The new os.scandir() function provides a better and significantly faster way of directory traversal. * functools.lru_cache() has been mostly reimplemented in C, yielding much better performance. * The new subprocess.run() function provides a streamlined way to run subprocesses. * The traceback module has been significantly enhanced for improved performance and developer convenience. Security improvements: * SSLv3 is now disabled throughout the standard library. It can still be enabled by instantiating a ssl.SSLContext manually. (See issue 22638 for more details; this change was backported to CPython 3.4 and 2.7.) * HTTP cookie parsing is now stricter, in order to protect against potential injection attacks. (Contributed by Antoine Pitrou in issue 22796.) Windows improvements: * A new installer for Windows has replaced the old MSI. See Using Python on Windows for more information. * Windows builds now use Microsoft Visual C++ 14.0, and extension modules should use the same.
2015-11-16Add python2/python3 wrappers to respective lang/python?? packages.fhajny2-1/+3
Bump PKGREVISION for python27, python33 and python34.
2015-11-03Add SHA512 digests for distfiles for lang categoryagc1-1/+2
Problems found with existing digests: Package nhc98 distfile nhc98src-1.22.tar.gz a8adc8f22371998ee0657bc0e01058a57d876abc [recorded] 81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated] Problems found locating distfiles: Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2 Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2 Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz Package icc11: missing distfile l_cproc_p_11.1.080.tgz Package jini: missing distfile jini-1_2_1_001-src.zip Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2 Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk7: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz Package openjdk8: missing distfile openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz Package sun-jre6: missing distfile jce_policy-6.zip Package sun-jre6: missing distfile jre-6u45-linux-x64.bin Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-07Now that _STRIPFLAG_INSTALL is disabled by default on Darwin, remove manualjperkin1-6/+1
settings of INSTALL_UNSTRIPPED=yes for Darwin in individual packages.
2015-05-27Restore PLIST.nis/PLIST.no-nis support, lost at some point during updates.dholland1-2/+3
From Kamil Rytarowski in PR 49915.
2015-04-24Fix build with LibreSSL. From:rodent16-53/+186
https://hg.python.org/cpython/rev/6f23bc5d480e and defuzz patches.
2015-03-16Fix a MAKE_JOBS safety problem. In the recipe for Python/importlib.h ittnn3-9/+16
launches a submake for _freeze_importlib before all the object files have been compiled. List $(LIBRARY_OBJS_OMIT_FROZEN) as dependencies to make it wait until it is safe to launch the submake. Should fix occasional errors of the sort: Python/Python-ast.o: file not recognized: File truncated *** [Modules/_freeze_importlib] Error code 1
2015-01-22Like the other versions of Python available in our tree, do not trim the librarysevan2-10/+19
name on FreeBSD Resolves packing issue which causes the package to fail
2015-01-11Make python33 and 34 build under Mac OS X by copying over compat hack frombsiegert1-1/+7
python27. From J. Lewis Muir. Note that the correct way to solve this is to do this in the Darwin specific config files, but until that has landed, this at least fixes the build.
2015-01-06Tobias Nygren reports this needs MAKE_JOBS_SAFE=no -- make it so.he1-1/+3
2015-01-01Update to 3.3.6.he10-145/+31
Python 3.3.6 was released on October 11, 2014. Python 3.3.6 includes fixes for a few of our previously added patches, as well as other important security-related fixes. Local changes: rename the configure patch, remove now-included patches. Upstream list of changes for this version: Core and Builtins ----------------- - Issue #22518: Fixed integer overflow issues in "backslashreplace", "xmlcharrefreplace", and "surrogatepass" error handlers. - Issue #22520: Fix overflow checking when generating the repr of a unicode object. - Issue #22519: Fix overflow checking in PyBytes_Repr. - Issue #22518: Fix integer overflow issues in latin-1 encoding. Library ------- - Issue #22517: When a io.BufferedRWPair object is deallocated, clear its weakrefs. - Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes and send a 414 error code for higher lengths. Patch contributed by Devin Cook. - Lax cookie parsing in http.cookies could be a security issue when combined with non-standard cookie handling in some Web browsers. Reported by Sergey Bobrov. - Issue #21766: Prevent a security hole in CGIHTTPServer by URL unquoting paths before checking for a CGI script at that path. - Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second parameter. Bug reported by Guido Vranken. - Issue #20633: Replace relative import by absolute import. - Issue #21082: In os.makedirs, do not set the process-wide umask. Note this changes behavior of makedirs when exist_ok=True. - Issue #20875: Prevent possible gzip "'read' is not defined" NameError. Patch by Claudiu Popa. - Issue #11599: When an external command (e.g. compiler) fails, distutils now prints out the whole command line (instead of just the command name) if the environment variable DISTUTILS_DEBUG is set. - Issue #4931: distutils should not produce unhelpful "error: None" messages anymore. distutils.util.grok_environment_error is kept but doc-deprecated. - Issue #20283: RE pattern methods now accept the string keyword parameters as documented. The pattern and source keyword parameters are left as deprecated aliases. - Issue #21323: Fix http.server to again handle scripts in CGI subdirectories, broken by the fix for security issue #19435. Patch by Zach Byrne. Tests ----- - Issue #17752: Fix distutils tests when run from the installed location. - Issue #20946: Correct alignment assumptions of some ctypes tests. - Issue #20939: Fix test_geturl failure in test_urllibnet due to new redirect of http://www.python.org/ to https://www.python.org.
2014-07-02Add a fix, test-case and note for directory traversal vulnerability, ref.he5-3/+57
http://bugs.python.org/issue21766 Bump PKGREVISION.
2014-06-11avoid conflicting declaration of gethostname on SunOSrichard3-3/+22
2014-05-31Fix _multiprocessing import under DragonFly/amd64, fix packagingryoon3-25/+7
2014-05-15Add fix for CVE-2014-2667.wiz3-3/+61
Bump PKGREVISION.
2014-05-10fixes again, for the case pkgsrc openssl is prefered than builtin old openssl.obache2-3/+12
2014-05-09Fix building on OS Xadam2-12/+3
2014-05-09Remove cargo-cult message file.jperkin1-8/+0
2014-05-09Restrict to find openssl header files in SSLBASE/include.obache3-11/+36
Fixes unwanted detection of builtin openssl over prefered pkgsrc one.
2014-03-27Disable spwd module, same as other python version.obache5-9/+8
It is provided as devel/py-spwd in pkgsrc. Bump PKGREVISION.
2014-03-20Copy relevant 5 PLIST-mangling lines from extension.mk,wiz1-4/+6
so the bulk builds are hopefully happy again.
2014-03-14Trigger PY_PEP3147=yes in PYTHON_VERSION_DEFAULT={26,27} case.ryoon1-1/+4
Fix build when PYTHON_VERSION_DEFAULT={26,27}.
2014-03-12Include lang/python/extension.mk to get saner PLISTs.wiz5-2721/+2722
2014-03-12Update to 3.3.5:wiz4-9/+32
Python 3.3.5 was released on March 9th, 2014. Python 3.3.5 includes fixes for these important issues: a 3.3.4 regression in zipimport (see http://bugs.python.org/issue20621) a 3.3.4 regression executing scripts with a coding declared and Windows newlines (see http://bugs.python.org/issue20731) potential DOS using compression codecs in bytes.decode() (see http://bugs.python.org/issue19619 and http://bugs.python.org/issue20404) and also fixes quite a few other bugs. This release fully supports OS X 10.9 Mavericks. In particular, this release fixes an issue that could cause previous versions of Python to crash when typing in interactive mode on OS X 10.9.
2014-03-10Force the use of clang on Snow Leopard, the llvm-backed gcc is unable tojperkin1-1/+8
compile Python 3.3 correctly, and as per http://bugs.python.org/issue13241 the Python developers are uninterested in fixing this.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-1/+2
2014-02-11Changed 3.3.4:adam5-30/+61
PEP 380, syntax for delegating to a subgenerator (yield from) PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds) A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications The import system (__import__) is based on importlib by default The new "lzma" module with LZMA/XZ support PEP 397, a Python launcher for Windows PEP 405, virtual environment support in core PEP 420, namespace package support PEP 3151, reworking the OS and IO exception hierarchy PEP 3155, qualified name for classes and functions PEP 409, suppressing exception context PEP 414, explicit Unicode literals to help with porting PEP 418, extended platform-independent clocks in the "time" module PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code PEP 362, the function-signature object The new "faulthandler" module that helps diagnosing crashes The new "unittest.mock" module The new "ipaddress" module The "sys.implementation" attribute A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing A "collections.ChainMap" class for linking mappings to a single unit Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()" Hash randomization, introduced in earlier bugfix releases, is now switched on by default
2014-02-11Fixes SA56624, taken from upstream.obache3-2/+23
Bump PKGREVISION.
2013-12-06Fix packaging on FreeBSD: OSS audio.asau1-0/+2
2013-11-21Changes 3.3.3:adam4-70/+92
PEP 380, syntax for delegating to a subgenerator (yield from) PEP 393, flexible string representation (doing away with the distinction between "wide" and "narrow" Unicode builds) A C implementation of the "decimal" module, with up to 120x speedup for decimal-heavy applications The import system (__import__) is based on importlib by default The new "lzma" module with LZMA/XZ support PEP 397, a Python launcher for Windows PEP 405, virtual environment support in core PEP 420, namespace package support PEP 3151, reworking the OS and IO exception hierarchy PEP 3155, qualified name for classes and functions PEP 409, suppressing exception context PEP 414, explicit Unicode literals to help with porting PEP 418, extended platform-independent clocks in the "time" module PEP 412, a new key-sharing dictionary implementation that significantly saves memory for object-oriented code PEP 362, the function-signature object The new "faulthandler" module that helps diagnosing crashes The new "unittest.mock" module The new "ipaddress" module The "sys.implementation" attribute A policy framework for the email package, with a provisional (see PEP 411) policy that adds much improved unicode support for email header parsing A "collections.ChainMap" class for linking mappings to a single unit Wrappers for many more POSIX functions in the "os" and "signal" modules, as well as other useful functions such as "sendfile()" Hash randomization, introduced in earlier bugfix releases, is now switched on by default
2013-11-10Fixes missing rpath in pkg-config file.obache1-2/+4
Bump PKGREVISION.
2013-09-10Always pass rpath argument with -Wl prefix, especially if clang is not calledjoerg3-3/+17
gcc. Bump revision.
2013-08-09Copy the patch which disables use of Posix semaphores on NetBSDdrochner3-2/+19
from Python2 to Python3. Without that, selftests fail in multiple places. bump PKGREV
2013-08-02Fixes:adam3-5/+23
* building some modules (lzma) on Darwin (use PREFIX, instead of /usr/local, to look for libraries) * building decimal module on certain enviroments (use relative path to look for includes, as absolute path might get rejected by a wrapper)
2013-07-15* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yesryoon1-2/+1
are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk".
2013-05-26Update to 3.3.2:wiz7-50/+73
3.3.2 This release fixes a few regressions found in Python 3.3.1. Complete list at http://docs.python.org/release/3.3.2/whatsnew/changelog.html 3.3.1 This is a 3.3 series bugfix release. It includes hundreds of bugfixes over 3.3.0. Complete list at http://docs.python.org/release/3.3.1/whatsnew/changelog.html
2013-05-19dylib entry not needed in PLIST.Darwinadam1-2/+1
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-2/+2
2012-12-25The PY_PLATNAME on Linux is now 'linux'.sbd1-3/+3
2012-12-25configure needs the path to mkdir as its used in installed files.sbd1-1/+2
2012-12-13Pull in archivers/xz, required to build the _lzma module on systems whichjperkin1-1/+2
do not include xz in the base system. Fixes the package on most OS.
2012-12-13Fix syntax error.jperkin2-4/+4
2012-12-11sha256 and sha512 modules are now built for newer openssl as well;wiz2-15/+8
remove unnecessary conditional that broke build on NetBSD-6.99.15/amd64. While here, replace another interpreter and skip one more file since it gets replaced much later. Bump PKGREVISION.
2012-12-10Add Python 3.3.0tsarna23-0/+5186