add ibm-watson-5.2.2

This commit is contained in:
Andreas Billmeier 2021-09-02 07:37:31 +02:00 committed by Andreas Billmeier
parent 15ce77e322
commit 68904f5de6
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST ibm-watson-5.2.2.tar.gz 407271 BLAKE2B 53a62140ddd2e2c07468f1c3c9d8057627dff7b8d1fc4180a4e897329b81298a9bda4f262743a90ec2103ce2a37af7abb57b096174636a4d5c4cac8f36c5fd47 SHA512 363ac2eaa1fb44959fe3e7ed63a67555fedf80e3f8eba8abb5185c31351f133ef910c9db4ab1c5da79829da3a2b3d8c921e0ad4f982b215db0e492c1e4bb587e
EBUILD ibm-watson-5.2.2.ebuild 1016 BLAKE2B 0b4b2d632975315b58c4a1a45d976427650633dcad18cd102fc4a5b45ae6eb2cff744bc6b182a6261d64b4880ea131e4b27c472767dbd8c50c95a9e053fcee5a SHA512 fcf9ff92fff5b748d0475246993b3da14291837b86f596c829c6e05abc3f8a864cfc2dba357058a8f40aaa679dfad542741245e95970dc04966246e0c4aca961
MISC metadata.xml 452 BLAKE2B 2805da58ec0b410d6220c44b92a625a3771103aa9b16533898b953785dcf55d9122296cedf4eca6c4dde40672fb31e76811d4eae7b8165d246918fcc0bff0275 SHA512 e0b302b28f537ad75c246e95b9c8fbc3fc9861fb63f90279a23b54e97acff5b07e2a20f1ed2bfb92a42abb16db51e7d681328fe46928aed61696a8132d3209c6

View File

@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Client library to use the IBM Watson Services"
HOMEPAGE="https://github.com/watson-developer-cloud/python-sdk https://pypi.org/project/ibm-watson/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="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}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">ibm-watson</remote-id>
<maintainer status="unknown">
<email>watdevex@us.ibm.com</email>
<name>IBM Watson</name>
</maintainer>
</upstream>
</pkgmetadata>