summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-06-01 01:10:29 +0200
committerGitHub <noreply@github.com>2021-05-31 17:10:29 -0600
commite5513f914eef912c1891a97f3332bf213893e1bc (patch)
tree8526081a7b5194d6991d796ac624538f5f0b1ed1 /var
parent1fae271be8822089673001d376ff176da4c52bbc (diff)
downloadspack-e5513f914eef912c1891a97f3332bf213893e1bc.tar.gz
spack-e5513f914eef912c1891a97f3332bf213893e1bc.tar.bz2
spack-e5513f914eef912c1891a97f3332bf213893e1bc.tar.xz
spack-e5513f914eef912c1891a97f3332bf213893e1bc.zip
py-prov: add new package (#24040)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-prov/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-prov/package.py b/var/spack/repos/builtin/packages/py-prov/package.py
new file mode 100644
index 0000000000..983a2b0b21
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-prov/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 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 import *
+
+
+class PyProv(PythonPackage):
+ """A Python library for W3C Provenance Data Model (PROV).
+
+ A library for W3C Provenance Data Model supporting PROV-JSON, PROV-XML and
+ PROV-O (RDF)
+ """
+
+ homepage = "prov.readthedocs.io/"
+ pypi = "prov/prov-2.0.0.tar.gz"
+
+ version('2.0.0', sha256='b6438f2195ecb9f6e8279b58971e02bc51814599b5d5383366eef91d867422ee')
+
+ variant('dot', default=False, description='Graphical visualisation support for prov.model')
+
+ depends_on('python@3.6:3.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+
+ depends_on('py-lxml@3.3.5:', type=('build', 'run'))
+ depends_on('py-networkx@2.0:', type=('build', 'run'))
+ depends_on('py-python-dateutil@2.2:', type=('build', 'run'))
+ depends_on('py-rdflib@4.2.1:', type=('build', 'run'))
+ depends_on('py-pydot@1.2.0:', when='+dot', type=('build', 'run'))
+ depends_on('graphviz', when='+dot', type=('build', 'run'))