summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ibm-watson/package.py
blob: e9dba37159242b307d087221877a8d68f795aca7 (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 PyIbmWatson(PythonPackage):
    """Python client library to quickly get started with
    the various Watson APIs services."""

    homepage = "https://github.com/watson-developer-cloud/python-sdk"
    pypi = "ibm-watson/ibm-watson-5.1.0.tar.gz"

    license("Apache-2.0")

    version("5.1.0", sha256="faea1e519f6d846a5ca9e03aefc9f894ff8da1eed9117ace6a6fa8f218ba0bc7")

    depends_on("py-setuptools", type="build")
    depends_on("py-requests@2.0:2", type=("build", "run"))
    depends_on("py-python-dateutil@2.5.3:", type=("build", "run"))
    depends_on("py-websocket-client@0.48.0", type=("build", "run"))
    depends_on("py-ibm-cloud-sdk-core@3.3.6:", type=("build", "run"))