spack/var/spack/repos/builtin/packages/py-nexus-sdk/package.py
Erik Heeren b1cf512d78
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...
2023-01-27 09:12:31 -08:00

22 lines
794 B
Python

# 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 PyNexusSdk(PythonPackage):
"""A Python API to interface with Blue Brain Nexus REST API."""
homepage = "https://github.com/BlueBrain/nexus-python-sdk"
pypi = "nexus-sdk/nexus-sdk-0.3.2.tar.gz"
version("0.3.2", sha256="cd5668a062283410c5ff57a68c218440df607da84e0a813a8c9390611f7212b3")
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-scm", type="build")
depends_on("py-puremagic", type=("build", "run"))
depends_on("py-requests", type=("build", "run"))
depends_on("py-sseclient", type=("build", "run"))