Fix namespaced python packages (#3757)

* Fix namespaced python packages

* Update package.py

* Update package.py

* fix typo
This commit is contained in:
healther 2017-04-10 15:12:57 +02:00 committed by Adam J. Stewart
parent 77673f4c42
commit 5008973d99
2 changed files with 6 additions and 2 deletions

View file

@ -34,5 +34,7 @@ class PyBackportsShutilGetTerminalSize(PythonPackage):
version('1.0.0', '03267762480bd86b50580dc19dff3c66')
depends_on('py-setuptools', type='build')
# newer setuptools version mess with "namespace" packages in an
# incompatible way cf. https://github.com/pypa/setuptools/issues/900
depends_on('py-setuptools@:30.999.999', type='build')
depends_on('python@:3.2.999')

View file

@ -33,4 +33,6 @@ class PyBackportsSslMatchHostname(PythonPackage):
version('3.5.0.1', 'c03fc5e2c7b3da46b81acf5cbacfe1e6')
depends_on('py-setuptools', type='build')
# newer setuptools version mess with "namespace" packages in an
# incompatible way cf. https://github.com/pypa/setuptools/issues/900
depends_on('py-setuptools@:30.999.999', type='build')