prewikka/prewikka-ez_setup.patch

32 lines
1.0 KiB
Diff

From: Thomas Andrejak <thomas.andrejak@gmail.com>
Date: 2017-02-27 23:25:00 +0100
References: no
Upstream: no
Subject: Backport ez_setup to be compatible with old (Open)SuSE
--- ez_setup.py 2016-04-22 23:28:03.000000000 +0200
+++ ez_setup.py 2016-05-02 00:23:50.498917032 +0200
@@ -36,7 +36,7 @@
except ImportError:
USER_SITE = None
-DEFAULT_VERSION = "5.7"
+DEFAULT_VERSION = "5.4.1"
DEFAULT_URL = "https://pypi.python.org/packages/source/s/setuptools/"
def _python_cmd(*args):
@@ -268,7 +268,7 @@
Download setuptools from a specified location and return its filename
`version` should be a valid setuptools version number that is available
- as an sdist for download under the `download_base` URL (which should end
+ as an egg for download under the `download_base` URL (which should end
with a '/'). `to_dir` is the directory where the egg will be downloaded.
`delay` is the number of seconds to pause before an actual download
attempt.
@@ -330,3 +330,4 @@
if __name__ == '__main__':
sys.exit(main())
+