diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2021-10-06 03:16:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 01:16:18 +0000 |
commit | c97c135f1dbe24955048fcc4f0f98281ef0c9300 (patch) | |
tree | f4fe64911b4f8cc3a03d7ec2641d17cfc8f01724 /var | |
parent | d07c3664081312b2874395bfe62f0f6d6f62409b (diff) | |
download | spack-c97c135f1dbe24955048fcc4f0f98281ef0c9300.tar.gz spack-c97c135f1dbe24955048fcc4f0f98281ef0c9300.tar.bz2 spack-c97c135f1dbe24955048fcc4f0f98281ef0c9300.tar.xz spack-c97c135f1dbe24955048fcc4f0f98281ef0c9300.zip |
py-heapdict: Add version 1.0.0 (#26495)
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-heapdict/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-heapdict/package.py b/var/spack/repos/builtin/packages/py-heapdict/package.py index 99f27ce27e..3b90b6b4c7 100644 --- a/var/spack/repos/builtin/packages/py-heapdict/package.py +++ b/var/spack/repos/builtin/packages/py-heapdict/package.py @@ -13,6 +13,13 @@ class PyHeapdict(PythonPackage): pypi = "HeapDict/HeapDict-1.0.1.tar.gz" version('1.0.1', sha256='8495f57b3e03d8e46d5f1b2cc62ca881aca392fd5cc048dc0aa2e1a6d23ecdb6') + version('1.0.0', sha256='40c9e3680616cfdf942f77429a3a9e0a76f31ce965d62f4ffbe63a83a5ef1b5a') depends_on('python@2.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') + + # Prevent passing --single-version-externally-managed to setup.py, to avoid + # error: option --single-version-externally-managed not recognized + @when('@1.0.0') + def install_args(self, spec, prefix): + return ['--prefix={0}'.format(prefix), '--root=/'] |