diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-27 11:55:56 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-27 11:58:13 +0200 |
| commit | 8a0e2206f6fe85ca38ec46e33322671ccac76f4d (patch) | |
| tree | 1ab575d975bcc760c67af7887b25be20d0857547 /dev-python/python-tests/python-tests-3.13.3_p1.ebuild | |
| parent | 9dc0c2958a21684373a1a34bccec6e047aca7d2f (diff) | |
| download | gentoo-8a0e2206f6fe85ca38ec46e33322671ccac76f4d.tar.gz gentoo-8a0e2206f6fe85ca38ec46e33322671ccac76f4d.tar.bz2 gentoo-8a0e2206f6fe85ca38ec46e33322671ccac76f4d.zip | |
dev-python/python-tests: Bump to 3.13.3_p1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-tests/python-tests-3.13.3_p1.ebuild')
| -rw-r--r-- | dev-python/python-tests/python-tests-3.13.3_p1.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/python-tests/python-tests-3.13.3_p1.ebuild b/dev-python/python-tests/python-tests-3.13.3_p1.ebuild new file mode 100644 index 000000000000..8a20d14dd1ba --- /dev/null +++ b/dev-python/python-tests/python-tests-3.13.3_p1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2024-2025 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://dev.gentoo.org/~mgorny/dist/python/${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" +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-20221025 ) +" + +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 +} |
