dev-python/openai: add 0.27.2, update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-04-10 09:59:12 +02:00 committed by Andreas Billmeier
parent 07a0a8b32a
commit a1722d7b40
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 39 additions and 6 deletions

View File

@ -580,8 +580,8 @@ There are 1832 Ebuilds in total, 1821 of them have in total 1837 (36 different)
|License| Ebuilds using it|
|-------|-----|
|MIT|1070|
|Apache-2.0|395|
|MIT|1071|
|Apache-2.0|394|
|GPL-3|118|
|BSD|96|
|LGPL-3|26|

View File

@ -1,3 +1,5 @@
DIST openai-0.26.2.tar.gz 55476 BLAKE2B e97723108c622cae59d0de7bd44e4befdedaf9c9e20de138598fd0902b14a71be055de6372f9249b3fb18944d9986a65c8d44deabc0214d2960c304d3e9beb46 SHA512 9d40dc62921849588b9012d8980c69e859123513190bc309f0d65600d3f9d210c74573ca9fa18739a9f4df69f3c0d4be0cff0cea0875712933d66b6a34840d68
EBUILD openai-0.26.2.ebuild 799 BLAKE2B 2d760cd1a58c5f8ce20e9654e4056843920bc8a9d4a41f619baea9e8903f27e02a2c2f8601dc8fd60f16e3793d33a8ff325ab14921e1f8591ddc171b8a575d70 SHA512 dd25ea364990f79e8553f447e0c5ad30f673963955dda010e3072cc97d0d5b536a0f677cbc94eb92c3078da254a3933efb275406304e3ed780b5224738a006da
DIST openai-0.27.2.tar.gz 57122 BLAKE2B 3b6294ca98f279ef0fb51ee1ae761718a01a728c9c29677f4bb9b0731b61ad0a818a94bafe75425f259c12e72e86d4b3b1ea07b44f8aad6a47cc21f5df206bb0 SHA512 1d648315a8fc04650d11cc3c90e96f0062d276cb7dd1fd132b03f0205675af7ed7df3c1d54384b0f2d4f51d30d387392fc96133f190057feb689026b066ee700
EBUILD openai-0.26.2.ebuild 712 BLAKE2B 1e3ff03def1da9cd99eed858ea28b2fd28ba762d8c8d6a49719d1770f7a5b5217155f2e17558d53cf40e5fe53adf46d88e06b6758ca79303887e0f879fc98ecb SHA512 6d50fca6dd32524f48c2dba88e581a1e95f204cafd25c4e9b66b168fd422391a012fb46db0ceebfdfdcb031cd65786d527cd65211de73ab2a5a7a1d09583c510
EBUILD openai-0.27.2.ebuild 712 BLAKE2B 1e3ff03def1da9cd99eed858ea28b2fd28ba762d8c8d6a49719d1770f7a5b5217155f2e17558d53cf40e5fe53adf46d88e06b6758ca79303887e0f879fc98ecb SHA512 6d50fca6dd32524f48c2dba88e581a1e95f204cafd25c4e9b66b168fd422391a012fb46db0ceebfdfdcb031cd65786d527cd65211de73ab2a5a7a1d09583c510
MISC metadata.xml 505 BLAKE2B a5245462c62a7fa7e51153dd4040ed8180553474bd9ea584f94a0724d61d8965f0109375bc6d39fe2480c89f670ec08616311ab9320f53218200f1f0f6c39932 SHA512 33fa7a68d794e8badc728091a30fed602d0305c5d6fc72dde8ccf04271c1ea271d16e021aebafc24baa6e20f6856b5302eedabfa39d86258fd2254287c007159

View File

@ -5,11 +5,10 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="Python client library for the OpenAI API"
HOMEPAGE="https://github.com/openai/openai-python https://pypi.org/project/openai/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@ -23,7 +22,6 @@ RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python client library for the OpenAI API"
HOMEPAGE="https://github.com/openai/openai-python https://pypi.org/project/openai/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest