dev-python/ibm-watson - 11.2.0 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/ibm-watson-11.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/ibm-watson-11.2.0

Or alternatively:

emerge --autounmask-write -a =dev-python/ibm-watson-11.2.0

Package Information

Description:
Client library to use the IBM Watson Services
Homepage:
https://github.com/watson-developer-cloud/python-sdk https://pypi.org/project/ibm-watson/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
11.2.0 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

DESCRIPTION="Client library to use the IBM Watson Services"
HOMEPAGE="https://github.com/watson-developer-cloud/python-sdk https://pypi.org/project/ibm-watson/"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND=">=dev-python/requests-2.0[${PYTHON_USEDEP}]
	<dev-python/requests-3.0[${PYTHON_USEDEP}]
	>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
	>=dev-python/websocket-client-1.1.0[${PYTHON_USEDEP}]
	>=dev-python/ibm-cloud-sdk-core-3.3.6[${PYTHON_USEDEP}]
	<dev-python/ibm-cloud-sdk-core-4.0.0[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
		dev-python/responses[${PYTHON_USEDEP}]
	)"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/ibm-watson | euse -E <flag> -p dev-python/ibm-watson | euse -D <flag> -p dev-python/ibm-watson

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/requests-2.0[]
	<dev-python/requests-3.0[]
	>=dev-python/python-dateutil-2.5.3[]
	>=dev-python/websocket-client-1.1.0[]
	>=dev-python/ibm-cloud-sdk-core-3.3.6[]
	<dev-python/ibm-cloud-sdk-core-4.0.0[]

BDEPEND

	test? (
		dev-python/pytest[]
		dev-python/responses[]
	)