summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyshacl/package.py
diff options
context:
space:
mode:
authorErik Heeren <erik.heeren@epfl.ch>2023-01-27 18:12:31 +0100
committerGitHub <noreply@github.com>2023-01-27 09:12:31 -0800
commitb1cf512d784219a8683b5450b3cf9640b3fc7c40 (patch)
tree3467f216eea7c647c1b4063883e52326eb299507 /var/spack/repos/builtin/packages/py-pyshacl/package.py
parent0bfd06d0b6ab3db5cca301d0685b7fb63033088f (diff)
downloadspack-b1cf512d784219a8683b5450b3cf9640b3fc7c40.tar.gz
spack-b1cf512d784219a8683b5450b3cf9640b3fc7c40.tar.bz2
spack-b1cf512d784219a8683b5450b3cf9640b3fc7c40.tar.xz
spack-b1cf512d784219a8683b5450b3cf9640b3fc7c40.zip
py-nexusforge: add with dependencies (#35208)
* py-nexusforge: add with dependencies * py-pyshacl, py-sseclient: more style * py-hjson, py-nexus-sdk, py-nexusforge, py-puremagic: more style * py-pyshacl: license update * py-nexusforge, py-prettytable, py-pyshacl: review remarks * py-nexusforge: make the variant mean something Too hasty to commit...
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pyshacl/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pyshacl/package.py25
1 files changed, 25 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
new file mode 100644
index 0000000000..fb742ee2c8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyshacl/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+from spack.package import *
+
+
+class PyPyshacl(PythonPackage):
+ """A Python validator for SHACL."""
+
+ homepage = "https://github.com/RDFLib/pySHACL"
+ pypi = "pyshacl/pyshacl-0.17.2.tar.gz"
+
+ version("0.20.0", sha256="47f014c52cc69167b902c89b3940dd400f7f5d2169a62f97f837f3419b4a737d")
+ version("0.17.2", sha256="46f31c7a7f7298aa5b483d92dbc850ff79a144d26f1f41e83267ed84b4d6ae23")
+
+ depends_on("py-poetry-core@1.1:1", type="build")
+ depends_on("python@3.7:3", type=("build", "run"))
+ depends_on("py-rdflib@6.0.0:6", when="@0.17.2", type=("build", "run"))
+ depends_on("py-rdflib@6.2.0:6", when="@0.20.0:", type=("build", "run"))
+ depends_on("py-html5lib@1.1:1", when="@0.20.0:", type=("build", "run"))
+ depends_on("py-owlrl@5.2.3:6", when="@0.17.2", type=("build", "run"))
+ 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"))