openai-0.27.4.ebuild

This commit is contained in:
Anton Bolshakov 2023-04-13 18:39:42 +08:00
parent 06ee30381d
commit be42a309e7
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 36 additions and 2 deletions

View file

@ -1 +1,2 @@
DIST openai-0.27.2.tar.gz 57122 BLAKE2B 3b6294ca98f279ef0fb51ee1ae761718a01a728c9c29677f4bb9b0731b61ad0a818a94bafe75425f259c12e72e86d4b3b1ea07b44f8aad6a47cc21f5df206bb0 SHA512 1d648315a8fc04650d11cc3c90e96f0062d276cb7dd1fd132b03f0205675af7ed7df3c1d54384b0f2d4f51d30d387392fc96133f190057feb689026b066ee700
DIST openai-0.27.4.tar.gz 57279 BLAKE2B 1189dd52dd15fd2be4e106f0b69fcb6e0235618022f18cd9e59601ca86332b19038ab9abe8e93c9e3fefc5ec4f29152856b5cb62f6aefca42a8236a93d76a152 SHA512 3e9964cc4eb873787f40fef5f4999f9051ac88e97ab764911c91a60a6a95489bd4969006b9a2c97da1f576a8bb292e73d37f0a2a79db940c8c0f1751cc9fe7b1

View file

@ -6,11 +6,10 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="Python client library for the OpenAI API"
HOMEPAGE="https://github.com/openai/openai-python"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"

View file

@ -0,0 +1,34 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION="Python client library for the OpenAI API"
HOMEPAGE="https://github.com/openai/openai-python"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="datalib"
RDEPEND=">=dev-python/requests-2.20[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/aiohttp[${PYTHON_USEDEP}]
datalib? (
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/pandas-1.2.3[${PYTHON_USEDEP}]
>=dev-python/pandas-stubs-1.1.0.11[${PYTHON_USEDEP}]
>=dev-python/openpyxl-3.0.7[${PYTHON_USEDEP}]
)"
# wandb? ( dev-python/wandb[$PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# wandb? ( datalib )"
RESTRICT="test"