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

    license("BSD-3-Clause")

    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"))