summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorhealther <healther@users.noreply.github.com>2017-04-10 15:12:57 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-10 08:12:57 -0500
commit5008973d99b6c3197601427044f9180fa8bccbc1 (patch)
tree090f67bc4c5ed738b3dff101aa64e0c208eee9ca /var
parent77673f4c420a374e313a94d41e53bc23f311f139 (diff)
downloadspack-5008973d99b6c3197601427044f9180fa8bccbc1.tar.gz
spack-5008973d99b6c3197601427044f9180fa8bccbc1.tar.bz2
spack-5008973d99b6c3197601427044f9180fa8bccbc1.tar.xz
spack-5008973d99b6c3197601427044f9180fa8bccbc1.zip
Fix namespaced python packages (#3757)
* Fix namespaced python packages * Update package.py * Update package.py * fix typo
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py b/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
index 5950faa765..3447666a2e 100644
--- a/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
@@ -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')
diff --git a/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py b/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
index bf4679556b..12af938be6 100644
--- a/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
@@ -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')