commit: 1368ea49a5f6c325b4652386caa364cf851860c7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jun 6 16:54:19 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jun 7 08:44:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1368ea49
dev-lang/python: Reversion freethreading Pythons as 0.* to fix order Use versions with additional leading `0.` for freethreading Python versions, to ensure that they are ordered lower than regular Python versions, and therefore match the order used by PYTHON_COMPAT. This should help users avoid unnecessarily "upgrading" to an experimental version they're unlikely to use, and also make eshowkw output cleaner. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/42479 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../{python-3.13.3_p2-r100.ebuild => python-0.3.13.3_p2.ebuild} | 9 +++++---- .../python/{python-3.13.4-r100.ebuild => python-0.3.13.4.ebuild} | 9 +++++---- .../{python-3.13.9999-r100.ebuild => python-0.3.13.9999.ebuild} | 2 +- ...14.0_beta2_p1-r100.ebuild => python-0.3.14.0_beta2_p1.ebuild} | 9 +++++---- .../{python-3.14.9999-r100.ebuild => python-0.3.14.9999.ebuild} | 2 +- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/dev-lang/python/python-3.13.3_p2-r100.ebuild b/dev-lang/python/python-0.3.13.3_p2.ebuild similarity index 98% rename from dev-lang/python/python-3.13.3_p2-r100.ebuild rename to dev-lang/python/python-0.3.13.3_p2.ebuild index 41372672b7f7..061ca71e51c1 100644 --- a/dev-lang/python/python-3.13.3_p2-r100.ebuild +++ b/dev-lang/python/python-0.3.13.3_p2.ebuild @@ -11,9 +11,10 @@ inherit autotools check-reqs flag-o-matic linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig -MY_PV=${PV} +REAL_PV=${PV#0.} +MY_PV=${REAL_PV} MY_P="Python-${MY_PV%_p*}" -PYVER="$(ver_cut 1-2)t" +PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-${MY_PV}" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" @@ -22,10 +23,10 @@ HOMEPAGE=" https://github.com/python/cpython/ " SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.asc ) " S="${WORKDIR}/${MY_P}" diff --git a/dev-lang/python/python-3.13.4-r100.ebuild b/dev-lang/python/python-0.3.13.4.ebuild similarity index 98% rename from dev-lang/python/python-3.13.4-r100.ebuild rename to dev-lang/python/python-0.3.13.4.ebuild index 41372672b7f7..061ca71e51c1 100644 --- a/dev-lang/python/python-3.13.4-r100.ebuild +++ b/dev-lang/python/python-0.3.13.4.ebuild @@ -11,9 +11,10 @@ inherit autotools check-reqs flag-o-matic linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig -MY_PV=${PV} +REAL_PV=${PV#0.} +MY_PV=${REAL_PV} MY_P="Python-${MY_PV%_p*}" -PYVER="$(ver_cut 1-2)t" +PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-${MY_PV}" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" @@ -22,10 +23,10 @@ HOMEPAGE=" https://github.com/python/cpython/ " SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.asc ) " S="${WORKDIR}/${MY_P}" diff --git a/dev-lang/python/python-3.13.9999-r100.ebuild b/dev-lang/python/python-0.3.13.9999.ebuild similarity index 99% rename from dev-lang/python/python-3.13.9999-r100.ebuild rename to dev-lang/python/python-0.3.13.9999.ebuild index bec4b8131b9a..a2cab32eb8c5 100644 --- a/dev-lang/python/python-3.13.9999-r100.ebuild +++ b/dev-lang/python/python-0.3.13.9999.ebuild @@ -10,7 +10,7 @@ WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs -PYVER="$(ver_cut 1-2)t" +PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-3.13.4" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" diff --git a/dev-lang/python/python-3.14.0_beta2_p1-r100.ebuild b/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild similarity index 98% rename from dev-lang/python/python-3.14.0_beta2_p1-r100.ebuild rename to dev-lang/python/python-0.3.14.0_beta2_p1.ebuild index ce2d5a0c3485..bddc1e3c60f4 100644 --- a/dev-lang/python/python-3.14.0_beta2_p1-r100.ebuild +++ b/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild @@ -12,9 +12,10 @@ inherit autotools check-reqs flag-o-matic linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig -MY_PV=${PV/_beta/b} +REAL_PV=${PV#0.} +MY_PV=${REAL_PV/_beta/b} MY_P="Python-${MY_PV%_p*}" -PYVER="$(ver_cut 1-2)t" +PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-${MY_PV}" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" @@ -23,10 +24,10 @@ HOMEPAGE=" https://github.com/python/cpython/ " SRC_URI=" - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz verify-sig? ( - https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.sigstore + https://www.python.org/ftp/python/${REAL_PV%%_*}/${MY_P}.tar.xz.sigstore ) " S="${WORKDIR}/${MY_P}" diff --git a/dev-lang/python/python-3.14.9999-r100.ebuild b/dev-lang/python/python-0.3.14.9999.ebuild similarity index 99% rename from dev-lang/python/python-3.14.9999-r100.ebuild rename to dev-lang/python/python-0.3.14.9999.ebuild index a5e88fd31512..4a0dc2082ce6 100644 --- a/dev-lang/python/python-3.14.9999-r100.ebuild +++ b/dev-lang/python/python-0.3.14.9999.ebuild @@ -10,7 +10,7 @@ WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs -PYVER="$(ver_cut 1-2)t" +PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-3.14.0b1" DESCRIPTION="Freethreading (no-GIL) version of Python programming language"
