summaryrefslogtreecommitdiff
path: root/lang/python
AgeCommit message (Collapse)AuthorFilesLines
2022-12-01pyversion.mk: Add comment explaining usagegdt1-2/+5
2022-11-30Removed devel/py-isort4, devel/py-lama7, also from versioned_dependencies.mkadam1-8/+2
2022-11-08Rewrite versioned Python dependency handling to deal with more than justjoerg1-56/+106
py27 vs py3.
2022-11-06lang/python: Drop 37 from default PYTHON_VERSIONS_ACCEPTEDgdt1-3/+3
While python 3.7 is not EOL, many python packages are acting as if it is, and the resulting fallout in bulk builds is making it difficult to assess real breakage. Following discussion on pkgsrc-users, where only one person said they wanted to use 3.7 in pkgsrc, 37 is being dropped from ACCEPTED, but the package remains, at least for now. Anyone who wants to use 3.7 can set PYTHON_VERSIONS_ACCEPTED in mk.conf or locally modify pyversion.mk. Shortly, I will drop 37 from PYTHON_VERSIONS_ACCEPTED from 6 packages that set it, so that there will be essentially no py37-foo packages built by default. We will no longer allow adding 37 to PYTHON_VERSIONS_ACCEPTED. It remains fine to add 37 to PYTHON_VERSIONS_INCOMPATIBLE, but 37-inspired changes that cause failures for people with a default pyversion.mk should be avoided.
2022-10-31Support Python 3.11adam1-6/+6
2022-10-19fighting a losing battle against the py-cryptography rustification, part 4nia1-1/+6
Add support for py-OpenSSL to versioned_dependencies.mk
2022-10-19Make sure both the searched package and the found package match.nia1-2/+2
2022-10-19python: Special handling of py-cryptography for versioned_dependencies.mknia1-2/+6
2022-10-02pyversion.mk: Define PYPKGPREFIX in error casegdt1-1/+3
The specification for pyversion.mk says that it defines PYPKGPREFIX and PYVERSSUFFIX. Various buildlink files rely on these being defined, as they are tested without guarding them for being empty. When there is no valid python version, _PYTHON_VERSION was set to "none", and PKG_FAIL_REASON defined, so the user gets a reasonable error. However, if a buildlink3 uses an unguarded PYPKGPREFIX, a syntax error results, and the PKG_FAIL_REASON is not display. This commit defines the two variables to "none" in the case of no valid version, mirroring the treatment of _PYTHON_VERSION and correcting a failure to follow the specification. In this case the build is going to fail one way or another, but it's vastly better to have a useful error message. (Tested earlier, but deferred during freeze.)
2022-09-11python: remove twisted support from versioned_dependencieswiz1-3/+2
2022-09-06python: Allow PYDISTUTILSPKG to be overridden on a per-package basis.nia3-7/+7
This is useful for allowing packages that install python egg metadata to benefit from the PRINT_PLIST_AWK defined in egg.mk even if they don't actually use setup.py or normal Python build tools.
2022-08-24python: add support for coverage to versioned_dependencies.mkwiz1-2/+3
2022-08-24python: support py-test-cov in versioned_dependencieswiz1-2/+3
2022-08-23python: add py-dns support to versioned_dependencieswiz1-2/+3
2022-07-20python: remove html2text support from versioned_dependencieswiz1-3/+2
2022-07-20py-python-digest: removewiz1-3/+2
Not used any longer, use py-python3-digest
2022-07-20python: remove pyparsing support from versioned_dependencieswiz1-3/+2
2022-07-12python: remove support for docstyle from versioned_dependencieswiz1-3/+2
2022-07-12python: remove zipp support from versioned_dependencieswiz1-3/+2
2022-07-10python: remove sphinx support from versioned_dependencieswiz1-3/+2
2022-07-03python: add chardet to versioned_dependencieswiz1-2/+3
2022-06-30python: Bump default version to 3.10.nia1-3/+3
2022-06-22python: add pyphen to help in versioned_dependencies.mkwiz1-2/+2
2022-06-22Correct order for pyphen entry.joerg1-2/+2
2022-06-21Support version dependend location of py-pyphenjoerg1-1/+2
2022-06-18python: add docstyle to versioned_dependencieswiz1-2/+3
2022-06-18py-isort4: convert lama dependency to versioned_dependencieswiz1-2/+3
2022-06-07py-Pmw{,2}: removewiz1-3/+2
No users left in pkgsrc.
2022-05-22wheel.mk: Also substitute PYVERSSUFFIX for FILES_SUBST.kleink1-1/+4
ok wiz
2022-05-01py-testtools24: removewiz1-3/+2
dependencies do not support python 2.x any longer, and this is limited to python 2.x
2022-04-29py-ipython5: remove, not used any longerwiz1-6/+3
2022-04-21versioned_dependencies: add py-cryptographywiz1-2/+3
2022-04-19add jinja2 to versioned dependenciestnn1-2/+3
2022-04-03egg.mk: add some comments about setuptools {TOOL_,}DEPENDSwiz1-1/+4
2022-04-03python: Fix cross-build with pkg_resources.riastradh1-3/+2
setuptools must still be in TOOL_DEPENDS because we run it during the build; for pkg_resources it must _also_ be in DEPENDS because the built package needs it to run.
2022-02-13versioned_dependencies.mk: support py-twistedwiz1-2/+3
2022-02-08python: fix typo in comment in egg.mkgutteridge1-2/+2
2022-02-07wheel.mk: also substitute PYVERSSUFFIXwiz1-1/+2
2022-01-31versioned_dependencies: support py-mccabewiz1-2/+3
2022-01-31versioned_dependencies: support clickwiz1-2/+3
2022-01-29py-jsonlib: remove python 2.x version of py-jsonlib3wiz1-3/+2
No user in pkgsrc, no upstream changes since 2010
2022-01-29python: support flake8 in versioned_dependencieswiz1-2/+3
2022-01-27python: support testtools as versioned dependencywiz1-2/+3
2022-01-25wheel.mk: no pyo files for wheelswiz1-3/+2
2022-01-25python/wheel.mk: add PLIST code for pyc/pyowiz1-1/+14
TODO: clean up/merge with extension.mk
2022-01-25versioned_dependencies.mk: add importlib-metadatawiz1-2/+3
2022-01-13wheel.mk: build: use long options for readabilitywiz1-2/+2
2022-01-13*: setuptools_scm: switch to versioned_dependencieswiz1-2/+3
2022-01-13wheel: use --no-cache-dir when calling pipwiz1-2/+2
Avoids a warning, and we don't want to use it anyway
2022-01-12python: update comments for *.mkwiz2-34/+21
Also, remove PY_NO_EGG support, unused