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>
This commit is contained in:
Erik Heeren 2023-03-15 01:18:27 +01:00 committed by GitHub
parent cd42fc5cc8
commit 93887edba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)