aboutsummaryrefslogtreecommitdiff
path: root/lang/python37
Commit message (Collapse)AuthorAgeFilesLines
* lang/python37: Use ECHO_CMD instead of ECHOPo-Chuan Hsieh2021-07-181-2/+2
|
* lang/python*: sort pkg-plistsDmitry Marakasov2021-07-141-12/+12
| | | | | | | Sort pkg-plists to reduce diff between existing and future versions of python. Approved by: portmgr blanket (cosmetic change)
* lang/python*: Replace DISABLED_EXTENSIONS with Setup.localDanilo G. Baio2021-07-082-69/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, lang/python38 and lang/python39 don't honor DISABLED_EXTENSIONS because patch-issue20210 was removed when lang/python38 was added to the ports tree. patch-issue20210 is still present on lang/python36 and lang/python37. Building with poudriere is not affected because builds are executed in a clean environment. Setup.local is the more canonical and recommended method for customizing Python builds for shared extensions & third party libraries. Support for a *disabled* marker in Setup files was introduced in Python 3.7, so backport this fix to it to keep consistency in the ports tree. PR: 243358 [1] PR: 243937 [2] Reported by: ngie [1] Reported by: jcfyecrayz@liamekaens.com [2] Reported by: tuxillo (IRC) DPorts Reviewed by: koobs (python, maintainer) Approved by: koobs, dbaio (python, maintainer) MFH: 2021Q3 (build bugfix) Differential Revision: https://reviews.freebsd.org/D31086
* lang/python37: Update to 3.7.11Po-Chuan Hsieh2021-07-063-5/+4
| | | | Changes: https://docs.python.org/release/3.7.11/whatsnew/changelog.html
* Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSIONDmitry Marakasov2021-05-252-7/+7
| | | | | | | | | | | 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@
* *: Remove unnecessary 'port' argument from USES=readlineYasuhiro Kimura2021-05-151-1/+1
| | | | | PR: 248459 Exp-run by: antoine
* lang/python37: Use libmpdec from portsStefan Krah2021-05-113-3/+47
| | | | | | - Bump PORTREVISION for dependency and package change PR: 253601
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-062-2/+0
|
* - Update python37 to 3.7.10Wen Heping2021-02-273-5/+4
| | | | | | | | | PR: 253757 Submitted by: wen@ Exp-run by: antoine@ Notes: svn path=/head/; revision=566655
* lang/python3{6,7,8,9}: Backport close_range patchesKyle Evans2020-10-144-51/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | Worked out over BPO-40422 and BPO-40423, this is the culmination of months of work to coordinate with Linux and get close_range(2) added to FreeBSD, then the usage accepted into CPython. It has landed for Python 3.10 and here I've backported it locally to all the supported Python 3 versions we have. Note that this does include and supercede our previous closefrom(2) patches. There was a lot of intersection between the work done, so this patch against the ports tree does remove those patches from each of the ports in favor of this patch. All the patches involved have been accepted and merged upstream. This patch will bring a performance boost in some more situations on 12.2 and 13.0, as close_range exists there. There is one additional patch sitting in an upstream PR that shuffles the _Py_closerange implementation into a different file -- this is not important for the backport, and the absence of that patch here will not realistically cause any issues. PR: 250322 Approved by: lwhsu (python) Notes: svn path=/head/; revision=552351
* - Update to 3.7.9(security update)Wen Heping2020-08-264-5/+5
| | | | | | | | | | | PR: 248753 Submitted by: wen@(myself) Exp-run by: antoine@ MFH: 2020Q3 Security: CVE-2020-15801, CVE-2020-15523, CVE-2020-14422 Notes: svn path=/head/; revision=546286
* Chanse update of devel/libffiNiclas Zeising2020-07-041-0/+1
| | | | | | | | | | | | | Chase the devel/libffi update Bump portrevision of all dependent ports to chace shard library version bump in libffi. Update LIB_DEPENDS lines where needed to not require a specific version of libffi.so. PR: 247028 (for tracking) Notes: svn path=/head/; revision=541232
* - Update to 3.7.8(include security fix)Wen Heping2020-07-024-16/+8
| | | | | | | | | | PR: 247630 Submitted by: wen@ Exp-run by: antoine@ MFH: 2020Q3 Notes: svn path=/head/; revision=541063
* lang/python37: Fix security issuesDanilo G. Baio2020-06-132-1/+10
| | | | | | | | | | | | | | | | | The patches for CVE-2019-18348 and CVE-2020-8492 are in the 3.7 branch and will be present on the next release. Patch for applying CVE-2020-8492 fix here in the ports tree was reported and submitted by Dani <i.dani@outlook.com>. PR: 246808 MFH: 2020Q2 X-MFH-with: 536770, 536776 Security: ca595a25-91d8-11ea-b470-080027846a02 (CVE-2019-18348) Security: a27b0bb6-84fc-11ea-b5b4-641c67a117d8 (CVE-2020-8492) Notes: svn path=/head/; revision=538670
* Fix build with various python ABIAntoine Brodin2020-05-281-4/+4
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=536776
* Recompile _sysconfigdata.py after reinplacing itAntoine Brodin2020-05-281-0/+6
| | | | | | | | PR: 246618 With hat: portmgr Notes: svn path=/head/; revision=536770
* - Update to 3.7.7Wen Heping2020-03-193-17/+10
| | | | | | | | | | | - Remove the LIBFFI option PR: 244782 Submitted by: wen@(myself) Exp-run by: antoine@ Notes: svn path=/head/; revision=528692
* Clean up plistAntoine Brodin2020-03-011-3/+3
| | | | Notes: svn path=/head/; revision=527556
* - Update to 3.7.6Wen Heping2019-12-234-5/+8
| | | | | | | | | PR: 242770 Submitted by: wen@(myself) Exp-run by: antoine@ Notes: svn path=/head/; revision=520724
* lang/python{27,35,36,37,38}: Add closefrom(2) supportKubilay Kocak2019-11-293-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A single close(fd) syscall is cheap, but when MAXFDS (maximum file descriptor number) is high, the loop calling close(fd) on each file descriptor can take several milliseconds. The default value of subprocess.Popen "close_fds" parameter changed to True in Python 3. Compared to Python 2, close_fds=True can make Popen 10x slower: see bpo-37790 [1] The present workaround on FreeBSD to improve performance is to load and mount the fdescfs kernel module, but this is not enabled by default. This change adds minimum viable (and upstreamable) closefrom(2) syscall support to Python's subprocess and posix modules, improving performance significantly for loads that involve working with many processes, such as diffoscope, ansible, and many others. For additional optimizations, upstream recently (3.8) landed posix_spawn(2) support [3] and has stated that they will adopt close_range(2) after Linux merges it [4]. Linux/FreeBSD developers are already collaborating on ensuring compatible implementations, with FreeBSD's implementation pending in D21627. [5] Thank you emaste, cem, kevans for providing analysis, input, clarifications, comms/upstream support and patches. [1] https://bugs.python.org/issue37790 [2] https://bugs.python.org/issue38061 [3] https://bugs.python.org/issue35537 [4] https://lwn.net/Articles/789023/ [5] https://reviews.freebsd.org/D21627 Additional References: https://bugs.python.org/issue8052 https://bugs.python.org/issue11284 https://bugs.python.org/issue13788 https://bugs.python.org/issue1663329 https://www.python.org/dev/peps/pep-0446/ PR: 242274, 221700 Submitted by: kevans (emaste, cem) Approved by: koobs (python (maintainer), santa) Notes: svn path=/head/; revision=518640
* - Replace 37 with %%XY%% in pkg-plistWen Heping2019-10-201-18/+18
| | | | Notes: svn path=/head/; revision=514876
* - Update python37 to 3.7.5(include security fix)Wen Heping2019-10-193-22/+22
| | | | | | | MFH: 2019Q4 Notes: svn path=/head/; revision=514821
* Drop the ipv6 virtual category for l* category as it is not relevant anymoreBaptiste Daroussin2019-10-091-1/+1
| | | | Notes: svn path=/head/; revision=514140
* onvert to UCL & cleanup pkg-message (categories l-m)Mathieu Arnold2019-08-131-4/+6
| | | | Notes: svn path=/head/; revision=508882
* - Update to 3.7.4Wen Heping2019-07-104-5/+13
| | | | | | | | | (include security fix: https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-4-final) MFH: 2019Q3 Notes: svn path=/head/; revision=506331
* Update devel/readline to 8.0Sunpoet Po-Chuan Hsieh2019-04-091-0/+1
| | | | | | | | | | | - Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine Notes: svn path=/head/; revision=498476
* Add note to update python documentation (lang/python-doc-*)Sunpoet Po-Chuan Hsieh2019-03-291-0/+2
| | | | Notes: svn path=/head/; revision=497138
* Update to 3.7.3Sunpoet Po-Chuan Hsieh2019-03-263-10/+12
| | | | | | | | | Changes: https://docs.python.org/3.7/whatsnew/changelog.html Security: bcc4de965c36f6dea4e6ebcd4289a915 MFH: 2019Q1 Notes: svn path=/head/; revision=496917
* - Fix build in presence of e2fsprogs-libuuidDmitry Marakasov2018-12-311-0/+6
| | | | | | | | PR: 229562 Reported by: many Notes: svn path=/head/; revision=488798
* - Update to 3.7.2Wen Heping2018-12-264-18/+27
| | | | Notes: svn path=/head/; revision=488355
* Remove compatibility code for FreeBSD < 11.2 from all ports.Rene Ladan2018-11-022-18/+1
| | | | | | | | | | Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724 Notes: svn path=/head/; revision=483807
* - Replace 37with %%XY%%Wen Heping2018-10-211-6/+6
| | | | Notes: svn path=/head/; revision=482667
* - Update to 3.7.1Wen Heping2018-10-214-23/+105
| | | | Notes: svn path=/head/; revision=482664
* lang/python27,35+: Remove MAKE_JOBS_UNSAFEKubilay Kocak2018-10-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ports r393217 via bug 200622 [1] originally set MAKE_JOBS_UNSAFE=yes due to incorrect uses of recursive make [2], causing intermittent build failures when run with multiple jobs (-jN). Upstream committed a fix for the issue in default (3.6, at the time), 3.5 and 2.7 which are now contained in all released lang/python?? port versions. 3.4 did not receieve a backport merge. lang/python3.5+ ports inadvertently inherited MAKE_JOBS_UNSAFE=yes, via repocopies from lang/python34 on their creation, when they were infact safe to use with -j. Remove MAKE_JOBS_UNSAFE in all lang/python?? ports except python34 accordingly. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200622 [2] https://bugs.python.org/issue22359 PR: 232308 Reported by: cem Reviewed by: cem Approved by: koobs (python) MFH: 2018Q4 Differential Revision: D17579 Notes: svn path=/head/; revision=482271
* Remove THREADS optionSunpoet Po-Chuan Hsieh2018-08-261-6/+3
| | | | | | | | | | | | | | - Bump PORTREVISION for package change Support for building --without-threads has been removed. The threading module is now always available. PR: 230605 Submitted by: Roland Smith <rsmith@xs4all.nl> Reference: https://docs.python.org/3/whatsnew/3.7.html Notes: svn path=/head/; revision=478157
* lang/python3?: Fix python3.?-config behavior when symlinkedTobias Kortkamp2018-07-262-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | When python3.?-config is symlinked to another location it starts outputting bogus paths. For example $ pwd /home/tobias $ python3.6-config --includes -I/usr/local/include/python3.6m -I/usr/local/include/python3.6m $ ln -s /usr/local/bin/python3.6-config python3-config $ ./python3-config --includes -I/home/include/python3.6m -I/home/include/python3.6m This breaks ports trying to use BINARY_ALIAS together with python3.?-config. Apply a patch to resolve the symlink first before trying to find the install prefix. PR: 229749 Submitted by: tobik Reviewed by: antoine, miwi Approved by: python (miwi) Notes: svn path=/head/; revision=475350
* - Bump PORTREVISON after r474267Martin Wilke2018-07-091-0/+1
| | | | | | | | Reported by: mat Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=474270
* - Added a warning for FBSD10Martin Wilke2018-07-091-2/+3
| | | | | | | | PR: 229640 Sponsored by: iXsystems Inc. Notes: svn path=/head/; revision=474267
* - Repocopy lang/python36 --> lang/python37 and update to 3.7.0Wen Heping2018-07-0610-0/+7296
Notes: svn path=/head/; revision=473992