summaryrefslogtreecommitdiff
path: root/lang/python27 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lang/python27: re-add _tkinter into the distributionCharlie Li2025-03-104-18/+14
| | | | | | | | | | | | | | | | | x11-toolkits/py-tkinter is otherwise built separately, ie disabled in the main Python distribution build, due to circular (build) dependencies with Python itself in lang/tk*. Since this Python version is never default anymore, having been EOLed for years among other things, it is safe to re-add _tkinter as part of the main distribution build. Also update pkg-message to reflect extension module ports unavailability. This is to benefit the only remaining consumer, games/renpy, as x11-toolkits/py-tkinter transitions to Python 3+ only. The relevant OPTION has been removed as having _tkinter always present makes the option a no-op. PR: 268283
* lang/python27: Fix build with 'DEFAULT_VERSIONS=ssl=openssl'Yasuhiro Kimura2024-05-151-1/+2
| | | | | | Reported by: Odhiambo Washington Approved by: portmgr blanket (just fix it) MFH: 2024Q2
* lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after ↵Po-Chuan Hsieh2024-04-131-1/+0
| | | | 9fd7ee1cdf6cbd5528159b58a966e1a40e2909a9
* lang/python27: Impelled to share/manMuhammad Moinur Rahman2024-01-232-2/+3
| | | | 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/python27: drop noop powerpc64 conditionalPiotr Kubaj2023-08-101-4/+0
|
* lang/python27: Fix build with OpenSSL 3Muhammad Moinur Rahman2023-06-301-1/+1
| | | | | | | | | This was fixed in an earlier commit but an arbitrary OSVERSION was used to check the side effects in exp-run. As there is a proper OSVERSION now this patch fixes the OSVERSION. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
* lang/python27: Fix build with OpenSSL 3 and laterMuhammad Moinur Rahman2023-06-031-0/+10
| | | | | | PR: 271656 Reported by: exp-run Approved by: portmgr (blanket)
* lang/python27: Fix build with libressl 3.5Felix Palmen2022-11-041-0/+20
| | | | | Approved by: python (maintainer, timeout), tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D37047
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* 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)
* devel/libffi: Bump deps PORTREVISION for shlib changeKevin Bowling2022-05-091-1/+1
| | | | | PR: 263764 Reported by: VVD <vvd@unislabs.com>
* lang/python*: sort pkg-plistsDmitry Marakasov2021-07-141-4/+4
| | | | | | | Sort pkg-plists to reduce diff between existing and future versions of python. Approved by: portmgr blanket (cosmetic change)
* Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSIONDmitry Marakasov2021-05-253-9/+9
| | | | | | | | | | | 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
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-062-2/+0
|
* 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 2.7.18 [1]Wen Heping2020-05-054-6/+9
| | | | | | | | | | | | | | | (include security fix) - Fix build with OPTION of DEBUG THREADS [2] PR: 245776 Submitted by: vvd@unislabs.com [1], takefu@airport.fm [2] Exp-run by: antoine@ [1] MFH: 2020Q2 Security: CVE-2019-18348, CVE-2020-8492 Notes: svn path=/head/; revision=534040
* Deprecate python2Antoine Brodin2020-01-011-0/+3
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=521726
* lang/python{27,35,36,37,38}: Add closefrom(2) supportKubilay Kocak2019-11-292-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - Update lang/python27 to 2.7.17Wen Heping2019-10-244-7/+8
| | | | | | | | | PR: 241357 Submitted by: wen@ Exp-run by: antoine@ Notes: svn path=/head/; revision=515343
* 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
* In various places in the ports tree, tests against ARCH are iteratedMark Linimon2019-10-041-1/+1
| | | | | | | | | | | | one-by-one when a pattern test would be more robust. This consolidates the tests for 64-bit functionality. PR: 239163 Approved by: sunpoet (python, maintainer) Notes: svn path=/head/; revision=513795
* onvert to UCL & cleanup pkg-message (categories l-m)Mathieu Arnold2019-08-131-4/+6
| | | | Notes: svn path=/head/; revision=508882
* 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 python27 to 2.7.16Wen Heping2019-03-113-11/+17
| | | | | | | | | PR: 236318 Submitted by: wen@(myself) Exp-run by: antoine@FreeBSD.org Notes: svn path=/head/; revision=495329
* Remove compatibility code for FreeBSD < 11.2 from all ports.Rene Ladan2018-11-021-7/+0
| | | | | | | | | | 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
* 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
* - Update to 2.7.15(include security fix)Wen Heping2018-05-116-219/+7
| | | | | | | | | | PR: 228028 Submitted by: wen@(myself) Exp-run by: antoine@ MFH: 2018Q2 Notes: svn path=/head/; revision=469635
* lang/python27: Fix build with LibreSSL 2.7Bernard Spil2018-04-281-0/+83
| | | | | | | | | | PR: 226883 Submitted by: Charlie Li <ml+freebsd vishwin info> Approved by: python (koobs) Differential Revision: https://reviews.freebsd.org/D14837 Notes: svn path=/head/; revision=468566
* Revert r462630, it introduced regressionsAntoine Brodin2018-03-021-2/+0
| | | | | | | | PR: 226135 With hat: portmgr Notes: svn path=/head/; revision=463375
* Revert r463321, it breaks lang/python27 on at least vanilla FreeBSD 10.xAntoine Brodin2018-03-021-11/+5
| | | | | | | | Reported by: pkg-fallout With hat: portmgr Notes: svn path=/head/; revision=463373
* lang/python27: Fix build regressionKubilay Kocak2018-03-011-5/+11
| | | | | | | | | | | | | | | | | | | | | | r462630 added OpenSSL include/library paths to CFLAGS/LIBS which caused the _elementtree and pyexpat modules to fail to build. Adding paths to CFLAGS is known to cause issues [1]. Accordingly: - Switch to using CPPFLAGS for OpenSSL include/library paths (like NLS). - Move the comment describing why this is necessary to the top of the port with reasonable warning about what can happen and why. [1] https://svnweb.freebsd.org/ports?view=revision&revision=326729 PR: 226135, 222795) Reported by: many Reviewed by: sunpoet (python) Approved by: koobs (python) Notes: svn path=/head/; revision=463321
* Fix build with OpenSSL 1.1.0 (security/openssl-devel)Sunpoet Po-Chuan Hsieh2018-02-221-0/+2
| | | | | | | | | This is a follow up commit of r461915. MFH: 2018Q1 Notes: svn path=/head/; revision=462630
* Clean up ARCH statementSunpoet Po-Chuan Hsieh2018-02-161-1/+1
| | | | | | | | | PR: 223985 Submitted by: linimon MFH: 2018Q1 Notes: svn path=/head/; revision=462044
* Fix build with OpenSSL 1.1.0 (security/openssl-devel)Sunpoet Po-Chuan Hsieh2018-02-152-2/+128
| | | | | | | | | | | | | - Remove BROKEN_SSL=openssl-devel Reference: https://bugs.python.org/issue30622 https://github.com/python/cpython/commit/b2d096bd2a5ff86e53c25d00ee5fa097b36bf1d8 PR: 222795 Submitted by: brnrd MFH: 2018Q1 Notes: svn path=/head/; revision=461915
* Silence patch messagesSunpoet Po-Chuan Hsieh2018-02-121-2/+2
| | | | Notes: svn path=/head/; revision=461620
* Set PORTNAME to python and add PKGNAMESUFFIXSunpoet Po-Chuan Hsieh2018-02-112-11/+9
| | | | | | | | | - Sort USES - Remove CPE_*: all of them are default values - Update http:// links in Makefile comments and patch files Notes: svn path=/head/; revision=461512
* When cross-compiling with qemu, recompile _sysconfigdata.py after patching itAntoine Brodin2017-10-151-0/+7
| | | | | | | | Reported by: rene@ With hat: portmgr Notes: svn path=/head/; revision=452151
* - Update to 2.7.14(include security fix)Wen Heping2017-09-244-8/+31
| | | | | | | | | | PR: 222398 Submitted by: wen@(myself) Exp-run by: antoine@ MFH: 2017Q3 Notes: svn path=/head/; revision=450488
* Add a code block for the qemu-user enabled cross build environment. When usingSean Bruno2017-08-021-1/+12
| | | | | | | | | | | | | this environment in poudriere, CC is not set to the default of /usr/bin/cc and a cross-compile toolchain is used. We need to hand edit this so that the run time configuration for python matches what the FreeBSD base system provides. PR: 208282 Submitted by: manu Approved by: portmgr (mat) Notes: svn path=/head/; revision=447129
* lang/python{27,33,34,35,36}: Make Python curses module work with UnicodeDanilo G. Baio2017-06-281-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use readline from ports (USES= readline:port) and patch setup.py to ignore readline from base. The patch is necessary for FreeBSD < 1100000, as after this the readline library became an INTERNALLIB, see base r268461 [1] Link devel/readline against termcapw instead of termcap is part of this change, see ports r444463 [2] Note that this is the **ports** approach for getting Python curses module working with Unicode. The other way is splitting libncurses into separate libncurses and libtinfo in base, for which an open issue exists [3]. Apart from Python language ports, at least www/rtv and sysutils/py-ranger ports have been tested to work correctly (display Unicode) after this change. [1] https://svnweb.freebsd.org/changeset/base/268461 [2] https://svnweb.freebsd.org/changeset/ports/444463 [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317 PR: 171246, 197317 Reported by: Vitaly Magerya <vmagerya gmail com> Reviewed by: garga, koobs, miwi, sunpoet Approved by: garga (mentor), sunpoet (python, with hat) Differential Revision: https://reviews.freebsd.org/D11127 Notes: svn path=/head/; revision=444534
* Update devel/readline to 7.0 patch 3Sunpoet Po-Chuan Hsieh2017-06-271-1/+1
| | | | | | | | | | | | | | - Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoine Notes: svn path=/head/; revision=444463
* lang/python{27,33,34,35,36}: Install GDB debugging scriptKubilay Kocak2017-06-062-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Users with a GDB that supports [1] Python extensions will automatically load the extra debugging extensions when debugging programs that are linked with libpythonX.Y.so.foo. This enables extensions like 'py-bt' and 'py-frame' as described in the Fedora Wiki Article: Easier Python Debugging [2], which can be useful for debugging Python program state from crashes in C extensions, for example. [1] PYTHON option enabled in devel/gdb [2] https://fedoraproject.org/wiki/Features/EasierPythonDebugging PR: 203021 Submitted by: cem Reviewed by: mat, koobs (python) Approved by: koobs (python) Differential Revision: D10398 Notes: svn path=/head/; revision=442759
* - Remove SEM option by making it always avalibleMartin Wilke2017-04-233-56/+10
| | | | | | | | | | | | | | | | | Since FreeBSD 8.x EOL in 2015-08-01 the option doesn't have any value beyond footshooting[1]. sem_open() and sem_init(pshared=1) always work FreeBSD 9.0 or later after base r201546. [1] https://lists.freebsd.org/pipermail/freebsd-ports/2017-April/108116.html PR: 218641 Reported by: jbeich Exp-run: antoine MFH: 2017Q2 Differential Revision: https://reviews.freebsd.org/D10446 Notes: svn path=/head/; revision=439261
* Use BROKEN_SSL and update WWWSunpoet Po-Chuan Hsieh2017-04-162-8/+4
| | | | Notes: svn path=/head/; revision=438644
* - Fix shebangMartin Wilke2017-04-141-2/+11
| | | | | | | Thanks to: amdmi3 Notes: svn path=/head/; revision=438530
* - Fix the pkg-plist when build with WITHOUT_NIS=yesWen Heping2016-12-262-1/+2
| | | | Notes: svn path=/head/; revision=429522