summaryrefslogtreecommitdiff
path: root/lang/python-tools
Commit message (Collapse)AuthorAgeFilesLines
* lang/python-tools: Remove outdated PYTHON_REL check after lang/python38 ↵Po-Chuan Hsieh2025-04-091-7/+1
| | | | removal (ca15850a2b13f4fede0294d724e1d4a8edec8407)
* all: remove explicit versions in USES=python for "3.x+"Rene Ladan2023-06-271-1/+1
| | | | | | | | | | | | | | | | | | | The logic in USES=python will automatically convert this to 3.8+ by itself. Adjust two ports that only had Python 3.7 mentioned but build fine on Python 3.8 too. finance/quickfix: mark BROKEN with PYTHON libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option] QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found ^~~~~~~~~~ 1 warning and 1 error generated. Reviewed by: portmgr, vishwin, yuri Differential Revision: <https://reviews.freebsd.org/D40568>
* lang/python-tools: fix for python 3.9 and laterDmitry Marakasov2021-05-251-2/+9
| | | | | | While here, add NO_ARCH Approved by: portmgr blanket
* Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSIONDmitry Marakasov2021-05-251-3/+3
| | | | | | | | | | | This brings python framework in consistense with handbook recommendations to prefer DISTVERSION and simplifies adding prerelease versions of python PR: 255013 Differential Revision: https://reviews.freebsd.org/D29418 Exp-run by: antoine Approved by: wen@, no objection from python@ or portmgr@
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* Remove logic for Python < 3.6 for ports using Python 3.6+Rene Ladan2021-01-111-7/+1
| | | | Notes: svn path=/head/; revision=561252
* Drop python 2.7 support from a few portsAntoine Brodin2020-12-281-1/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=559531
* Bump a few PORTREVISIONs after r498529Antoine Brodin2019-04-101-0/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=498530
* Convert to USE_PYTHON=concurrent instead of doing it manually, and addMathieu Arnold2017-12-181-10/+7
| | | | | | | | | | | flavors. While there, cleanup a bit. Sponsored by: Absolight Notes: svn path=/head/; revision=456631
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464 Notes: svn path=/head/; revision=455210
* Improve shebangfix frameworkDmitry Marakasov2015-10-191-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Support multiple values in *_OLD_CMD, i.e. we can now fix both "/usr/bin/python" and "/usr/bin/env python" at the same time - Default *_OLD_CMD values are now always appended, so you don't need to specify them in individual ports - Add lua support (depends on USES=lua) - Add more default values, such as "/usr/bin/env foo" for python, perl, bash, ruby and lua - Shebangfix now matches whole words, e.g. we will no longer (erroneously) replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is still (correctly) replaced with "${perl_CMD} -tt") Note that *_OLD_CMD items containing spaces must now be quoted (e.g. perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl") Update shebangfix usage according to new rules in many ports: - Remove *_OLD_CMD for patterns now replaced by default - Quote custom *_OLD_CMD which contain spaces Fix shebangfix usage in many ports (irrelevant to infrastructure change): - Remove redundant SHEBANG_LANG (no need to duplicate default langs) - Remove redundant *_CMD (such as python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present) - Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for exact string Approved by: portmgr (bapt) Differential Revision: D3756 Notes: svn path=/head/; revision=399684
* Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for portsAntoine Brodin2015-07-291-1/+0
| | | | | | | | | | | | using python PR: 201077 Reviewed by: mat With hat: portmgr Differential Revision: https://reviews.freebsd.org/D2955 Notes: svn path=/head/; revision=393196
* lang/python-(tools,doc-html): Update to 2.7.10Bernard Spil2015-07-031-1/+1
| | | | | | | | | | | | | | | | | | | The FreeBSD Python team welcomes Python 2.7.10 to the Ports tree! Announcement: https://www.python.org/downloads/release/python-2710/ Changelog: https://hg.python.org/cpython/raw-file/v2.7.10/Misc/NEWS Important changes for this release: - Python 2.7.10 is a bug fix release of the Python 2.7.x series. - Fixes issues with LibreSSL 2.2+ PR: 192511, 201088 Differentialr Revision: D2637 Reviewed by: koobs (mentor), vsevolod (mentor), antoine Approved by: koobs (mentor) Notes: svn path=/head/; revision=391239
* Switch PYTHON_REL from a 3 digits number to a 4 digits number to handleAntoine Brodin2015-05-261-1/+1
| | | | | | | | | | python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva Notes: svn path=/head/; revision=387491
* MASTER_SITES cleanup.Mathieu Arnold2015-05-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | - Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=386312
* A selection of supplementary tools for the Python language, which ship withMarcus von Appen2014-08-182-0/+65
the Python default distribution. Phabric: D561 Reviewed by: antoine, koobs With hat: python@ Notes: svn path=/head/; revision=365326