diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-12 14:32:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-05-12 14:32:48 +0000 |
| commit | 2ea9e9988bb62d22d6e189a65a0dc0218b8103db (patch) | |
| tree | dba985637358ca69fdb87390fc5711880f1959e7 /dev-python/distlib | |
| parent | c2f35c3c3b326b5a16c2f7f7cb347716f3865254 (diff) | |
| download | baldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.gz baldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.tar.xz baldeagleos-repo-2ea9e9988bb62d22d6e189a65a0dc0218b8103db.zip | |
Adding metadata
Diffstat (limited to 'dev-python/distlib')
| -rw-r--r-- | dev-python/distlib/distlib-0.3.8.ebuild | 4 | ||||
| -rw-r--r-- | dev-python/distlib/files/distlib-0.3.8-py313.patch | 22 |
2 files changed, 25 insertions, 1 deletions
diff --git a/dev-python/distlib/distlib-0.3.8.ebuild b/dev-python/distlib/distlib-0.3.8.ebuild index 561ebc1ef36e..0002488b1efa 100644 --- a/dev-python/distlib/distlib-0.3.8.ebuild +++ b/dev-python/distlib/distlib-0.3.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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') |
