summaryrefslogtreecommitdiff
path: root/lang/python
AgeCommit message (Collapse)AuthorFilesLines
2021-04-23pyversion.mk: handle more cmake module goopnia1-1/+14
2021-04-06added pygments to versioned_dependencies.mkadam1-2/+3
2021-03-10Added py-Pillow to versioned dependenciesadam1-2/+3
2021-02-17Removed cherrypy17 from versioned_dependencies.mkadam1-2/+2
2021-02-17Removed cherrypy17 from versioned_dependencies.mkadam1-2/+1
2021-01-20python/egg.mk: Increase quotinggdt1-2/+2
When building some package, I found that the lack of quoting of PYVERSSUFFIX caused a syntax error due to it ending up empty. Add quotes, which should be harmless to others and resolved the issue. (Leftover from the freeze.)
2020-12-19pyversion.mk: Do not create self-conflicts for incompatible versionsnia1-1/+3
This resolves a problem where graphics/py-cairo and graphics/py-cairo118 cannot be installed simulatenously despite not conflicting. PR pkg/55881
2020-12-04Switch the default Python version to 3.8nia1-3/+3
3.7 is currently in security fixes only mode, but 3.8 will continue to recieve a few more months of normal bug fixes. This should give us time to prep the tree for 3.9 (a few packages are not happy with 3.9 yet). 3.8 might be more problematic than 3.7 for Linuxes using older compilers where shm_open isn't detected probably (however this problem doesn't seem to be entirely absent in 3.7, as shown by certain packages like mozjs*?). According to the CentOS 7 folks on tech-pkg this should be possible to work around by using a newer compiler.
2020-10-15Explain why we haven't listed feedparser 5 and 6 here.schmonz1-1/+3
2020-10-10python39: added version 3.9.0adam1-6/+6
3.9.0 Release highlights New syntax features: PEP 584, union operators added to dict; PEP 585, type hinting generics in standard collections; PEP 614, relaxed grammar restrictions on decorators. New built-in features: PEP 616, string methods to remove prefixes and suffixes. New features in the standard library: PEP 593, flexible function and variable annotations; os.pidfd_open() added that allows process management without races and signals. Interpreter improvements: PEP 573, fast access to module state from methods of C extension types; PEP 617, CPython now uses a new parser based on PEG; a number of Python builtins (range, tuple, set, frozenset, list, dict) are now sped up using PEP 590 vectorcall; garbage collection does not block on resurrected objects; a number of Python modules (_abc, audioop, _bz2, _codecs, _contextvars, _crypt, _functools, _json, _locale, math, operator, resource, time, _weakref) now use multiphase initialization as defined by PEP 489; a number of standard library modules (audioop, ast, grp, _hashlib, pwd, _posixsubprocess, random, select, struct, termios, zlib) are now using the stable ABI defined by PEP 384. New library modules: PEP 615, the IANA Time Zone Database is now present in the standard library in the zoneinfo module; an implementation of a topological sort of a graph is now provided in the new graphlib module. Release process changes: PEP 602, CPython adopts an annual release cycle.
2020-10-06python: versioned_dependencies: support py-hypothesiswiz1-2/+3
2020-09-03python: support py-cairo in versioned_dependencies.mkwiz1-2/+3
2020-09-01python: support py-rsa in versioned_dependencieswiz1-1/+2
2020-09-01python: fix typo that broke setuptools selectionwiz1-2/+2
2020-08-31python: add versioned_dependencies support for py-setuptoolswiz2-3/+8
Handle both py-setuptools packages in egg.mk
2020-08-28python: fix typo in comment in extension.mkgutteridge1-2/+2
2020-07-01Added eliot to versioned dependenciesadam1-1/+2
2020-06-10python/extension.mk: Fix print-PLIST target to generate properly sorted PLISTsleot1-5/+5
Use EARLY_PRINT_PLIST_AWK instead of PRINT_PLIST_AWK so all the transformations are done before the file/directory lists generated as part of print-PLIST are sorted. Discussed on tech-pkg@: <https://mail-index.NetBSD.org/tech-pkg/2020/05/27/msg023249.html>
2020-05-16fix pytest->testadam1-3/+3
2020-05-16python: add pytest to versioned_dependencies.mkadam1-4/+5
2020-03-24replace-interpreter: make documentation more preciserillig1-2/+3
There are several places in pkgsrc where the files to be patched are listed individually instead of just saying util/*/*.sh. This is unnecessarily detailed. Encourage package authors to use filename patterns more often. An example is REPLACE_PYTHON in lang/clang, which currently fails because some of the listed files don't exist anymore.
2020-03-15lang/python: add show-all-pyversion targetrillig1-1/+21
When devel/py-flake8 is built with PYTHON_VERSION_DEFAULT=27, it nevertheless depends on py37-test-runner-5.2. This is surprising, and to help researching this issue, all Python-related variables can be listed using "bmake show-all-pyversion".
2020-03-13python: support html2text in versioned_dependencieswiz1-2/+3
Update help text.
2020-03-12python: support zipp for python 2.7wiz1-2/+2
2020-03-12lang/Makefile: + py-inflect.wiz1-2/+3
2020-01-08Always extract the full Python distfile for modules.joerg1-6/+2
This retires an old "optimisation" that over time has created more problems than it solved, including various questions from users about the ignored patch failures.
2019-12-15python: fix typo in comment in tool.mkgutteridge1-2/+2
2019-12-15Fix building internal modules for Python 3.8; clean-upsadam1-2/+2
2019-11-24python/tool.mk: Create linux-style python[2/3] wrappers automaticallynia1-6/+7
2019-11-15python: add support for more-itertools to versioned_dependencies.mkwiz1-1/+3
2019-10-21Added sphinx to Python versioned dependenciesadam1-2/+5
2019-10-15python38: added version 3.8.0adam1-6/+6
Major new features of the 3.8 series, compared to 3.7 PEP 572, Assignment expressions PEP 570, Positional-only arguments PEP 587, Python Initialization Configuration (improved embedding) PEP 590, Vectorcall: a fast calling protocol for CPython PEP 578, Runtime audit hooks PEP 574, Pickle protocol 5 with out-of-band data Typing-related: PEP 591 (Final qualifier), PEP 586 (Literal types), and PEP 589 (TypedDict) Parallel filesystem cache for compiled bytecode Debug builds share ABI as release builds f-strings support a handy = specifier for debugging continue is now legal in finally: blocks on Windows, the default asyncio event loop is now ProactorEventLoop on macOS, the spawn start method is now used by default in multiprocessing multiprocessing can now use shared memory segments to avoid pickling costs between processes typed_ast is merged back to CPython LOAD_GLOBAL is now 40% faster pickle now uses Protocol 4 by default, improving performance
2019-07-17lang/python: fix PYVERSSUFFIX escaping for print-PLISTrillig1-4/+4
Before, the filename "3270" was wrongly replaced with "${PYVERSSUFFIX}" since the version number "3.7", when interpreted as a regular expression, matched that filename.
2019-06-05lang/python: make built-in modules depend on distversionsjmulder1-1/+5
Built-in Python modules are built from extracted Python sources and therefere bound to that specific Python version. For example, trying to build a module from Python 2.7.16 against an installed Python 2.7.13 is likely to cause errors. This commit makes built-in Python modules depend on the full current Python version.
2019-05-02python: Remove reference to python-3.4.wiz1-2/+2
2019-04-26Remove 34 and 35 from python versions.roy1-6/+6
2019-04-24Default to python 3.7.maya1-3/+3
We don't want to end up defaulting to an EOL python by the end of this year, and would like to switch early in the branch. Waiting longer isn't wise.
2018-12-14extension.mk: remove PY_PEP3147, mention correct patch, clean-upadam1-13/+11
2018-11-13python: handle pythons with pymalloc option when setting PYTHONCONFIGmarkd1-1/+5
2018-10-19Always give full interpreter path to cmake.bsiegert1-4/+5
This was previously Darwin-only but I ran into the same situation when building finance/gnucash on NetBSD. /usr/pkg/bin/python happened to be 2.7, but it was used instead of python3.7, leading to a build failure. This commit fixes that.
2018-10-07Extend PYTHON_FOR_BUILD_ONLY to testryoon1-2/+4
2018-09-05-flup +cherrypyadam1-3/+3
2018-09-02python: fix a pkglint warningwiz1-2/+2
2018-07-03python37: added version 3.7.0adam2-8/+8
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-04-05python: allow :test in PYTHON_VERSIONED_DEPENDENCIESadam1-1/+3
2018-03-29Removed duplicated PYSETUPINSTALLARGSadam1-2/+1
2018-03-25Use parallel building for Python 3.5+ packagesadam1-1/+7
2018-01-09versioned_dependencies: remove ephem support, ephem3 was removedwiz1-3/+2
2017-11-26versioned_dependencies: remove gobject supportwiz1-3/+2
unused, and doesn't work as-is
2017-11-24versioned_dependencies.mk: stop supporting cairo, it was mergedwiz1-3/+2