diff options
Diffstat (limited to 'dev-python/python-tests')
8 files changed, 122 insertions, 6 deletions
diff --git a/dev-python/python-tests/python-tests-3.11.12.ebuild b/dev-python/python-tests/python-tests-3.11.12.ebuild index 48c955a342f2..35034615c15a 100644 --- a/dev-python/python-tests/python-tests-3.11.12.ebuild +++ b/dev-python/python-tests/python-tests-3.11.12.ebuild @@ -37,7 +37,7 @@ RDEPEND=" !<dev-lang/python-3.11.9_p2-r1:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) " diff --git a/dev-python/python-tests/python-tests-3.12.10.ebuild b/dev-python/python-tests/python-tests-3.12.10.ebuild index e4d7a82be6de..94739da438ce 100644 --- a/dev-python/python-tests/python-tests-3.12.10.ebuild +++ b/dev-python/python-tests/python-tests-3.12.10.ebuild @@ -37,7 +37,7 @@ RDEPEND=" !<dev-lang/python-3.12.5_p1-r1:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) " diff --git a/dev-python/python-tests/python-tests-3.13.3-r100.ebuild b/dev-python/python-tests/python-tests-3.13.3-r100.ebuild index 4b4ec8eeaf49..7b9b68e1f7e5 100644 --- a/dev-python/python-tests/python-tests-3.13.3-r100.ebuild +++ b/dev-python/python-tests/python-tests-3.13.3-r100.ebuild @@ -36,7 +36,7 @@ RDEPEND=" ~dev-lang/python-${PV}:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) " diff --git a/dev-python/python-tests/python-tests-3.13.3.ebuild b/dev-python/python-tests/python-tests-3.13.3.ebuild index d08221594f5f..d3c4b41af365 100644 --- a/dev-python/python-tests/python-tests-3.13.3.ebuild +++ b/dev-python/python-tests/python-tests-3.13.3.ebuild @@ -37,7 +37,7 @@ RDEPEND=" !<dev-lang/python-3.13.0_rc1_p3-r1:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) " diff --git a/dev-python/python-tests/python-tests-3.14.0_beta1-r100.ebuild b/dev-python/python-tests/python-tests-3.14.0_beta1-r100.ebuild index ea1967e1a093..2c0d382ad617 100644 --- a/dev-python/python-tests/python-tests-3.14.0_beta1-r100.ebuild +++ b/dev-python/python-tests/python-tests-3.14.0_beta1-r100.ebuild @@ -37,7 +37,7 @@ RDEPEND=" ~dev-lang/python-${PV}:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} " # https://www.python.org/downloads/metadata/sigstore/ diff --git a/dev-python/python-tests/python-tests-3.14.0_beta1.ebuild b/dev-python/python-tests/python-tests-3.14.0_beta1.ebuild index 59fc52e69fde..0c38f052dfe9 100644 --- a/dev-python/python-tests/python-tests-3.14.0_beta1.ebuild +++ b/dev-python/python-tests/python-tests-3.14.0_beta1.ebuild @@ -37,7 +37,7 @@ RDEPEND=" ~dev-lang/python-${PV}:${PYVER} " BDEPEND=" - ${RDEPEND} + ${PYTHON_DEPS} " # https://www.python.org/downloads/metadata/sigstore/ diff --git a/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild b/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild new file mode 100644 index 000000000000..860f66c9c903 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.14.9999-r100.ebuild @@ -0,0 +1,58 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit git-r3 python-r1 + +PYVER=$(ver_cut 1-2)t +PATCHSET="python-gentoo-patches-3.14.0b1" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +EGIT_REPO_URI="https://github.com/python/cpython.git" +EGIT_BRANCH=${PYVER%t} +S="${WORKDIR}/${P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_unpack() { + git-r3_src_unpack + 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 +} diff --git a/dev-python/python-tests/python-tests-3.14.9999.ebuild b/dev-python/python-tests/python-tests-3.14.9999.ebuild new file mode 100644 index 000000000000..bfdfbb01fd56 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.14.9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit git-r3 python-r1 + +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-3.14.0b1" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz +" +EGIT_REPO_URI="https://github.com/python/cpython.git" +EGIT_BRANCH=${PYVER} +S="${WORKDIR}/${P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} +" + +src_unpack() { + git-r3_src_unpack + 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 +} |
