diff options
author | Glenn Johnson <glenn-johnson@uiowa.edu> | 2020-10-19 19:53:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 19:53:12 -0500 |
commit | 87da91cef61e9deffb3b9b0795de14190aa57eb5 (patch) | |
tree | a3cdba23bf348f3c1337e9633768aa8bae76e7a4 | |
parent | bb87c1ff54d668b64d976d27872bb86363b7ed0c (diff) | |
download | spack-87da91cef61e9deffb3b9b0795de14190aa57eb5.tar.gz spack-87da91cef61e9deffb3b9b0795de14190aa57eb5.tar.bz2 spack-87da91cef61e9deffb3b9b0795de14190aa57eb5.tar.xz spack-87da91cef61e9deffb3b9b0795de14190aa57eb5.zip |
add updated version of py-dnaio (#19374)
* add updated version of py-dnaio
* Add py-setuptools-scm build dependency
* Fine tune the py-xopen dependency constraint
The needed version of xopen does not become specific until v0.4 of
dnaio.
* Set constraint on py-setuptools-scm
The py-setuptools-scm dependency is needed beginning with v0.4.
-rw-r--r-- | var/spack/repos/builtin/packages/py-dnaio/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-dnaio/package.py b/var/spack/repos/builtin/packages/py-dnaio/package.py index 3429d458cf..c8e3250a15 100644 --- a/var/spack/repos/builtin/packages/py-dnaio/package.py +++ b/var/spack/repos/builtin/packages/py-dnaio/package.py @@ -13,8 +13,11 @@ class PyDnaio(PythonPackage): url = "https://pypi.io/packages/source/d/dnaio/dnaio-0.3.tar.gz" git = "https://github.com/marcelm/dnaio.git" + version('0.4.2', sha256='fa55a45bfd5d9272409b714158fb3a7de5dceac1034a0af84502c7f503ee84f8') version('0.3', sha256='47e4449affad0981978fe986684fc0d9c39736f05a157f6cf80e54dae0a92638') depends_on('python@3.4:', type=('build', 'run')) depends_on('py-setuptools', type=('build', 'run')) - depends_on('py-xopen@0.8.2:', type=('build', 'run')) + depends_on('py-setuptools-scm', when='@0.4:', type='build') + depends_on('py-xopen', type=('build', 'run')) + depends_on('py-xopen@0.8.2:', when='@0.4:', type=('build', 'run')) |