mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
dev-python/python-tests: Bump to 3.13.18_p1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -10,6 +10,7 @@ DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 BLAKE2B 2b232c2742eafcb803713
|
||||
DIST python-gentoo-patches-3.12.16.tar.xz 18964 BLAKE2B 825e74065f47f239dad1de1a5e0786592dc64b3510389fd81dd1a58bfa1111fa8906ceeee747471e038d7005bef4e90e43bb9bc6141fd82810a4349903479111 SHA512 bc1001f8b07e77dbf1cb7be45e9880f44e1d0a31f816d488bd53c937259a2e2f16063fb0e8c5273ad22731c0e5d302926eb614220205ea6c2b97c706bcbcf9d0
|
||||
DIST python-gentoo-patches-3.13.14.tar.xz 9360 BLAKE2B 257a43992b857d44881174b36b0940fab3f879060938fe6e6464ae671832a3af624a0cc6f012e44ee344a34d0a8da0c898a29176029bfab70086434fbd3c3b99 SHA512 0084ffc35ff81a7056dd7a3624083ed957fbe482b1cbca9e401ef5851e0046b82b9102f4cf358f2974d7a7dfb3e21e96dcafe6c207417fa01834b9d10a2ee8d6
|
||||
DIST python-gentoo-patches-3.13.18.tar.xz 11576 BLAKE2B 2f1bc6c87cf2fc826192ee4c79bab6ab84635e5e5170614c6dd7f9e99ffd0e72d0debf0344dc5cf923944138bf48c4211ea614a2fde8fa72088584753837d2e0 SHA512 4d5914d32710ea1c784f3a055e28dfc0c9c0425c4d9f86f77a0a8212f228df4af94458edcb73355f2d710f4f4880f9640b4dacddf1991e4953164d9d32974929
|
||||
DIST python-gentoo-patches-3.13.18_p1.tar.xz 48072 BLAKE2B 67d028643e99dcacbd5338a78c5c1e4dd30d233a7076101e2b25dfa0001c95768fde9466c17dfe9b349253201e2fe975878232465d19a290d636fff54e34434e SHA512 6827122f661304d9db0dfcbbc3dae4331f2bcd907fed0b0f1768911256c0be19046d898b0e34086cb561c3f5b0c8c1d9430233b3ed63d4607f20a702ed2e9e2b
|
||||
DIST python-gentoo-patches-3.14.10.tar.xz 10648 BLAKE2B e64a4b5fc74428d14cd55cc10adb6d1affe815e403656b62a04dad1aa0bd781a4de5093479c83f6ff4f2cdf7bdf0f52598b4683e708b254a7f9f6c5ba594edd3 SHA512 d8aec2e5afafbb0b767d9b1036cb144ac53bdb2b0c2857a7b002d37dcd393dd96191c42eca1de165d4b405d9630daff2f511261dae96ade41f8d1cc923029b45
|
||||
DIST python-gentoo-patches-3.14.10_p1.tar.xz 47300 BLAKE2B baaae3c32e674a964f11a924947c3070887f6995076d896496cd98ed7664945ad124e11bfab00192d9803fabc15ac76b2141de169366d9dbe44b4c9e10ca022f SHA512 cfbfd8bd254424f0caa08ae08439e2475725846bdae18842d6df82936c01a3502f5b3cefff1671323f2a31884a64c99b47eaddc6e6ba0b300c8ea27ce359f5cf
|
||||
DIST python-gentoo-patches-3.14.6_p1.tar.xz 12032 BLAKE2B 315de6cb5f346c6406e12d4cb6ccbc986e6a39dc334e5ceb4d1ba4922a336d77f0bd0167fb7ef4d1c40ce0829e03248e838dbfbd0a46c0e4e0f6cf9e999e09e8 SHA512 2ac689aa6cff138782440ce1104bf21eace756fd1a72e22590c14157390937f7f50cd1e1ca774bb5a1ff08404b74901fb55d703c39a6ff9c9165e420d1b045e9
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_13 )
|
||||
|
||||
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://distfiles.gentoo.org/pub/proj/python/patchsets/${PYVER%t}/${PATCHSET}.tar.xz
|
||||
verify-sig? (
|
||||
https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc
|
||||
)
|
||||
"
|
||||
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}
|
||||
!<dev-lang/python-3.13.0_rc1_p3-r1:${PYVER}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-python-20260805 )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc}
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user