diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-08 09:00:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-08 09:00:56 +0200 |
commit | 03c13f91ccc5269f43a5089d2bb4b19edc2eb22f (patch) | |
tree | 5978347685cee484214c397ad04d4dedf0d80571 /dev-python/distlib/files | |
parent | dev-python/cbor2: Remove old (diff) | |
download | gentoo-03c13f91ccc5269f43a5089d2bb4b19edc2eb22f.tar.gz gentoo-03c13f91ccc5269f43a5089d2bb4b19edc2eb22f.tar.bz2 gentoo-03c13f91ccc5269f43a5089d2bb4b19edc2eb22f.zip |
dev-python/distlib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/distlib/files')
-rw-r--r-- | dev-python/distlib/files/distlib-0.3.1-system-pypiserver.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-python/distlib/files/distlib-0.3.1-system-pypiserver.py b/dev-python/distlib/files/distlib-0.3.1-system-pypiserver.py deleted file mode 100644 index beb0cd8dd925..000000000000 --- a/dev-python/distlib/files/distlib-0.3.1-system-pypiserver.py +++ /dev/null @@ -1,37 +0,0 @@ -From f30a24d3dffee78cf0581218d9cca0e395b75f6a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 8 Jul 2020 09:24:42 +0200 -Subject: [PATCH] Use system pypiserver - ---- - tests/test_index.py | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -diff --git a/tests/test_index.py b/tests/test_index.py -index bc24367..4971e3f 100644 ---- a/tests/test_index.py -+++ b/tests/test_index.py -@@ -52,11 +52,6 @@ class PackageIndexTestCase(unittest.TestCase): - def setUpClass(cls): - if cls.run_test_server: - cls.server = None -- server_script = os.path.join(HERE, 'pypi-server-standalone.py') -- if not os.path.exists(server_script): -- logger.debug('test server not available - some tests ' -- 'will be skipped.') -- return - pwdfn = os.path.join(HERE, 'passwords') - if not os.path.exists(pwdfn): # pragma: no cover - with open(pwdfn, 'w') as f: -@@ -65,7 +60,7 @@ class PackageIndexTestCase(unittest.TestCase): - if not os.path.isdir(pkgdir): # pragma: no cover - os.mkdir(pkgdir) - cls.sink = sink = open(os.devnull, 'w') -- cmd = [sys.executable, 'pypi-server-standalone.py', -+ cmd = ['pypi-server', - '-P', 'passwords', 'packages'] - cls.server = subprocess.Popen(cmd, stdout=sink, stderr=sink, - cwd=HERE) --- -2.27.0 - |