summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hjson/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-hjson/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-hjson/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-hjson/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hjson/package.py b/var/spack/repos/builtin/packages/py-hjson/package.py
new file mode 100644
index 0000000000..f2b491c6ee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hjson/package.py
@@ -0,0 +1,18 @@
+# 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 PyHjson(PythonPackage):
+ """Hjson is an user interface for JSON.
+ The Python implementation of Hjson is based on simplejson."""
+
+ homepage = "https://github.com/hjson/hjson-py"
+ pypi = "hjson/hjson-3.0.2.tar.gz"
+
+ version("3.1.2", sha256="55af475a27cf83a7969c808399d7bccdec8fb836a07ddbd574587593b9cdcf75")
+ version("3.0.2", sha256="2838fd7200e5839ea4516ece953f3a19892c41089f0d933ba3f68e596aacfcd5")
+
+ depends_on("py-setuptools", type="build")