summaryrefslogtreecommitdiff
path: root/dev-python/distlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
commit17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch)
tree7166d1b58a582290a4ad23ff5882cca911b8035c /dev-python/distlib
parenta0ce545d52f231499bf9f3644493113d8af58ec9 (diff)
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'dev-python/distlib')
-rw-r--r--dev-python/distlib/Manifest3
-rw-r--r--dev-python/distlib/distlib-0.3.8.ebuild6
-rw-r--r--dev-python/distlib/files/distlib-0.3.8-py313.patch22
3 files changed, 28 insertions, 3 deletions
diff --git a/dev-python/distlib/Manifest b/dev-python/distlib/Manifest
index ea90b248b7f6..4fd83c923a1c 100644
--- a/dev-python/distlib/Manifest
+++ b/dev-python/distlib/Manifest
@@ -1,4 +1,5 @@
AUX distlib-0.3.2-system-pypiserver.py 1294 BLAKE2B 87d419e5d9bd90715e43a125617bf12a2eaf16d114557a56fa0c6afb0fa83468960dcfdba3a3eff2ff136c5ef12ec04e71cea2a77a886854181dcdc64aee954e SHA512 08ee2bdc55b30ba770179c97a8dc7f702d72588b6f8bfd65feb47847ee4b41b97c0f31d37e1c4cfc2cff35ccb189abfc07590a175b7d2fd592beda8eb4a8b040
+AUX distlib-0.3.8-py313.patch 909 BLAKE2B d1d897a8a73a7348b7ed618cdd488d6d6280cb87d3fca8141fd61cb2592807628ca6d7ba8b690ac9b7f228fb0b1278ab426a8b9c9b49158a8ababdc5a1f17aca SHA512 10e1d960b13c45efac3c82541fb0c59ff1267496952a7f45e48f03327b92747f358616180f0da5d3d590cb7baef5306ee699de9a9060c4e5b06add7a87070fb6
DIST distlib-0.3.8.gh.tar.gz 1240659 BLAKE2B 5d14440bd6886a37e80323ea35370f306135f5b15544180b072ed42c6e7b00799dc4b5fe207adb31eee7234d4f291420bd289b5430bbf38ff0468b29af2ca621 SHA512 98dc6459f54783598aad8ee3b8d80c0092a5d08d4272ad212faeef5e30cf9029b718231681f39d26e48588bb676bae7919f1431ddb51eb3917725f99a5c90457
-EBUILD distlib-0.3.8.ebuild 1324 BLAKE2B becd5d5d2895a2643fa4add844e6e046c33a76b316bbe1f54ad0257af71a699d48ee3ee0c10e524e6398cd829be4f8a58c153b17f90d66a7f1c24a9bdb075263 SHA512 ff9d9e56a9f4c7c1b4c704470ef859949d0d327a4d0a79f482caaa7af219eeaebb1729eb98c29f17b0f6c8c2f5a54b53fd05c14edfaa99c4869ae30a54135725
+EBUILD distlib-0.3.8.ebuild 1441 BLAKE2B 3211b25c01145b8d295af4c21309a82968ba6d3d3b5c1ffc03bf0b05f3a309ac89bce99d36d3dc2a16229ea11ffaf480f82b9b28c455c3a3d55342e57db131d7 SHA512 2034acc49d101524ad6688ac8e7bee15967e3921a8c2557a9facf631cc24fb79d43316ec53d9c4f9d40549819251ee8ad31f354b8cae6a130042da181e976dbd
MISC metadata.xml 365 BLAKE2B 74d46041d58af096a40f55e08c48562eb11aa8349f2a5afeffad67182c65561b71e2723254df6176b77852f74fd569bb329e21bc8f4ba70828dc8fdb361bf518 SHA512 3d5da338be7508640eaff3ac9360387a6b98d40df477b81e9d4dd9b642e84c8d3fbdbf8c277dfaadc869bd733616329b02607fe56357139be4721d4cabb7996a
diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild
index ca366516c9bd..7951433808d3 100644
--- a/dev-python/distlib/distlib-0.3.8.ebuild
+++ b/dev-python/distlib/distlib-0.3.8.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1
@@ -34,6 +34,8 @@ src_prepare() {
local PATCHES=(
# use system pypiserver instead of bundled one
"${FILESDIR}"/distlib-0.3.2-system-pypiserver.py
+ # https://github.com/pypa/distlib/commit/1c08845b05d022692252ed45cb07e9cb9647caac
+ "${FILESDIR}"/${P}-py313.patch
)
# make sure it's not used
diff --git a/dev-python/distlib/files/distlib-0.3.8-py313.patch b/dev-python/distlib/files/distlib-0.3.8-py313.patch
new file mode 100644
index 000000000000..d47be4f566bd
--- /dev/null
+++ b/dev-python/distlib/files/distlib-0.3.8-py313.patch
@@ -0,0 +1,22 @@
+From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001
+From: Vinay Sajip <vinay_sajip@yahoo.co.uk>
+Date: Wed, 14 Feb 2024 14:46:14 +0000
+Subject: [PATCH] Fix #214: Update representation of interpreter in test.
+
+---
+ tests/test_scripts.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_scripts.py b/tests/test_scripts.py
+index 5c38687..74ee647 100644
+--- a/tests/test_scripts.py
++++ b/tests/test_scripts.py
+@@ -340,7 +340,7 @@ def test_script_run(self):
+ self.assertIn(b'<H3>Current Working Directory:</H3>', stdout)
+ self.assertIn(os.getcwd().encode('utf-8'), stdout)
+ else:
+- self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr)
++ self.assertIn(b'[Interpreter(0)]', stderr)
+ self.assertEqual(p.returncode, 1)
+
+ @unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX')