summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Heeren <erik.heeren@epfl.ch>2022-12-13 04:15:43 +0100
committerGitHub <noreply@github.com>2022-12-12 20:15:43 -0700
commit238d4f72f58ce6258c989cf6ccd33284c32561ee (patch)
tree989b65b7c6698e337d4b170d5e86701776604c6e
parentc5bc469eeb3f4b5908b3e50d86a7052bcb8a87bc (diff)
downloadspack-238d4f72f58ce6258c989cf6ccd33284c32561ee.tar.gz
spack-238d4f72f58ce6258c989cf6ccd33284c32561ee.tar.bz2
spack-238d4f72f58ce6258c989cf6ccd33284c32561ee.tar.xz
spack-238d4f72f58ce6258c989cf6ccd33284c32561ee.zip
py-pyld: add with dependency (#34472)
* py-pyld: add with dependency * py-pyld and py-frozendict: update copyright expiration * [@spackbot] updating style on behalf of heerener
-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"))