Commit graph

54 commits

Author SHA1 Message Date
Kai Knoblich
034d735ded lang/python39: Deprecate/Set to expire
* Python 3.9 will reach its End-of-Life on 2025-10.  Set the expiration
  date accordingly.

Reviewed by:	sunpoet (python, maintainer)
Differential Revision:	https://reviews.freebsd.org/D48900
2025-02-14 07:20:22 +01:00
Wen Heping
81d61abac1 lang/python39: Update to 3.9.21 2024-12-05 08:35:28 +00:00
Wen Heping
116af4a700 lang/python39: Update to 3.9.20 2024-09-13 08:06:18 +00:00
Wen Heping
d50689478e lang/python39: Update to 3.9.19
PR:		277859
Reported by:	wen@
Exp-run by:	antoine@
2024-05-14 00:56:01 +00:00
Po-Chuan Hsieh
c7a4a4f1ea
lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after 9fd7ee1cdf 2024-04-13 23:49:45 +08:00
Robert Clausecker
df1de8ec4a lang/python3*: bump PORTREVISION following mpdecimal update
The mpdecimal update changes the soname; bump dependent ports.

PR:		276444
2024-03-19 15:18:31 +01:00
Muhammad Moinur Rahman
4022ad5dd0 lang/python39: Impelled to share/man
Approved by:    portmgr (blanket)
2024-01-23 16:59:54 +01:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- 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
2023-12-31 01:37:05 +01:00
Po-Chuan Hsieh
9d9e1a06bd
lang/python39: Clean up unnecessary PLIST_SUB
- 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
2023-10-05 10:00:35 +08:00
Wen Heping
27202b3243 lang/python39: Update to 3.9.18
PR:		273361
Reported by:	wen@
Exp-run by:	antoine@
2023-09-07 13:37:24 +00:00
Wen Heping
aabc8510fa lang/python39: Update to 3.9.17
PR:		271900
Reported by:	wen@
Exp-run by:	antoine@
2023-06-13 15:39:27 +08:00
Charlie Li
922e7f4145
lang/python: restore USES=python variables and SUB_LIST (no-op)
Has been a to do item for time. These are independent from but used
by the bytecode trigger.
2023-02-27 18:59:30 -05:00
Matthias Andree
a9d9d3a427 lang/python: Revert "add bytecode trigger"
This reverts commit c17ddfbf66.

This causes breakage on several ports, and the next iteration
requires a full exp-run. See:

Differential Revision: https://reviews.freebsd.org/D34739
2023-02-27 22:04:52 +01:00
Piotr Kubaj
c8c2d4f225 lang/python3: allow using LTO on powerpc64
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.
2023-02-24 15:48:16 +00:00
Charlie Li
c17ddfbf66
lang/python: add bytecode trigger
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
2023-02-15 16:35:07 -05:00
Wen Heping
555236ffdd lang/python39: Update to 3.9.16
PR:		268244
Reported by:	wen@
Exp-run by:	antoine@
2022-12-15 01:40:55 +00:00
Wen Heping
4f45def261 lang/python*: Support FreeBSD divert(4) socket
PR:		267648
Reported by:	glebius@
Exp-run by:	antoine@
2022-11-14 02:04:01 +00:00
Wen Heping
c92e24bae7 lang/python39: Update to 3.9.15
PR:		267080
Reported by:	wen@
Exp-run by:	antoine@
2022-10-20 18:07:07 +08:00
Wen Heping
420da5d7b0 lang/python39: Update to 3.9.14(security update)
PR:		266286
Reported by:	wen@
Exp-run:	antoine@
2022-09-17 15:18:21 +08:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 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)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
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)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
f98ae56653 lang: remove 'Created by' lines
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
2022-07-20 16:22:15 +02:00
Bernard Spil
19051b3d99
lang/python39: Fix build with LibreSSL 3.5.*
PR:		264000
2022-07-11 21:51:31 +08:00
Po-Chuan Hsieh
ae715e6b1d
lang/python39: Update comment to remind committer to remove PORTREVISION in Makefile 2022-06-09 19:00:20 +08:00
Wen Heping
909e8f8387 lang/python39: Update to 3.9.13 2022-05-18 07:27:38 +08:00
Kevin Bowling
db78da8f8b devel/libffi: Bump deps PORTREVISION for shlib change
PR:		263764
Reported by:	VVD <vvd@unislabs.com>
2022-05-09 12:23:51 -07:00
Piotr Kubaj
423a796502 lang/python3{7,8,9,10}: remove LTO from defaults
LTO is still default in python3.11 because it uses thin LTO.

Requested by:	koobs
PR:	263353
2022-04-27 09:22:45 +00:00
Wen Heping
776586ea26 lang/python39: Update to 3.9.12 2022-03-25 03:59:30 +00:00
Wen Heping
fa0dc79dca lang/python39: Update to 3.9.11
Reviewed by:	yasu@
2022-03-19 13:56:42 +00:00
Piotr Kubaj
9a31e1b6d3 lang/python3*: add LTO option and enable by default everywhere except powerpc64 and riscv64
PR:	261974
Approved by:	python (koobs got his commit bit revoked during review process)
2022-03-09 17:30:00 +00:00
Wen Heping
daebf134f0 lang/python39: Update to 3.9.9 2021-12-06 09:05:24 +08:00
Dimitry Andric
4af982e6be lang/python3(6|7|8|9|10|11): work around unwanted multiarch detection again
In ports 6bef096664 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)
2021-11-26 19:48:57 +01:00
Wen Heping
a92bfcd8b8 lang/python39: Update to 3.9.8 2021-11-08 15:31:34 +08:00
Thierry Thomas
693abe1cb4 lang/python3X: Fix library installation
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
2021-10-13 19:05:40 +02:00
Dimitry Andric
6bef096664 lang/python3([6-9]|10): disable detection of multiarch
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
2021-09-27 19:56:59 +02:00
Wen Heping
04ea9da79a lang/python39: Update to 3.9.7 2021-09-01 19:48:51 +08:00
Fukang Chen
350158a17e lang/python3[89]: Fix build WITH_DEBUG
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]: b01091a3e7
[1]: 4b155967b3
[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)
2021-08-19 15:00:36 +00:00
Po-Chuan Hsieh
9115c46e8a
lang/python37: Use ECHO_CMD instead of ECHO 2021-07-19 01:54:21 +08:00
Dmitry Marakasov
2d2c2821bc lang/python{38,39,310}: mark DEBUG option BROKEN (incorrect plist)
PR:		256558
Approved by:	portmgr blanket
2021-07-14 23:28:01 +03:00
Dmitry Marakasov
7f1bab7e19 lang/python*: sort pkg-plists
Sort pkg-plists to reduce diff between existing and future versions
of python.

Approved by:	portmgr blanket (cosmetic change)
2021-07-14 21:56:31 +03:00
Danilo G. Baio
a94d4b1005 lang/python*: Replace DISABLED_EXTENSIONS with Setup.local
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
2021-07-07 22:55:17 -03:00
Po-Chuan Hsieh
02ddbd77e8
lang/python39: Update to 3.9.6
Changes:	https://docs.python.org/release/3.9.6/whatsnew/changelog.html
2021-07-06 22:59:31 +08:00
Dmitry Marakasov
64be746e53 lang/python3[89]: remove LIBFFI option
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)
2021-06-10 20:09:54 +03:00
Dmitry Marakasov
5f69415313 Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
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@
2021-05-25 16:55:44 +03:00
Yasuhiro Kimura
9671981826
*: Remove unnecessary 'port' argument from USES=readline
PR:		248459
Exp-run by:	antoine
2021-05-15 09:14:04 +02:00
Yasuhiro Kimura
3e66373124
lang/python39: Update to 3.9.5
Changes:	https://docs.python.org/release/3.9.5/whatsnew/changelog.html
PR:		255730
2021-05-12 05:47:34 +08:00
Stefan Krah
9738c1c2ea
lang/python39: Use libmpdec from ports
- Bump PORTREVISION for dependency and package change

PR:		253604
2021-05-12 05:47:33 +08:00
Wen Heping
11cc7534e6 lang/python39: Update to 3.9.4 2021-04-09 20:49:10 +08:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Wen Heping
945da56c8f - Update to 3.9.2 2021-02-23 06:32:07 +00:00