From nobody Thu Oct 31 22:02:17 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XfdJT3LpGz5cSYd; Thu, 31 Oct 2024 22:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XfdJT2mXJz4qsb; Thu, 31 Oct 2024 22:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730412137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SXjnSy3Sd2suX+KKqAD/3Wtau0YM26uKEOlfy57L9RA=; b=LeGJQZY2a6jcWqa6AJq56B8vsC6I+isUNTk9pHu61w45LO5AxnsIcwHg4g8yRtveLWnVWu VCM67rYKajHmk2woAUjGAISrW+1ueHQkr7JdafE1dKrDYyxyw/kysSa2okrobgNKBTpBti MMtqQyL2yGM9UE4XlJKQyVS9QCfkjYb27lcsokx+qa/W0HO3CjpCMLcx2xPgFS5m3nM+l2 /fdE1oCFTQ2wzzl9YO/wrj2V+zsFE+Fn0IU+ei9R9fY969LYgu56VsG8ALwdS+TdpJ8AR4 TVWhRFLVM9SVNg9jpMPAMqN6Ytb24R4RJnaR4TbWu9xIJhr4K9RgtzS2v8HYyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730412137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SXjnSy3Sd2suX+KKqAD/3Wtau0YM26uKEOlfy57L9RA=; b=FGSpG3nR3cOdGQYDEB6YR5//Nj45oELm2EQMk8allf2NvXGN9YpHpX1Azi8YOg0bzt1Na8 cGB8i/r2GeZPWuEYxJf89rv0DvOvHWMXKgF2GuBVUgmv7dK4b79KnPuC5OzgsXTFD8HHe6 HncT7Pxti0LJaq/INTj+SaWhlEEtCgN5U6PSxCZNl3UuWooMS6Dp1ZzUUUUdcqAopx4Oep 7+ZNLy64hfeA6xhARgO69Qnoj/slg3ba3ACtf96WrsGuYZgbKAnWImeTW2d1hgLCbPrhSD 4NgMrAw0/ssncEL2wjcZxH48KZsmaE9yPeD5uOZFnp5QpL6CLUA9hi5shDlr3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730412137; a=rsa-sha256; cv=none; b=JnRDm03bvVjB1V0dfwJbA0hU90eAPxvdACmhOZYvvELsZDRnA3PN3mX3J3HF80/mwU887c CJp+a/HSlMYtvXlfA5WKRHa31sw379GUlYUPgGGb/GA/dqUa7bVGHB5zr0zEFPjdUrAmBz YwGSUNpWzRq4v6W8pzTJ7wJkixiJaYjyq2pgChIjEoYXeTxiYUK5DPl0H3UHrS6sGE53ia Qbq3fWGMLKG5kwun2xrBN9kFwHKD8aV9q1i+y0P2i05ETQuqsBgrZPT/3cZEYxxJi4JdUn KOaowsbQnEclXqN0J/U+Z9bVerRk0AxYwwtfTlVgZawQ5K4r8Q+OzQb6BUhEAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XfdJT2BQxztcs; Thu, 31 Oct 2024 22:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49VM2H3b054628; Thu, 31 Oct 2024 22:02:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49VM2H5x054625; Thu, 31 Oct 2024 22:02:17 GMT (envelope-from git) Date: Thu, 31 Oct 2024 22:02:17 GMT Message-Id: <202410312202.49VM2H5x054625@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: ee12243bdd7f - main - Mk: unregister expired lang/python38 and update some comments List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee12243bdd7f5fda05a716c29f90671307a5c059 Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee12243bdd7f5fda05a716c29f90671307a5c059 commit ee12243bdd7f5fda05a716c29f90671307a5c059 Author: Rene Ladan AuthorDate: 2024-10-31 22:01:49 +0000 Commit: Rene Ladan CommitDate: 2024-10-31 22:01:49 +0000 Mk: unregister expired lang/python38 and update some comments --- Mk/Uses/python.mk | 24 ++++++++++++------------ Mk/bsd.default-versions.mk | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index bc7bfef2771c..c044058c9438 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -17,19 +17,19 @@ # Examples: # # USES=python:2.7 # Supports Python 2.7 Only -# USES=python:3.8+ # Supports Python 3.8 or later -# USES=python:3.8-3.10 # Supports Python 3.8 to 3.10 -# USES=python:-3.8 # Supports Python up to 3.8 -# USES=python # Supports 3.8+ +# USES=python:3.9+ # Supports Python 3.9 or later +# USES=python:3.9-3.10 # Supports Python 3.9 to 3.10 +# USES=python:-3.9 # Supports Python up to 3.9 +# USES=python # Supports 3.9+ # # NOTE: should be as specific as possible, matching the versions # upstream declares support for, without being incorrect. In particular, -# USES=python *without* a means 3.8+, +# USES=python *without* a means 3.9+, # including unreleased versions, which is probably incorrect. # # Not specifying a should only be used when a more specific # cannot be specified due to syntax limitations, for -# example: 2.7,3.8-3.9, but even in this case, X.Y+ (2.7+), or -X.Y (-3.8) +# example: 2.7,3.9-3.10, but even in this case, X.Y+ (2.7+), or -X.Y (-3.9) # is preferred and likely more correct. # # patch Python is needed at patch time. Adds dependency to PATCH_DEPENDS. @@ -50,7 +50,7 @@ # Exported variables: # # PYTHON_VERSION - The chosen Python interpreter including the version, -# e.g. python2.7, python3.8, etc. +# e.g. python2.7, python3.9, etc. # # Variables, which can be set by the port: # @@ -233,7 +233,7 @@ # interpreter, e.g. 2, 3, ... # # PYTHON_VER - The major-minor release version of the chosen Python -# interpreter, e.g. 2.7, 3.8, ... +# interpreter, e.g. 2.7, 3.9, ... # # PYTHON_ABIVER - Additional ABI flags set by the chosen Python # interpreter, e.g. md @@ -316,7 +316,7 @@ _INCLUDE_USES_PYTHON_MK= yes # What Python version and what Python interpreters are currently supported? # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -_PYTHON_VERSIONS= 3.11 3.10 3.9 3.8 2.7 # preferred first +_PYTHON_VERSIONS= 3.11 3.10 3.9 2.7 # preferred first _PYTHON_PORTBRANCH= 3.11 # ${_PYTHON_VERSIONS:[1]} _PYTHON_BASECMD= ${LOCALBASE}/bin/python _PYTHON_RELPORTDIR= lang/python @@ -420,13 +420,13 @@ DEV_WARNING+= "lang/python27 reached End of Life and will be removed somewhere . elif ${_PYTHON_ARGS} == 2 DEV_ERROR+= "USES=python:2 is no longer supported, use USES=python:2.7" . elif ${_PYTHON_ARGS} == 3 -DEV_ERROR+= "USES=python:3 is no longer supported, use USES=python:3.8+ or an appropriate version range" +DEV_ERROR+= "USES=python:3 is no longer supported, use USES=python:3.9+ or an appropriate version range" . endif # ${_PYTHON_ARGS} == 2.7 _PYTHON_VERSION:= ${PYTHON_DEFAULT} . if empty(_PYTHON_ARGS) -_PYTHON_ARGS= 3.8+ +_PYTHON_ARGS= 3.9+ . endif # Validate Python version whether it meets the version restriction. @@ -528,7 +528,7 @@ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} # To avoid having dependencies with @ and empty flavor: # _PYTHON_VERSION is either set by (first that matches): # - If using Python flavors, from the current Python flavor -# - If using a version restriction (USES=python:3.8+), from the first +# - If using a version restriction (USES=python:3.9+), from the first # acceptable default Python version. # - From PYTHON_DEFAULT PY_FLAVOR= py${_PYTHON_VERSION:S/.//} diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index dddd773f65ea..91a654c3bc04 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -136,7 +136,7 @@ PYCRYPTOGRAPHY_DEFAULT?= rust . else PYCRYPTOGRAPHY_DEFAULT?= legacy . endif -# Possible values: 3.8, 3.9, 3.10, 3.11 +# Possible values: 3.9, 3.10, 3.11 PYTHON_DEFAULT?= 3.11 # Possible values: 2.7 PYTHON2_DEFAULT?= 2.7