diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-duecredit/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-duecredit/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-duecredit/package.py b/var/spack/repos/builtin/packages/py-duecredit/package.py index ec1ac2ce6c..7f1384ecf2 100644 --- a/var/spack/repos/builtin/packages/py-duecredit/package.py +++ b/var/spack/repos/builtin/packages/py-duecredit/package.py @@ -13,10 +13,11 @@ class PyDuecredit(PythonPackage): pypi = "duecredit/duecredit-0.9.1.tar.gz" version('0.9.1', sha256='f6192ce9315b35f6a67174761291e61d0831e496e8ff4acbc061731e7604faf8') + version('0.6.5', sha256='da3746c24f048e1b2e9bd15c001f0f453a29780ebb9d26367f478a63d15dee9b') - depends_on('python@3.6:', type=('build', 'run')) + depends_on('python@3.6:', when='@0.9:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-requests', type=('build', 'run')) depends_on('py-citeproc-py@0.4:', type=('build', 'run')) depends_on('py-six', type=('build', 'run')) - depends_on('py-importlib-metadata', when='python@:3.7', type=('build', 'run')) + depends_on('py-importlib-metadata', when='@0.9: ^python@:3.7', type=('build', 'run')) |