summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hjson/package.py
blob: 63dea7f13a1a7e3db2b82c20444e1c9c1e6e6d23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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"

    license("AFL-2.1")

    version("3.1.0", sha256="55af475a27cf83a7969c808399d7bccdec8fb836a07ddbd574587593b9cdcf75")
    version("3.0.2", sha256="2838fd7200e5839ea4516ece953f3a19892c41089f0d933ba3f68e596aacfcd5")

    depends_on("py-setuptools", type="build")