summaryrefslogtreecommitdiff
path: root/dev-python/python-tests
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-17 03:03:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-17 03:03:09 +0000
commit3455c0a5153ae27d7c6c16ecd35fa3dec33f3dda (patch)
treeb29c1fa32b8be70c36e7f8bf53ab5fca875037f9 /dev-python/python-tests
parentb0735771a80a647a2ea5a03a87d5873d175bd744 (diff)
gentoo auto-resync : 17:11:2024 - 03:03:09
Diffstat (limited to 'dev-python/python-tests')
-rw-r--r--dev-python/python-tests/Manifest2
-rw-r--r--dev-python/python-tests/python-tests-3.10.15_p2.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest
index 75dc212d2a2e..4503dd50ae75 100644
--- a/dev-python/python-tests/Manifest
+++ b/dev-python/python-tests/Manifest
@@ -9,12 +9,14 @@ DIST Python-3.12.7.tar.xz.asc 963 BLAKE2B 8c7db3d1971d93a10c611a2e6dd3679d0b331b
DIST Python-3.13.0.tar.xz 22532980 BLAKE2B 4a4e397199402de8c9fe8e4d63443ed972cbe8a4f541743908d699c7987127d159d600fd14145b6a946e8671426279d230c9155fdc5863c1e49a945eedcbf21b SHA512 44a143c9b96b55b01885ec020c3364265bda55289615cd7d5071915b0d0178a6f35e7551a89090001fcb7f3172d38177a56bf8b8532b15c9dbc50295c9210152
DIST Python-3.13.0.tar.xz.asc 963 BLAKE2B d05f02692a9fea42b73dbfe5dc42bd6533555e5ecb848510d2b94bb7f0e55d4a0f89bcd20b073ed2c7f7a68be35b12cb6dbff6bc16fc9a4592ded2c339ada7fd SHA512 1b8bb0fe4eb93e31ec1770e90b94d44b5864c0391aad5dcba3a30d8e505d9b17107385414353c0060007f8a536254f49b8e919f36ddf6421a6e4330f817f1a3e
DIST python-gentoo-patches-3.10.15_p1.tar.xz 24048 BLAKE2B 191c28ad9bc781d6f3077870e8d40ff98a47a64009ecfbbd10fe2b3c5330692181837fd3e9b336fd01f936a39160fc12761b2ef9bc00843248ab978cda2e2767 SHA512 4461e351c991694415e2812e558d6c3d3f79295358623dc955bc0839691a170d95a3efd31c0bf9f0d6191e4184d7b55fdb485b948d591782fef5b060d7660cce
+DIST python-gentoo-patches-3.10.15_p2.tar.xz 25284 BLAKE2B 24ecd523dba88915db130b174a5d692b9218decf81db7617ba016d4e21555cefa807e344a490110bcd3992637a95d0ce3179b219911417d29d008b4e2b5d7b33 SHA512 e1017b80272c57c18dbf7e1515d50fe13ead8de028d1ccaf1339a93ad4b0286f758979ee6f27011fa12350855cefdbdf049927bf2dd185905d4f3fe146c5bd68
DIST python-gentoo-patches-3.11.10_p1.tar.xz 10592 BLAKE2B 1cc02d22b55cb76beba133c37e6db3b9ba12b11cd8776acb064f14431842405cbc9efb5a06319cff1c73d9178ddbbe2e340829d4628c88a9589aa2fc1d308f80 SHA512 7ddb08e4d8a9173a26fa18de687a4c85c3d460e2bc595da6f4b15cfe3be264ccdc7d61d5fed1e7a82f256d21caf3ea7de87f774fde61a9d37bed15f86f546adb
DIST python-gentoo-patches-3.12.6_p2.tar.xz 8144 BLAKE2B 2f36ce972e0b3e2884c9df629e3aeb1af05e4c77dffb866ff28e08a0a7df3c7cf36a9de250d148d909c07fd5bad483c95b3267818657c04e7d0d6fe512e21f9a SHA512 caa86c6cf693f9293b3aa8944452d117b78c1c3f8d6a6aa658cb5c2d2ffb0cecc6cf14b293872bd2101766ee7167ba88183904b2814090f8cbc64c1fa3b771be
DIST python-gentoo-patches-3.12.6_p4.tar.xz 8764 BLAKE2B a75b9bc3768f1e07272f43d1a8f0fb6858eee7c786bc3141cd152382c287ee984b92ff1301e5894db7c24af994ee52ac7374a3edf692aa4255c1413b73209020 SHA512 237c9e8b50173a757204621d7019f68f230ea3e520ea1f078528acfb509fe7f44c0919a8ac0245e79b1a51c3e3545dd9ded51047451048ca782e35b1c4365363
DIST python-gentoo-patches-3.12.7_p1.tar.xz 10228 BLAKE2B 71cc6034201198d9483414fa362d68b550bfcbf75ca6f44dd8ab9d90b201098a05cbf4799b1db9359f4dc464acfcee9b0ce59045db27e8e9ce916b5aab010448 SHA512 22f9256c28b96723ad86878cbe44da155e280a8df08c6bcc568dc5296aca1a6fcc41ab823ee9e6d34ce5954bbedb76aea7dba2d9189e0558c536e8b2b9a3c8ce
DIST python-gentoo-patches-3.13.0.tar.xz 8316 BLAKE2B 8fb8ba8f41f310140ad7066b614952023112d5043e5d82058364125611785144c1843e87eecb7669bcbab51c40d0694069526219f7419a7009517ce0821b74ba SHA512 0eb31ebfa3411020aa70b3b66fd7eec98b4b7a686b0e8f1f7ed76a8186a7c1ee85ccd9565a86a1d7ec13b975855eeb7303036af05e2dfdce3d64e4ad99299df4
EBUILD python-tests-3.10.15_p1.ebuild 1605 BLAKE2B db4c562031e602638107c76bfafcc97771ffa56b54a3d65028d06562e73fe8c1b037bdf0697da465cf07417fcecd179501121d95dce054e1fd75442273014f53 SHA512 e00999be4c1fe1dcf54868a60f9143766809738be5171ef82a525be7f41214cfcf8a1906df347975fdb05b49c7023bac5075b8eed838b110b69b29ef7c56b956
+EBUILD python-tests-3.10.15_p2.ebuild 1611 BLAKE2B 5696c0584ea27bcf47505f54c4f67d5b2454953fd98ddbe6facbb7b9e9d4a15d8cd78d1070ff9698dc9a71aa500428612f11b8f82536a338cca7f6276e963180 SHA512 26d5e6dac6ef8091ededee92e43d04268a467518b5ce970111461e9ed5770f58218c1d55ec775639a623826c9a8211fade7f0dc5dba51cbf454bfa805e7d3dc4
EBUILD python-tests-3.11.10_p1.ebuild 1591 BLAKE2B 41988aa6074078cd26dc08004cd74c78becc96894847b2e873529bcf1f1742bbf2547aad0da1ebc53f79fe422d60c46fb075da9824413c0f38353f0c5cb4f0dd SHA512 41580e92e1d167eeb0896bf271ddfc3b06d5979cc620e66f7f36a5102481a94a92efab6b40ea1dafdb29a35c031a3a2f3680f52a699484815962f0e7b364f964
EBUILD python-tests-3.12.6_p2.ebuild 1502 BLAKE2B bce969e4a5147fdfe4cfd0f8c5f6bebc9ed452bb53e658dd6c71c2bd75d01ad1962bf4365e9e36b44726a17d08b767f24e240048be4234f5a8c5d2ea66cdcec4 SHA512 882090e5cdf1cd7eb43a363b000b11a45e4f3ca4f5c94130c238ec7961037b29d30477b267ec5230be60cd1dceb240247b24fe43f789cde326829ff25c06db7c
EBUILD python-tests-3.12.6_p4.ebuild 1504 BLAKE2B 711a2ab62015c8113dfca9a02a57301add78b0fabefc09b629096f2fc0e1bd68157e517ceeb807fc04cabb81910eed3e5546e5f3adcd9a12b59c49718fafd6bc SHA512 69677a1276b7b746b10e268cc573a8ac62aa108288d810a18ceae4aa0f797ffe228903cd2d1e53aab4e45b42872fd15432f93226b19f2d9bf726cbec5d480ee4
diff --git a/dev-python/python-tests/python-tests-3.10.15_p2.ebuild b/dev-python/python-tests/python-tests-3.10.15_p2.ebuild
new file mode 100644
index 000000000000..87ae43f28123
--- /dev/null
+++ b/dev-python/python-tests/python-tests-3.10.15_p2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2024 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
+}