commit:     0217bf8825ebed03b2b79455cd5ace2a84b6fbb6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  5 17:24:19 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  5 17:34:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0217bf88

dev-python/python-tests: Bump to 3.14.0_p1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-tests/Manifest                   |  1 +
 .../python-tests/python-tests-3.14.0_p1.ebuild     | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest
index 96f9b71105a8..822603cfd2d1 100644
--- a/dev-python/python-tests/Manifest
+++ b/dev-python/python-tests/Manifest
@@ -32,6 +32,7 @@ DIST python-gentoo-patches-3.13.7.tar.xz 7088 BLAKE2B 
07acf2a1cc25f95131875e0282
 DIST python-gentoo-patches-3.13.8.tar.xz 8956 BLAKE2B 
a98766abfe50feb591e3aa7b7964fdcecd43cadff088735152417d6bad5fe6e6055bc41cdfa74332790775c8b333f35e28f381dc557b9c89c7bd4aafb0e846f3
 SHA512 
9ee23e972a90eb9578c469af255d2559d4aa454a9b8716075baded60ff6e457a96b69cce3427bba8daddbb4a47d388b1316019fd397b13c8db71cf4882e3f3f5
 DIST python-gentoo-patches-3.13.9.tar.xz 8952 BLAKE2B 
9941b3dd241adcdde64b38bdc3a610e8f3a820b0b4ff03b06ed6d1c26c91af0567cd1e979a8f1d0cfcd05a1568a182ee87944b27ecef22ec139de001e9085624
 SHA512 
bd12075b144300f1f922175077345fe38a7067282c057fbc256ef646a3e58dca68c029f1449ce4c40d6e7b62444579d6f892f28d73ddc8f859b48636012e3814
 DIST python-gentoo-patches-3.14.0.tar.xz 7992 BLAKE2B 
8faff97c198abc1549d7c871c82ff649bbdbe18f9cfdad31aa7b6535391fff8e6adc387a120a6298ede8842421bc103cfae27da807e651c9898d4edb192f4fd7
 SHA512 
7bc425a89d0f3ebbdab4f52ce1300e16512bda4f08968222e8e68f22d3a794fc7d32a00644f4949810ebb41da0ffd4a5a962dcbee86c7660cd4214406ad16b01
+DIST python-gentoo-patches-3.14.0_p1.tar.xz 8952 BLAKE2B 
d53c5a055be72e3f92a63e18cf75d2f6eb1e352a7529f7ce8256aaf0fa5ac92443646fe07bdbc707a28c1ed395c4c2edd29db0b8fc591679c7602aedfc968489
 SHA512 
ec03a259281d675063ad82dfd9c0fcb08402120663b9c2a56e37de45bb03e678fccd0c3723b6deffc4f5b8ea4ad17492040a98c7434853da2007f31cdb549bdd
 DIST python-gentoo-patches-3.14.0b1.tar.xz 5680 BLAKE2B 
514b3edc3025e5bf675d371b5ada17dea426856edf1fb6095c2ee400eae95bd4265ef81fe593ae9338e801e7d0a25b1d5ba2d05ca563fd9dd020114b13575746
 SHA512 
74289e42cf532b54bb1b66a283ec19156f8a36ba38764209c133842314c9efb2ce2ebcba5aa9213bcf7fc0c8a5ca9b6e7adbd5dbfa4397233136d7cd55f53ee7
 DIST python-gentoo-patches-3.14.0rc2.tar.xz 3776 BLAKE2B 
122a49783f12cf0274ab74ff06edfc483971fca125085914dbc69c2a147a91178b8e573aac6567f5f540aec968e04af6e76a5dec0028b7a8abaac599ce1ae9b4
 SHA512 
3a16fbbf9e1d71ac87c79f0940634ab299b9f68f98928ac7fde44eae47b5a3f89232e63366bd8fda4484eb6721dcf05e17f92459f95b5786f3649d5ae499df4d
 DIST python-gentoo-patches-3.14.0rc3.tar.xz 7992 BLAKE2B 
fd4f0be9f78a6d1f193c62db16f896ee19445f2dd95ffff4f1bca0b55dca0c837dc7a2e4fc07b8633043091e2fc8aa170e6782d66710ce371388896f65b4d68d
 SHA512 
2ab39d1265e51747b2a20fc0dfe8b7391847bace5b5c88561be2c2de6ab2595813d2c84ab32d9df022f8f075f48968b4fd0106140e6eedfee56a6a7201b311b6

diff --git a/dev-python/python-tests/python-tests-3.14.0_p1.ebuild 
b/dev-python/python-tests/python-tests-3.14.0_p1.ebuild
new file mode 100644
index 000000000000..dc5c074edab9
--- /dev/null
+++ b/dev-python/python-tests/python-tests-3.14.0_p1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_14 )
+VERIFY_SIG_METHOD=sigstore
+
+inherit python-r1 verify-sig
+
+MY_PV=${PV}
+MY_P="Python-${MY_PV%_p*}"
+PYVER=$(ver_cut 1-2)
+PATCHSET="python-gentoo-patches-${MY_PV}"
+
+DESCRIPTION="Test modules from dev-lang/python"
+HOMEPAGE="
+       https://www.python.org/
+       https://github.com/python/cpython/
+"
+SRC_URI="
+       https://www.python.org/ftp/python/${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
+       )
+"
+S="${WORKDIR}/${MY_P}/Lib"
+
+LICENSE="PSF-2"
+SLOT="${PYVER}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+# enable by default to help CI handle it (we have no additional deps)
+IUSE="+python_targets_${PYTHON_COMPAT[0]}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+       ${PYTHON_DEPS}
+       ~dev-lang/python-${PV}:${PYVER}
+"
+BDEPEND="
+       ${PYTHON_DEPS}
+"
+
+# https://www.python.org/downloads/metadata/sigstore/
[email protected]
+VERIFY_SIG_CERT_OIDC_ISSUER=https://github.com/login/oauth
+
+src_unpack() {
+       if use verify-sig; then
+               verify-sig_verify_detached 
"${DISTDIR}"/${MY_P}.tar.xz{,.sigstore}
+       fi
+       default
+}
+
+src_prepare() {
+       local PATCHES=(
+               "${WORKDIR}/${PATCHSET}"
+       )
+
+       cd .. || die
+       default
+}
+
+src_install() {
+       python_setup
+       # keep in sync with TESTSUBDIRS in Makefile.pre.in
+       python_moduleinto "/usr/lib/python${PYVER}"
+       python_domodule test
+       python_moduleinto "/usr/lib/python${PYVER}/idlelib"
+       python_domodule idlelib/idle_test
+}

Reply via email to