Fix setuptools bootstrapping now that dependencies are no longer vendored (#3198)

* Fix setuptools bootstrapping now that dependencies are no longer vendored
* Reorder patch and comments
* Use exact same patch as https://github.com/ActiveState/appdirs/pull/84
* Use exact same patch as https://sourceforge.net/p/pyparsing/patches/10/
This commit is contained in:
Adam J. Stewart
2017-02-20 20:09:03 -06:00
committed by Todd Gamblin
parent fbbcf456e9
commit d2a52d6dd6
7 changed files with 154 additions and 4 deletions

View File

@@ -42,3 +42,12 @@ class PySetuptools(PythonPackage):
version('18.1', 'f72e87f34fbf07f299f6cb46256a0b06')
version('16.0', '0ace0b96233516fc5f7c857d086aa3ad')
version('11.3.1', '01f69212e019a2420c1693fb43593930')
depends_on('python@2.6:2.7,3.3:')
# Previously, setuptools vendored all of its dependencies to allow
# easy bootstrapping. As of version 34.0.0, this is no longer done
# and the dependencies need to be installed externally.
depends_on('py-packaging@16.8:', when='@34.0.0:', type=('build', 'run'))
depends_on('py-six@1.6.0:', when='@34.0.0:', type=('build', 'run'))
depends_on('py-appdirs@1.4.0:', when='@34.0.0:', type=('build', 'run'))