pkgsrc/lang/python/srcdist.mk
adam 74b47a89d4 python37: added version 3.7.0
Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Among the major new features in Python 3.7 are:

PEP 539, new C API for thread-local storage
PEP 545, Python documentation translations
New documentation translations: Japanese, French, and Korean.
PEP 552, Deterministic pyc files
PEP 553, Built-in breakpoint()
PEP 557, Data Classes
PEP 560, Core support for typing module and generic types
PEP 562, Customization of access to module attributes
PEP 563, Postponed evaluation of annotations
PEP 564, Time functions with nanosecond resolution
PEP 565, Improved DeprecationWarning handling
PEP 567, Context Variables
Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode)
The insertion-order preservation nature of dict objects is now an official part of the Python language spec.
Notable performance improvements in many areas.
2018-07-03 03:55:40 +00:00

23 lines
635 B
Makefile

# $NetBSD: srcdist.mk,v 1.37 2018/07/03 03:55:40 adam Exp $
.include "../../lang/python/pyversion.mk"
.sinclude "${.CURDIR}/${PYPKGSRCDIR}/dist.mk"
PYSUBDIR= ${DISTNAME}
WRKSRC= ${WRKDIR}/${PYSUBDIR}
.if defined(PYDISTUTILSPKG)
# This is used for standard modules shipped with Python but build as
# separate packages.
. if ${PYVERSSUFFIX} == "3.5" || ${PYVERSSUFFIX} == "3.6" || ${PYVERSSUFFIX} == "3.7"
EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic
. endif
python-std-patchsetup:
${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
<${FILESDIR}/setup.py >${WRKSRC}/setup.py
post-extract: python-std-patchsetup
.endif