diff options
author | iarspider <iarspider@gmail.com> | 2019-12-11 19:06:18 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-11 12:06:18 -0600 |
commit | d4326038b938230d877367eb0920cf76439ae638 (patch) | |
tree | 7c0ac3eb6552c9d6cabaec3cc61e1a0dae9fb3d0 /var | |
parent | bb3bae4baedafc90cef8ae605aaf2565bb4083c7 (diff) | |
download | spack-d4326038b938230d877367eb0920cf76439ae638.tar.gz spack-d4326038b938230d877367eb0920cf76439ae638.tar.bz2 spack-d4326038b938230d877367eb0920cf76439ae638.tar.xz spack-d4326038b938230d877367eb0920cf76439ae638.zip |
Fix py-pkgconfig recipe (#14081)
* Fix py-pkgconfig recipe
* Update package.py
* Proper fix for py-pkgconfig
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pkgconfig/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-pkgconfig/package.py b/var/spack/repos/builtin/packages/py-pkgconfig/package.py index d1d0ab004a..0250cf8fd4 100644 --- a/var/spack/repos/builtin/packages/py-pkgconfig/package.py +++ b/var/spack/repos/builtin/packages/py-pkgconfig/package.py @@ -12,11 +12,13 @@ class PyPkgconfig(PythonPackage): homepage = "http://github.com/matze/pkgconfig" url = "https://pypi.io/packages/source/p/pkgconfig/pkgconfig-1.2.2.tar.gz" + version('1.5.1', sha256='97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f') version('1.4.0', sha256='048c3b457da7b6f686b647ab10bf09e2250e4c50acfe6f215398a8b5e6fcdb52') version('1.2.2', sha256='3685ba02a9b72654a764b728b559f327e1dbd7dc6ebc310a1bd429666ee202aa') - depends_on('python@2.6:') - depends_on('py-setuptools', type='build') + depends_on('python@2.6:2.8,3.3:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.3:', when='@1.5:', type=('build', 'run')) + depends_on('py-setuptools', when='@:1.4', type=('build', 'run')) depends_on('pkgconfig', type=('build', 'run')) |