diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-22 12:38:59 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-01 13:36:13 +0200 |
| commit | 9c475b3af14bc3c0649883b623f3f7026cdab9cd (patch) | |
| tree | 9c4ef07ad2efab69ed7d574f61c0d3d631abd834 /dev-python/python-tests/python-tests-3.10.17.ebuild | |
| parent | fa49c8d9343c9d49350994eba59eae3445588bc1 (diff) | |
| download | gentoo-9c475b3af14bc3c0649883b623f3f7026cdab9cd.tar.gz gentoo-9c475b3af14bc3c0649883b623f3f7026cdab9cd.tar.bz2 gentoo-9c475b3af14bc3c0649883b623f3f7026cdab9cd.zip | |
dev-python/python-tests: Remove the 3.10 slot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/41697
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-tests/python-tests-3.10.17.ebuild')
| -rw-r--r-- | dev-python/python-tests/python-tests-3.10.17.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/dev-python/python-tests/python-tests-3.10.17.ebuild b/dev-python/python-tests/python-tests-3.10.17.ebuild deleted file mode 100644 index 522e1752bf53..000000000000 --- a/dev-python/python-tests/python-tests-3.10.17.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_10 ) - -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.10.14_p3-r1:${PYVER} -" -BDEPEND=" - ${RDEPEND} - 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 - local dirs=( - ctypes/test distutils/tests idlelib/idle_test lib2to3/tests - sqlite3/test ./test tkinter/test unittest/test - ) - local dir - for dir in "${dirs[@]}"; do - python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" - python_domodule "${dir}" - done -} |
