From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 141701580EB for ; Wed, 28 May 2025 08:14:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id EF89F34313E for ; Wed, 28 May 2025 08:14:01 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4F373110497; Wed, 28 May 2025 08:13:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 47B9911047E for ; Wed, 28 May 2025 08:13:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAFD634313D for ; Wed, 28 May 2025 08:13:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E33328EF for ; Wed, 28 May 2025 08:13:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1748419530.29ccccfbd92afdd7e0f592b67cfd23564fda4a75.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-tests/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-tests/python-tests-3.13.9999-r100.ebuild X-VCS-Directories: dev-python/python-tests/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 29ccccfbd92afdd7e0f592b67cfd23564fda4a75 X-VCS-Branch: master Date: Wed, 28 May 2025 08:13:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5fb06ff4-a0c7-440a-a647-9e5a4361dec2 X-Archives-Hash: 4ffaf0ec685fbe8d9d2a1b730119f60c commit: 29ccccfbd92afdd7e0f592b67cfd23564fda4a75 Author: Michał Górny gentoo org> AuthorDate: Wed May 28 08:05:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 28 08:05:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ccccfb dev-python/python-tests: Add 3.13.9999-r100 live ebuild Signed-off-by: Michał Górny gentoo.org> .../python-tests-3.13.9999-r100.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild b/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild new file mode 100644 index 000000000000..921c632c3cb3 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.13.9999-r100.ebuild @@ -0,0 +1,60 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_13t ) + +inherit git-r3 python-r1 + +PYVER=$(ver_cut 1-2)t +PATCHSET="python-gentoo-patches-3.13.3" + +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}" +# 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} +" + +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 +}