aboutsummaryrefslogtreecommitdiff
path: root/lang/python38/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* lang/python38: remove and unregister, it reached end-of-life in October 2024Rene Ladan2025-03-311-149/+0
| | | | This has to be done in one commit to avoid breaking INDEX
* lang/python38: Update to 3.8.20Po-Chuan Hsieh2024-09-151-1/+0
| | | | Changes: https://docs.python.org/release/3.8.20/whatsnew/changelog.html
* lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after ↵Po-Chuan Hsieh2024-04-131-1/+0
| | | | 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
* lang/python3*: bump PORTREVISION following mpdecimal updateRobert Clausecker2024-03-191-1/+1
| | | | | | The mpdecimal update changes the soname; bump dependent ports. PR: 276444
* lang/python38: Deprecate/Set to expireKai Knoblich2024-02-081-0/+3
| | | | | | | | * Python 3.8 will reach its End-of-Life on 2024-10. Set the expiration date accordingly. Approved by: lwhsu (python, maintainer) Differential Revision: https://reviews.freebsd.org/D43345
* lang/python38: Impelled to share/manMuhammad Moinur Rahman2024-01-231-0/+2
| | | | Approved by: portmgr (blanket)
* */*: Sunset 12.4-RELEASE/12-STABLE from ports treeMuhammad Moinur Rahman2023-12-311-4/+0
| | | | | | | | | | | | | | | | | | | | | - Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
* lang/python38: Clean up unnecessary PLIST_SUBPo-Chuan Hsieh2023-10-051-3/+1
| | | | | | | | - Remove XY: Replace .cpython-%%XY%% with %%PYTHON_EXT_SUFFIX%% - Remove XYDOT: - Replace lib/python%%XYDOT%% with %%PYTHON_LIBDIR%% - Replace %%XYDOT%% with %%PYTHON_VER%% - Rename XYZDOT to DISTVERSION
* lang/python38: Update to 3.8.17Wen Heping2023-06-071-1/+0
|
* lang/python: restore USES=python variables and SUB_LIST (no-op)Charlie Li2023-02-271-6/+2
| | | | | Has been a to do item for time. These are independent from but used by the bytecode trigger.
* lang/python: Revert "add bytecode trigger"Matthias Andree2023-02-271-4/+7
| | | | | | | | | This reverts commit c17ddfbf66e2801ec620d49979aca3d7077d7002. This causes breakage on several ports, and the next iteration requires a full exp-run. See: Differential Revision: https://reviews.freebsd.org/D34739
* lang/python3: allow using LTO on powerpc64Piotr Kubaj2023-02-241-1/+0
| | | | | It was recently fixed and will be available in 13.2-RELEASE. Since LTO is not enabled by default, it's ok to make it available.
* lang/python: add bytecode triggerCharlie Li2023-02-151-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Facilitates compiling, writing and removing bytecode files (.pyc) in site-packages after all pkg transactions have been completed. Technical details: https://wiki.freebsd.org/Python/CompiledPackages Fixes reports of Python port builds as root failing on filesystem violations due to bytecode file writes where the port did not include them in the package. For those ports/packages that currently package bytecode, some checksum mismatches on those files may occur. This is harmless and will be rectified, in large as part of a USE_PYTHON=distutils overhaul to reduce churn. While here, implement a long-standing todo item of letting lang/python ports use python.mk bits. Not only does this obviate duplicate variables in each Makefile, but SUB_LIST (also added) is used for these triggers. Co-authored by: tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D34739
* lang/python38: Update to 3.8.16Wen Heping2022-12-081-1/+0
|
* lang/python*: Support FreeBSD divert(4) socketWen Heping2022-11-141-0/+1
| | | | | | PR: 267648 Reported by: glebius@ Exp-run by: antoine@
* lang/python38: Update to 3.8.14Wen Heping2022-09-071-1/+0
|
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* lang: remove 'Created by' linesTobias C. Berner2022-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A big Thank You to the original contributors of these ports: * Aaron Dalton <aaron@FreeBSD.org> * Adam Weinberger <adamw@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alex Dupre <ale@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alonso Cardenas Marquez <acm@FreeBSD.org> * Andreas Klemm <andreas@klemm.gtn.com> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Zakhvatov * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Shterenlikht * Ashish SHUKLA <ashish@FreeBSD.org> * Bob Eager <bob@eager.cx> * Bruce M Simpson * Bruce M. Simpson * Christoph Mallon <christoph.mallon@gmx.de> * Christopher Elkins <chrise@scardini.com> * Christopher Key <cjk32@cam.ac.uk> * Chuck Robey <chuckr@FreeBSD.org> * Cyrille Lefevre <clefevre@citeweb.net> * Dan Rench <citric@cubicone.tmetic.com> * Danilo Egea Gondolfo <danilogondolfo@gmail.com> * Dario Freni <saturnero@gufi.org> * David Kalliecharan <dave@dal.ca> * David Naylor <dbn@FreeBSD.org> * David Naylor <dbn@dragon.local> * David O'Brien (obrien@NUXI.com) * David O'Brien (obrien@NUXI.org) * David O'Brien <obrien@NUXI.org> * David O'Brien <obrien@cs.ucdavis.edu> * Dereckson <dereckson@gmail.com> * Devon H. O'Dell <devon.odell@gmail.com> * Dmitry Sivachenko <demon@FreeBSD.org> * Don Croyle <croyle@gelemna.org> * Douglas Anestad <yotta@dougdidit.com> * Edwin Groothuis (edwin@mavetju.org) * Edwin Groothuis <edwin@mavetju.org> * Eugene Ossintsev * Frank Fischer * Frank Gruender <elwood@mc5sys.in-berlin.de> * Frederic Cambus * Gea-Suan Lin <gslin@gslin.org> * Gerald Pfeifer <gerald@FreeBSD.org> * Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> * GreenDog <fiziologus@gmail.com> * Gustau Perez i Querol <gustau.perez@gmail.com> * Guy Antony Halse <guy@rucus.ru.za.za> * Herve Quiroz <hq@FreeBSD.org> * Hye-Shik Chang * Hye-Shik Chang <perky@fallin.lv> * Hye-Shik Chang <perky@python.or.kr> * Iblis Lin <iblis@hs.ntnu.edu.tw> * James Bailie <jimmy@mammothcheese.ca> * James FitzGibbon <jfitz@FreeBSD.org> * Jean-Sébastien Pédron <dumbbell@FreeBSD.org> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jeff Brown <jabrown@caida.org> * Jeremy Norris <ishmael27@home.com> * Jing-Tang Keith Jang <keith@FreeBSD.org> * John Hein <jhein@symmetricom.com> * John Marino <marino@FreeBSD.org> * John Merryweather Cooper * John Merryweather Cooper <coop9211@uidaho.edu> * John Merryweather Cooper et al * Joseph Koshy <jkoshy@FreeBSD.org> * Josh Elsasser <jre@vineyard.net> * Josh Gilliam <josh@quick.net> * Julian H. Stacey <jhs@FreeBSD.org> * Julian Stecklina * Jyun-Yan You <jyyou@cs.nctu.edu.tw> * Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com> * Kimura Fuyuki <fuyuki@hadaly.org> * Kimura Fuyuki <fuyuki@mj.0038.net> * Kimura Fuyuki <fuyuki@nigredo.org> * Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> * Kubilay Kocak <koobs@FreeBSD.org> * Lars Thegler <lth@FreeBSD.org> * Lev Walkin <vlm@lionet.info> * Li-Wen Hsu <lwhsu@FreeBSD.org> * Mahdi Mokhtari <mokhi64@gmail.com> * Marcin Cieslak <saper@SYSTEM.PL> * Martin Matuska <mm@FreeBSD.org> * Matthew Hunt <mph@FreeBSD.org> * Michael Butschky <butsch@computi.erols.com> * Michael Johnson <ahze@FreeBSD.org> * Mitsuru YOSHIDA <mitsuru@riken.jp> * Muhammad Moinur Rahman <5u623l20@gmail.com> * Neal Nelson <ports@nicandneal.net> * Nicola Vitale <nivit@FreeBSD.org> * Nils M Holm <nmh@t3x.org> * Oliver Braun <obraun@informatik.unibw-muenchen.de> * Oliver Breuninger <ob@seicom.NET> * Patrick Li <pat@databits.net> * Pawel Worach <pawel.worach@gmail.com> * Pedro F. Giffuni <giffunip@asme.org> * Pedro Giffuni * Pedro Giffuni <giffunip@asme.org> * Pete French <pete@twisted.org.uk> * Peter Schuller <peter.schuller@infidyne.com> * Peter van Heusden <pvh@egenetics.com> * Phillip Neumann <pneumann@gmail.com> * Piotr Kubaj <pkubaj@anongoth.pl> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Pontus Stenetorp <ninjin@kth.se> * Ralf S. Engelschall <rse@engelschall.com> * Rick van der Zwet <rick@wzoeterwoude.net> * Rob Zinkov * Roland Jesse <roland.jesse@gmx.net> * Romain Tartiere <romain@blogreen.org> * Ryan Steinmetz <zi@FreeBSD.org> * Sahil Tandon <sahil@tandon.net> * Sergei Kolobov <sergei@kolobov.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Simon Marlow <simonmar@microsoft.com> * Simun Mikecin <numisemis@yahoo.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Stephen Weeks <sweeks@sweeks.com> * Steven G. Kargl * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * Thomas Gellekum <tg@FreeBSD.org> * Timothy Beyer <beyert@cs.ucr.edu> * Timothy Bourke <timbob@bigpond.com> * Tom Judge <tj@FreeBSD.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vitaly Magerya <vmagerya@gmail.com> * Wen Heping <wenheping@gmail.com> * Wen Heping <wenhping@gmail.com> * Wes Peters <wes@softweyr.com> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yukihiro Nakai <Nakai@technologist.com> * Yukihiro Nakai <nakai@FreeBSD.org> * Zach Garner <zach@neurosoft.org> * aaron@FreeBSD.org * andrewb@cs.cmu.edu * arved * chinsan * chuckr * dd * erik@smluc.org * gahr * gahr@FreeBSD.org * gpalmer * hsu * ijliao * jasone * jkh * jkoshy * jmacd * jmacd@FreeBSD.org * jmz * js@jeannot.org * jseger@FreeBSD.org * kappa@FreeBSD.org.ua * kbyanc * msmith@gsoft.com.au * mutoh@openedu.org * netchild@FreeBSD.org * patrick * pst * rene@FreeBSD.org * ruslan@shevchenko.kiev.ua * stas * tobez With hat: portmgr
* devel/libffi: Bump deps PORTREVISION for shlib changeKevin Bowling2022-05-091-1/+1
| | | | | PR: 263764 Reported by: VVD <vvd@unislabs.com>
* lang/python3{7,8,9,10}: remove LTO from defaultsPiotr Kubaj2022-04-271-1/+2
| | | | | | | LTO is still default in python3.11 because it uses thin LTO. Requested by: koobs PR: 263353
* lang/python38: Update to 3.8.13Wen Heping2022-03-241-1/+0
| | | | | | PR: 262607 Reported by: wen@ Exp-run by: antoine@
* lang/python3*: add LTO option and enable by default everywhere except ↵Piotr Kubaj2022-03-091-3/+7
| | | | | | | powerpc64 and riscv64 PR: 261974 Approved by: python (koobs got his commit bit revoked during review process)
* lang/python3(6|7|8|9|10|11): work around unwanted multiarch detection againDimitry Andric2021-11-261-2/+1
| | | | | | | | | | | In ports 6bef09666460 we patched out python's erroneous multiarch detection using sed, but upstream changed the surrounding parts in the configure script to defeat the regex we were using. Update the regex to cope with the change. PR: 259896, 258377 MFH: 2021Q4 Approved by: maintainer timeout (9 days)
* lang/python3X: Fix library installationThierry Thomas2021-10-131-0/+2
| | | | | | | | | | | | | | | | | The Python ports install the library libpython3.x.so under $PREFIX/lib, and they set USE_LDCONFIG, but these libraries are not registered, due to a missing symlink, and they are not found by `ldconfig -r'. This commit make them to be registered, and for some reason it helps the dynamic linker to find them, and this allows to fix an error in french/aster. It also helps to fix errors in newer releases of math/sage (not yet ready to be committed due to other problems). No exp-run, but it has been tested with many ports on several platforms. PR: 257864 Approved by: koobs (Python team) MFH: 2021Q4
* lang/python3([6-9]|10): disable detection of multiarchDimitry Andric2021-09-271-0/+4
| | | | | | | | | | | | | | It breaks with clang >= 13, which adds a major.minor version number in -print-multiarch output, and the dot confuses Python: ModuleNotFoundError: No module named '_sysconfigdata__freebsd14_x86_64-unknown-freebsd14' Since we do not support multiarch, and the configure script has no way to disable the multiarch check, stub it out during post-patch. PR: 258377 Approved by: maintainer timeout (2 weeks) MFH: 2021Q3
* lang/python3[89]: Fix build WITH_DEBUGFukang Chen2021-08-191-1/+0
| | | | | | | | | | | | | | Python 3.8 [0] and 3.9 [1] are using a value for "EXT_SUFFIX" that includes "SOABI" on FreeBSD, C extension module filenames are affected by this change [2]. [0]: https://github.com/python/cpython/commit/b01091a3e71e6636d2df4db45920e820cdf7df3b [1]: https://github.com/python/cpython/commit/4b155967b3e743cbdc31600f13f1bfcf07f7b6ce [2]: https://github.com/python/cpython/blob/v3.8.11/Lib/distutils/command/build_ext.py#L675-683 PR: 256558 Approved by: koobs (python, maintainer) MFH: 2020Q3 (blanket: bug & regression fix)
* lang/python38: Use ECHO_CMD instead of ECHOPo-Chuan Hsieh2021-07-181-2/+2
|
* lang/python{38,39,310}: mark DEBUG option BROKEN (incorrect plist)Dmitry Marakasov2021-07-141-0/+1
| | | | | PR: 256558 Approved by: portmgr blanket
* lang/python*: Replace DISABLED_EXTENSIONS with Setup.localDanilo G. Baio2021-07-081-1/+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/python3[89]: remove LIBFFI optionDmitry Marakasov2021-06-101-13/+6
| | | | | | | | | | | Python now requires libffi from ports and does not build with LIBFFI disabled, so remove the option. PR: 256141 Reported by: majo-bugs.freebsd.org@cerny.sk Reviewed by: koobs (python) Approved by: koobs (python) MFH: 2020Q2 (bugfix)
* Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSIONDmitry Marakasov2021-05-251-6/+6
| | | | | | | | | | | 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@
* lang/python38: Use libmpdec from portsStefan Krah2021-05-161-2/+6
| | | | | | - Bump PORTREVISION for dependency and package change PR: 253603
* *: Remove unnecessary 'port' argument from USES=readlineYasuhiro Kimura2021-05-151-1/+1
| | | | | PR: 248459 Exp-run by: antoine
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* - Update to 3.8.7Wen Heping2020-12-221-1/+0
| | | | Notes: svn path=/head/; revision=558913
* lang/python3{6,7,8,9}: Backport close_range patchesKyle Evans2020-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.8.4(include securiy fix)Wen Heping2020-07-141-1/+0
| | | | | | | | | https://docs.python.org/release/3.8.4/whatsnew/changelog.html#changelog MFH: 2020Q3 Notes: svn path=/head/; revision=542175
* 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
* 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.8.1Wen Heping2019-12-201-1/+0
| | | | Notes: svn path=/head/; revision=520529
* lang/python{27,35,36,37,38}: Add closefrom(2) supportKubilay Kocak2019-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - Fix plist when build with DEBUG optionWen Heping2019-11-061-1/+3
| | | | Notes: svn path=/head/; revision=516854
* - Repocopy lang/python37 --> python38 and update to 3.8.0Wen Heping2019-11-021-0/+142
PR: 241416 Submitted by: wen@(myself) Reviewed by: koobs@, amdmi3@ Notes: svn path=/head/; revision=516377