summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-frozendict/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-pyld/package.py22
2 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-frozendict/package.py b/var/spack/repos/builtin/packages/py-frozendict/package.py
new file mode 100644
index 0000000000..097458bad1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-frozendict/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2022 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 PyFrozendict(PythonPackage):
+ """An immutable dictionary"""
+
+ homepage = "An immutable dictionary"
+ pypi = "frozendict/frozendict-1.2.tar.gz"
+
+ version("2.3.4", sha256="15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78")
+ version("1.2", sha256="774179f22db2ef8a106e9c38d4d1f8503864603db08de2e33be5b778230f6e45")
+
+ depends_on("python@3.6:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-pyld/package.py b/var/spack/repos/builtin/packages/py-pyld/package.py
new file mode 100644
index 0000000000..382b0f62fc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyld/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2022 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 PyPyld(PythonPackage):
+ """This library is an implementation of the JSON-LD specification in
+ Python.
+ """
+
+ homepage = "https://github.com/digitalbazaar/pyld"
+ pypi = "PyLD/PyLD-2.0.3.tar.gz"
+
+ version("2.0.3", sha256="287445f888c3a332ccbd20a14844c66c2fcbaeab3c99acd506a0788e2ebb2f82")
+
+ depends_on("py-cachetools", type=("build", "run"))
+ depends_on("py-frozendict", type=("build", "run"))
+ depends_on("py-lxml", type=("build", "run"))
+ depends_on("py-setuptools", type=("build"))