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
This commit is contained in:
parent
c5bc469eeb
commit
238d4f72f5
19
var/spack/repos/builtin/packages/py-frozendict/package.py
Normal file
19
var/spack/repos/builtin/packages/py-frozendict/package.py
Normal file
@ -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")
|
22
var/spack/repos/builtin/packages/py-pyld/package.py
Normal file
22
var/spack/repos/builtin/packages/py-pyld/package.py
Normal file
@ -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"))
|
Loading…
Reference in New Issue
Block a user