Age | Commit message (Collapse) | Author | Files | Lines |
|
does not cause breakage.
Fixes build of e.g. syncthing-gtk.
From richard@
|
|
|
|
in egg.mk and simply forcing CHECK_PERMS_AUTOFIX=yes in extensions.mk
|
|
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.
|
|
group and others.
|
|
|
|
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@
|
|
|
|
USE_DESTDIR.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
tech-pkg@ and pkgsrc-users@.
|
|
it finding the native python versions
|
|
Remove now unnecessary overrides in various packages.
|
|
version number handling.
|
|
|
|
|
|
necessity of substituting EGG_NAME in PLISTs.
|
|
|
|
|
|
difference. Maybe we could consider extending how ${pkg} is matched.
|
|
|
|
|
|
|
|
Make it refer to textproc/py-X and textproc/py-X2 which do exist.
|
|
|
|
(as was the default for Python-2.x in this file).
py-distribute is by now obsolete, and py-setuptools the standard way.
|
|
|
|
Allow python-3.x by default.
|
|
mk/plist/print-plist.mk
to lang/python/extension.mk, handling reverse way.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
depending on python major version.
For now, this supports the dateutil module.
|
|
Upstream doesn't talk about it any longer, and python-3.3 is a drop-in
replacement.
Ok bsiegert, prlw1, rodent
|
|
|
|
test target.
|
|
|