summaryrefslogtreecommitdiff
path: root/Mk/Uses/python.mk (follow)
Commit message (Collapse)AuthorAgeFilesLines
* framework: Remove $FreeBSD$Mathieu Arnold2021-04-061-2/+0
| | | | Where appropriate fiddle with a few other things.
* Clean up PYTHON_PYOEXTENSION (followup of r500018)Sunpoet Po-Chuan Hsieh2021-03-301-7/+0
| | | | | | | PYTHON_PYOEXTENSION is only used by 2 ports (astro/weather and math/py-rpy2) now. Notes: svn path=/head/; revision=569588
* Fix typoSunpoet Po-Chuan Hsieh2021-03-031-1/+1
| | | | Notes: svn path=/head/; revision=567242
* - Fix ports build with python3.9Wen Heping2021-02-231-1/+1
| | | | | | | Submitted by: jbeich@ Notes: svn path=/head/; revision=566379
* Make USES=python without argument mean 3.6+.Mathieu Arnold2021-02-041-3/+7
| | | | | | | | | | This is getting us one step further to deorbitting Python 2.7. Reviewed by: rene, antoine, swills Differential Revision: https://reviews.freebsd.org/D28459 Notes: svn path=/head/; revision=564032
* Mk/Uses/python.mk: Remove PY_SPHINX shared macroDanilo G. Baio2021-01-151-2/+0
| | | | | | | | | | | | This shared macro was necessary to use with flavors and not break ports with USES=python (all versions). All ports that depends on Sphinx are using the latest version on tree. Approved by: python (with hat) Notes: svn path=/head/; revision=561645
* Remove now unused PY_IPADDRESS and PY_TYPING and their ports.Rene Ladan2021-01-121-8/+0
| | | | Notes: svn path=/head/; revision=561375
* Remove unused PY_PATHLIB references and its definition.Rene Ladan2021-01-101-2/+0
| | | | | | | The port itself (devel/py-pathlib) was already removed. Notes: svn path=/head/; revision=561087
* Follow up on devel/py-futures port removal in r559976Rene Ladan2021-01-051-6/+0
| | | | | | | | | | | | | | | The devel/py-futures port was removed in r559976 as it was for Python 2.7 only and no longer referenced in the default cases. However it was still defined in Mk/Uses/python.mk in PY_FUTURES, leaving a dangling reference. Remove it from Mk/Uses/python.mk and from affected ports, as it was already an empty definition for Python 3.6+ Bump minimal Python version of security/theonionbox to 3.6+ Notes: svn path=/head/; revision=560434
* Follow up on graphics/py-pillow6 port removal in r559976Rene Ladan2021-01-051-1/+0
| | | | | | | | | | | | | | The graphics/py-pillow6 port was removed in r559976 as it was for Python 2.7 only and no longer referenced in the default cases. However it was still defined in Mk/Uses/python.mk in PY_PILLOW, leaving a dangling reference. Remove it from Mk/Uses/python.mk, leaving only the Python 3 version of that port, graphics/py-pillow, defined and bump the minimal verion of Python to 3.6 for affected ports. Notes: svn path=/head/; revision=560425
* Mk/Uses/python.mk: introduce PYTHON_EXT_SUFFIX variableDima Panov2020-12-241-0/+8
| | | | | | | | | | | | | Since Python-3.8.7 it uses unified with other platforns shared libs naming scheme: instead of plain .so suffix now it refers to used cpython: .cpython-${PYTHON_SUFFIX}.so Future Python releases will use this scheme too, it will be hooked via version check PR: 252057 Approved by: python (wen) Notes: svn path=/head/; revision=559071
* Update PY_PYGMENTSSunpoet Po-Chuan Hsieh2020-12-191-2/+2
| | | | | | | textproc/py-jupyterlab-pygments requires textproc/py-pygments between 2.4.1 and 3 (>=2.4.1,<3) Notes: svn path=/head/; revision=558662
* Update PY_SPHINXSunpoet Po-Chuan Hsieh2020-11-081-2/+2
| | | | | | | textproc/py-furo requires textproc/py-sphinx 3.0 Notes: svn path=/head/; revision=554634
* - Repocopy lang/python38 --> lang/python39 and update to 3.9.0Wen Heping2020-10-121-4/+4
| | | | | | | | PR: 250160 Submitted by: wen@(myself) Notes: svn path=/head/; revision=552126
* Add "env" to the list of python.mk's valid argsMateusz Piotrowski2020-09-281-1/+1
| | | | | | | Now the list mentions all the supported arguments. Notes: svn path=/head/; revision=550424
* Update PY_PYGMENTSSunpoet Po-Chuan Hsieh2020-09-211-2/+2
| | | | | | | devel/py-readme_renderer requires textproc/py-pygments 2.5.1 Notes: svn path=/head/; revision=549526
* textproc/py-pygments is no longer compatible with python27 so add a ↵Antoine Brodin2020-09-211-0/+2
| | | | | | | | | PY_PYGMENTS variable With hat: portmgr Notes: svn path=/head/; revision=549438
* Unregister expired Python 3.5Rene Ladan2020-09-191-4/+4
| | | | Notes: svn path=/head/; revision=549060
* python.mk: Mention python 3.8Li-Wen Hsu2020-09-081-1/+1
| | | | Notes: svn path=/head/; revision=547969
* devel/mercurial: Update to 5.5 and flavorize. Adjust dependency lines and ↵Gleb Popov2020-09-061-1/+7
| | | | | | | | | | bump PORTREVISION's for ports that depend on mercurial. PR: 242463 Submitted by: Peter Wullinger <freebsd@dhke.de> (original patch) Notes: svn path=/head/; revision=547798
* Mk/Use/python.mk: Do not surround package list entries in quotesJoseph Mingrone2020-09-011-1/+2
| | | | | | | | | | | | | | When python package lists are generated by distutils, any file entry that includes a space will be surrounded in double quotes. This is unnecessary and causes problems elsewhere such as when stripping ${PREFIX} for staging or checking the package list in stage-qa. PR: 248981 Approved by: kevans, portmgr (mat), python (koobs) Differential Revision: https://reviews.freebsd.org/D26221 Notes: svn path=/head/; revision=547280
* Cosmetic changeSunpoet Po-Chuan Hsieh2020-07-241-2/+2
| | | | Notes: svn path=/head/; revision=543220
* Update PYNUMPYSunpoet Po-Chuan Hsieh2020-07-091-1/+1
| | | | | | | science/py-geometer requires math/py-numpy between 1.15 and 1.20 (>=1.15,<1.20) Notes: svn path=/head/; revision=541802
* Update SphinxDanilo G. Baio2020-05-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Repocopy textproc/py-sphinx to textproc/py-sphinx18 Update it to 1.8.5 (latest version from 1.8.X). This version supports Python 2 and 3. Add test target. - textproc/py-sphinx: Update to 3.0.2 Python 3 only (3.5+). Add test target. - Mk/Uses/python.mk: Add PY_SPHINX Shared macro to use with flavors and not break ports with USES=python (all versions). Python >=3.5 --> textproc/py-sphinx (v3.0.2) Python < 3.5 --> textproc/py-sphinx18 (v1.8.5) All ports that uses sphinx were changed to use the new variable ${PY_SPHINX} in the dependency line, exceptions: * Ports that fails to build with sphinx 3.0.2 because of code. They are pointing to textproc/py-sphinx18 directly. There aren't many ports. * Ports that doesn't know Python flavors. - Add several patches to fix Sphinx consumers The most common issues are related with pkg-plist, the output files from Sphinx changes between versions, keep this dynamically is the better approach. This will save time in future sphinx updates. PR: 245629 Exp-run by: antoine Notes: svn path=/head/; revision=534966
* Automatically mark ports as DEPRECATED when they use Python 2.Mathieu Arnold2020-05-061-0/+5
| | | | | | | | Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D24732 Notes: svn path=/head/; revision=534166
* Update PY_TYPINGSunpoet Po-Chuan Hsieh2020-05-021-1/+1
| | | | | | | devel/py-tenacity requires devel/py-typing 3.7.4.1 Notes: svn path=/head/; revision=533649
* Update PYNUMPYSunpoet Po-Chuan Hsieh2020-04-211-1/+1
| | | | | | | astro/py-metpy requires math/py-numpy 1.16.0 Notes: svn path=/head/; revision=532396
* py-enum-compat is available for all flavors of pythonAntoine Brodin2020-04-011-2/+0
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=530200
* Update PY_ENUM34Sunpoet Po-Chuan Hsieh2020-03-311-1/+1
| | | | | | | devel/py-clikit requires devel/py-enum34 between 1.1 and 2.0 (>=1.1,<2.0) Notes: svn path=/head/; revision=530162
* Add a PY_PILLOW that can be used to choose between graphics/py-pillowAntoine Brodin2020-03-241-0/+2
| | | | | | | | | and graphics/py-pillow6 With hat: portmgr Notes: svn path=/head/; revision=529061
* Add a developer warning to ports using python:2.7Antoine Brodin2020-02-231-3/+5
| | | | | | | | With hat: portmgr Differential Revision: https://reviews.freebsd.org/D23757 Notes: svn path=/head/; revision=526946
* Update PYNUMPYSunpoet Po-Chuan Hsieh2020-02-041-1/+1
| | | | | | | science/py-geometer requires math/py-numpy between 1.15 and 1.19 (>=1.15,<1.19) Notes: svn path=/head/; revision=525219
* Update PYNUMPYSunpoet Po-Chuan Hsieh2020-02-021-1/+1
| | | | | | | devel/py-xarray requires math/py-numpy 1.15 Notes: svn path=/head/; revision=524923
* Update PY_ENUM34Sunpoet Po-Chuan Hsieh2020-01-311-1/+1
| | | | | | | devel/py-glance-store requires devel/py-enum34 1.0.4. Notes: svn path=/head/; revision=524741
* Fix packaging of some python ports after r523104Antoine Brodin2020-01-151-1/+2
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=523159
* Update PY_IPADDRESSSunpoet Po-Chuan Hsieh2020-01-131-1/+1
| | | | | | | mail/py-mail-parser requires net/py-ipaddress 1.0.23 Notes: svn path=/head/; revision=522959
* Cleanup after removing PYTHON_VERSION from DEPENDS_ARGS.Mathieu Arnold2020-01-091-39/+2
| | | | | | | | | | | | | Much of the Python version selection code had compat shims around to accomodate the transition from before to with flavors. These can now be removed. PR: 243185 Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D23084 Notes: svn path=/head/; revision=522487
* Remove the legacy way of passing Python version.Mathieu Arnold2020-01-091-4/+0
| | | | | | | | | | | | | This was used before flavors were a thing to make sure if you built port A with some python version, and it needed port B, port B would also be built with the same python version. PR: 243185 Reviewed by: antoine Differential Revision: https://reviews.freebsd.org/D23084 Notes: svn path=/head/; revision=522485
* Switch default version of python3 and python from 3.6 to 3.7Antoine Brodin2019-12-161-1/+1
| | | | | | | | With hat: portmgr PR: 233770 Notes: svn path=/head/; revision=520219
* Adjust PYTHON_ABIVER for python 3.8Antoine Brodin2019-11-061-2/+2
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=516889
* - Repocopy lang/python37 --> python38 and update to 3.8.0Wen Heping2019-11-021-1/+1
| | | | | | | | | PR: 241416 Submitted by: wen@(myself) Reviewed by: koobs@, amdmi3@ Notes: svn path=/head/; revision=516377
* Update PY_TYPINGSunpoet Po-Chuan Hsieh2019-08-041-1/+1
| | | | | | | devel/py-typing-extensions requires py-typing 3.7.4+. Notes: svn path=/head/; revision=508114
* Uses/python.mk: Clarify language, messaging and usage for <version-spec>Kubilay Kocak2019-07-031-27/+36
| | | | | | | | | | | | | | | | | | | | Make it clear that <version-spec> is a declarative not imperative specification to declare what version of Python a port or software *supports*, not the versions it should *use*. The version that gets selected is a function of Python.mk, DEFAULT_VERSIONS which change over time, and can be overridden or otherwise set by the user. While I'm here, add a special note about bare USES=python (without a <version-spec>), which is likely to be deprecated at some point down the line. In the meantime, describe what the semantics of not specifying a <version-spec> entails, and encourage minimisation of its use where appropriate. Approved by: koobs (python, maintainer) Notes: svn path=/head/; revision=505730
* - Update python version in comment, remove deprecated version.Wen Heping2019-07-031-10/+10
| | | | Notes: svn path=/head/; revision=505727
* Update PY_FUTURESSunpoet Po-Chuan Hsieh2019-06-231-1/+1
| | | | | | | security/theonionbox requires py-futures>=3.2. Notes: svn path=/head/; revision=504981
* Introduce PY_TYPING and simplify MakefileSunpoet Po-Chuan Hsieh2019-05-311-0/+6
| | | | | | | | | Since devel/py-promise requires 3.6.4+, the minimal version is set to 3.6.4. With hat: python Notes: svn path=/head/; revision=503133
* Update comment for PYTHON_PKGNAMESUFFIXSunpoet Po-Chuan Hsieh2019-04-271-4/+5
| | | | | | | The deprecated comment was added in r364450 (bsd.python.mk to Uses/python.mk transition) but it is not. Notes: svn path=/head/; revision=500253
* Remove PYTHON_PYOEXTENSION from plist substitutionsAntoine Brodin2019-04-251-3/+1
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=500018
* Mk/Uses/python.mk: Flag unknown USES=python args and unknown USE_PYTHON featuresTobias Kortkamp2019-04-181-0/+21
| | | | | | | | | PR: 235901 Approved by: mat Differential Revision: https://reviews.freebsd.org/D19569 Notes: svn path=/head/; revision=499257
* PYTHON_VERSION cannot be changed, use DEFAULT_VERSIONS.Mathieu Arnold2019-01-161-5/+2
| | | | | | | PR: 224024 Notes: svn path=/head/; revision=490485