summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2024-08-31 13:30:07 -0400
committerGitHub <noreply@github.com>2024-08-31 12:30:07 -0500
commitd226ef31bdfe8f34481c615d2507918a864495ff (patch)
tree08192466b9be3e3e2068e43b0cf5538809cd3f2c /var
parentae32af927d42bee91b5a8a5f33fe34c3a6bfa639 (diff)
downloadspack-d226ef31bdfe8f34481c615d2507918a864495ff.tar.gz
spack-d226ef31bdfe8f34481c615d2507918a864495ff.tar.bz2
spack-d226ef31bdfe8f34481c615d2507918a864495ff.tar.xz
spack-d226ef31bdfe8f34481c615d2507918a864495ff.zip
New package: py-jsonlines (#46124)
* py-jsonlines: new package * py-jsonlines: fix dependency --------- Co-authored-by: Alex C Leute <acl2809@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-jsonlines/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jsonlines/package.py b/var/spack/repos/builtin/packages/py-jsonlines/package.py
new file mode 100644
index 0000000000..f0a6fc5483
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jsonlines/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2024 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 PyJsonlines(PythonPackage):
+ """Library with helpers for the jsonlines file format"""
+
+ homepage = "https://github.com/wbolster/jsonlines"
+ pypi = "jsonlines/jsonlines-4.0.0.tar.gz"
+
+ license("BSD-3-Clause", checked_by="alex391")
+
+ version("4.0.0", sha256="0c6d2c09117550c089995247f605ae4cf77dd1533041d366351f6f298822ea74")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-attrs@19.2.0:", type=("build", "run"))