summaryrefslogtreecommitdiff
path: root/lang/python
AgeCommit message (Collapse)AuthorFilesLines
2016-06-01Check for directory existence inside an "if", so that non-existencewiz1-3/+4
does not cause breakage. Fixes build of e.g. syncthing-gtk. From richard@
2016-05-30Remove CHECK_PERMS_AUTOFIX=yes. It breaks unprivileged bulk builds as-is.wiz1-3/+1
2016-05-28Rectify fixup-python-writeable-source by putting egg-infodir related fixuprichard2-7/+10
in egg.mk and simply forcing CHECK_PERMS_AUTOFIX=yes in extensions.mk
2016-05-21Back to the basic problem... check-perms.mk issues warnings/errors on textrichard1-3/+4
files installed group and/or world writeable so only search and fix in DESTDIR. This avoids touching any files used during build at the same time.
2016-05-20NONBINMODE is too restrictive, just remove the writable bit forwiz1-2/+2
group and others.
2016-05-19Set the PYTHON_INCLUDE_PATH form too, as used by e.g. weechat.jperkin1-1/+2
2016-05-07Fixup python modules with improper file mode on source files.richard1-1/+6
This will set all normal files to NONBINMODE (=644) avoiding, in the first place, install warnings and errors about world and/or group writeability. Some modules may even be shipped with egg-info files having mode 600 which has an adverse side-effect of wreaking havoc with setuptools find_package() for *any* python module after installation of the culprit. Ensuring world and group readability fixes this anomaly. ok'd by wiz@
2016-04-11update PKG_{FAIL,SKIP}_REASON with +=dbj1-2/+2
2016-04-10Adjust checks for _USE_DESTDIR != no or incorrect references tojoerg2-7/+2
USE_DESTDIR.
2016-02-25Use OPSYSVARS.jperkin1-5/+3
2015-12-27Add a PRINT_PLIST_AWK pattern for python-3.5.wiz1-1/+2
2015-12-05Python 3.5 standard modules albo require clinicadam1-1/+5
2015-12-05What’s New In Python 3.5adam3-15/+16
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-07-12Add gobject.rodent1-1/+2
2015-05-03Add a versioned dependency for py-dialog, suggested by wiz@ ages ago.bsiegert1-1/+2
2015-04-14Remove more references to python-2.6.wiz1-1/+2
2015-04-13Removing python26. EOL'd quite some ago and discussed a couple times onrodent3-10/+9
tech-pkg@ and pkgsrc-users@.
2015-01-27manually set CMAKE's PYTHON_INCLUDE_DIR and PYTHON_EXECUTABLE to avoiddbj1-1/+6
it finding the native python versions
2014-12-31Improve EGG_NAME default to work for packages with '-' in their name.wiz2-4/+4
Remove now unnecessary overrides in various packages.
2014-12-17Bump py-setuptools dependency to 0.8 since that version changedwiz1-2/+2
version number handling.
2014-12-14time/py-dateutil support py3k now.obache1-2/+2
2014-12-13devel/py-unittest2 support py3x now.obache1-2/+1
2014-12-06Make EGG_INFODIR available for use in Makefiles. Clarify comment regardingrodent1-5/+7
necessity of substituting EGG_NAME in PLISTs.
2014-12-05+google-api-python-clientrodent1-1/+2
2014-06-07Add python-digestwiz1-1/+2
2014-06-02Rollback last commit. This is not going to work due to package namerodent1-2/+1
difference. Maybe we could consider extending how ${pkg} is matched.
2014-06-02+digestrodent1-1/+2
2014-05-10Let to be failed if no suituable python version.obache1-1/+4
2014-05-09Add python34 support and simplify.obache1-32/+15
2014-04-02x11/py-X and x11/py-X2 don't exist.asau1-2/+2
Make it refer to textproc/py-X and textproc/py-X2 which do exist.
2014-01-31Add unittest2.wiz1-1/+2
2014-01-26Do not use py-distrbute with Python 3.x, but always use py-setuptoolswiz1-5/+1
(as was the default for Python-2.x in this file). py-distribute is by now obsolete, and py-setuptools the standard way.
2014-01-25Remove support for PYTHON_PATCH_SCRIPTS; use REPLACE_PYTHON.wiz1-6/+3
2014-01-25Remove PYTHON_VERSIONS_INCLUDE_3X.wiz1-14/+2
Allow python-3.x by default.
2014-01-24Move PY_PEP3147 specific PRINT_PLIST handling from common ↵obache1-1/+4
mk/plist/print-plist.mk to lang/python/extension.mk, handling reverse way.
2014-01-23Fix syntax; fix variable evaluation problem.wiz1-4/+4
2014-01-23Add support for "foo:link" and "foo:build" for link dependencieswiz1-6/+15
and build dependencies. For link dependencies, the corresponding buildlink3.mk file will be included (instead of DEPENDS). For build dependencies, BUILD_DEPENDS is used (instead of DEPENDS). Add cairo support.
2014-01-20+ ephemwiz1-1/+2
2014-01-20Add X.wiz1-1/+2
2014-01-18Revert unintended commit; pkgsrc not ready yet.wiz1-2/+14
2014-01-18Support Pmw.wiz2-15/+4
2014-01-18Support flup.wiz1-1/+2
2014-01-18Add jsoblib support (currently unused).wiz1-1/+2
2014-01-18Add quoting in the hope it fixes NetBSD 5's make(1)'s problems.wiz1-2/+2
2014-01-17Add py-dns/py-dns3 support.wiz1-1/+2
2014-01-16Add support for python package modules having different pkgsrc packageswiz1-0/+37
depending on python major version. For now, this supports the dateutil module.
2014-01-12Remove python32 as proposed a week ago on pkgsrc-users.wiz3-19/+11
Upstream doesn't talk about it any longer, and python-3.3 is a drop-in replacement. Ok bsiegert, prlw1, rodent
2013-11-10Add a package settable `PY_PEP3147=no' for the case PEP 3147 is not supported.obache1-1/+5
2013-10-30Only define do-test target for the case package itself does not define ownobache1-1/+3
test target.
2013-10-29Restore PY_PATCHPLIST line, lost in previous (hi tron!)wiz1-1/+2