diff options
author | Erik Heeren <erik.heeren@epfl.ch> | 2023-03-15 01:18:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-14 20:18:27 -0400 |
commit | 93887edba81d68abe915f8f05deb7fe43e9e7549 (patch) | |
tree | 1503600a72e0620446d1709134556a9ec052bfb5 /var | |
parent | cd42fc5cc8dfda473643f40d359fc3d68d7906fb (diff) | |
download | spack-93887edba81d68abe915f8f05deb7fe43e9e7549.tar.gz spack-93887edba81d68abe915f8f05deb7fe43e9e7549.tar.bz2 spack-93887edba81d68abe915f8f05deb7fe43e9e7549.tar.xz spack-93887edba81d68abe915f8f05deb7fe43e9e7549.zip |
py-pyshacl: patch dependency typo (#36084)
* py-pyshacl: patch dependency typo
* py-pyshacl: satisfy flake8
* Update var/spack/repos/builtin/packages/py-pyshacl/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pyshacl/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyshacl/package.py b/var/spack/repos/builtin/packages/py-pyshacl/package.py index fb742ee2c8..aad6b182a0 100644 --- a/var/spack/repos/builtin/packages/py-pyshacl/package.py +++ b/var/spack/repos/builtin/packages/py-pyshacl/package.py @@ -23,3 +23,7 @@ class PyPyshacl(PythonPackage): depends_on("py-owlrl@6.0.2:6", when="@0.20.0:", type=("build", "run")) depends_on("py-packaging@21.3:", when="@0.20.0:", type=("build", "run")) depends_on("py-prettytable@2.2.1:2", type=("build", "run")) + + def patch(self): + if self.spec.satisfies("@0.17.2"): + filter_file("^5.2.3,<7", ">=5.2.3,<7", "pyproject.toml", string=True) |