Commit Graph

56 Commits

Author SHA1 Message Date
Wen Heping b148c3ab99 lang/python311: Update to 3.11.10
PR:		281379
Reported by:	wen@
Exp-run by:	antoine@
2024-09-13 02:05:33 +00:00
Vladimir Druzenko a6e3b850c2 lang/python311: fix stage with DEBUG option ON 2024-07-09 15:06:03 +03:00
Piotr Kubaj 961bbfc94b lang/python311: disable LTO on powerpc64le
While LTOized python seems mostly fine, it crashes during build of x11/mate-terminal:
pid 71560 (python3.11), jid 151, uid 65534: exited on signal 11 (core dumped)

After disabling LTO, x11/mate-terminal builds fine.
2024-07-09 12:04:24 +02:00
Charlie Li 3f76bb7c6f lang/python311: refresh LibreSSL patches
LibreSSL 3.9 introduced X509_STORE_get1_objects(3) so modify the
preprocessor guard to account. Prior to LibreSSL < 3.9 becoming
EOL, an additional conditional was needed to copy LibreSSL 3.9's
X509_STORE_get1_objects(3) as the included implementation for
OpenSSL < 3.3 clashed with LibreSSL.

Event: ARRL/RAC Field Day 2024
PR: 279390
2024-06-24 13:56:55 -04:00
Daniel Engberg a7cf5f2a3a lang/python311: Improve build times
Don't generate debug symbols by default, we discard these anyway and on my
Tigerlake laptop it reduces build time roughly by 25% with LTO enabled
Switch from -flto=thin to (fat)lto, there's no parallization so it's
actually slower and produces slightly larger binaries

PR:		279585
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2024-06-23 20:19:18 +02:00
Po-Chuan Hsieh c7a4a4f1ea lang/python*: Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share after 9fd7ee1cdf 2024-04-13 23:49:45 +08:00
Po-Chuan Hsieh 21c517c039 lang/python311: Update to 3.11.9
Changes:	https://docs.python.org/release/3.11.9/whatsnew/changelog.html
2024-04-06 07:58:59 +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
Charlie Li ef91b5d1eb lang/python311: update to 3.11.8
Changelog: https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-8-final
2024-02-08 01:54:06 -05:00
Benjamin Jacobs 5b0b801228 lang/python311: Fix build on armv7 with LLVM 17
Reported by: brd
PR: 276249
2024-02-04 14:30:27 -05:00
Muhammad Moinur Rahman 8a740a6538 lang/python311: Impelled to share/man
Approved by:    portmgr (blanket)
2024-01-23 16:59:58 +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
Wen Heping faa230236d lang/python311: Update to 3.11.7 2023-12-11 12:28:00 +00:00
Bernard Spil 8269bdb998 www/vaultwarden-web_vault: Revert borked git add
This reverts commit 3a3fbae181.
2023-10-21 13:53:28 +02:00
Bernard Spil 3a3fbae181 www/vaultwarden-web_vault: Update to 2023.8.2
PR:		274304
Approved by:	maintainer time-out
2023-10-21 13:45:06 +02:00
Po-Chuan Hsieh a10b8f757c lang/python311: 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 954a8cc5d0 lang/python311: Update to 3.11.6 2023-10-03 10:29:34 +00:00
Wen Heping 1d2d633366 lang/python311: Update to 3.11.5 2023-08-26 01:52:12 +00:00
Po-Chuan Hsieh 2c318bc97e lang/python311: Sort PLIST 2023-06-30 21:17:30 +08:00
Po-Chuan Hsieh 73ad0c0f75 lang/python311: Revert unrelated changes in c4d9557b08 2023-06-30 15:08:08 +08:00
Bernard Spil c4d9557b08 www/nextcloud: Update to 26.0.2 2023-06-10 13:51:54 +02:00
Wen Heping ad947a9de4 lang/python311: Update to 3.11.4 2023-06-08 09:34:50 +08:00
Wen Heping 0e98e07399 lang/python311: Update to 3.11.3 2023-04-07 21:41:44 +08:00
Charlie Li 53de41c33d lang/python311: add LibreSSL support
LibreSSL 3.6 and later are fully compatible with PEP-644 for the
ssl and hmac modules, but not hashlib due to missing SHA-3/SHAKE,
BLAKE2 and scrypt. Partially reverts
https://github.com/python/cpython/commit/39258d3595300bc7b952854c915f63ae2d4b9c3e
for _hashopenssl.c only and void the configure check so that hashlib
builds on LibreSSL.
2023-03-28 22:49:51 -04: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 5ac9cdec97 lang/python311: Update to 3.11.2 2023-02-09 20:27:37 +08:00
Dmitry Marakasov 41dbb76112 lang/python311: fix asyncio.subprocess regression
Fix losing stdout of asyncio.subprocess spawned processes.

PR:		268502
Approved by:	wen (python@)
Upstream issue:	https://github.com/python/cpython/issues/100133
2022-12-23 21:42:37 +03:00
Wen Heping 50dd612ca9 lang/python311: Update to 3.11.1 2022-12-07 22:01:41 +08: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
Li-Wen Hsu 2130bf710e lang/python311: Fix packaging when DEBUG option is on 2022-10-28 17:04:50 +08:00
Li-Wen Hsu e59b196194 lang/python311: Fix packaging when WITHOUT_NIS is defined
PR:		267399
Reported by:	Raivo Hool <raivo@lehma.com>
2022-10-28 16:50:56 +08:00
Wen Heping 33ff903a54 lang/python311: Update to 3.11.0 release.
PR:		267342
Reported by:	wen
2022-10-26 11:53:20 +00:00
Wen Heping dc81dd167f lang/python311: Update to 3.11.0 RC2
Update COMMENT
2022-09-14 21:32:12 +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
Wen Heping 6413f473b4 lang/python311: Update to 3.11.0rc1 2022-08-09 09:39:09 +08:00
Wen Heping 18284b607a lang/python311: Update to 3.11.0b5 2022-07-27 23:22:42 +00: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
Wen Heping abc0f88242 lang/python311: Update to 3.11.0b4 2022-07-12 00:57:15 +00:00
Po-Chuan Hsieh 5bbbc604dc lang/python311: Update comment to remind committer to remove PORTREVISION in Makefile 2022-06-09 19:00:21 +08:00
Po-Chuan Hsieh bdcafa7d67 lang/python311: Sort PLIST 2022-06-03 17:01:02 +08:00
Wen Heping 6212ced66d lang/python311: Update to 3.11.0b3 2022-06-02 09:08:29 +08:00
Wen Heping 2fa25e06c6 lang/python311: Update to 3.11.0b2 2022-06-01 08:35:07 +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
Wen Heping 5b77b2df64 lang/python311: Update to 3.11.0b1 2022-05-09 08:27:15 +08:00
Wen Heping 30c5b8b6db lang/python311: Update to 3.11.0a7 2022-04-07 02:53:59 +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