dev-python/openai: add new package

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
This commit is contained in:
Alexander Miroshnichenko 2025-09-10 10:22:55 +03:00
parent 85ca5aac6e
commit 559e674e6e
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST openai-1.107.0.tar.gz 566056 BLAKE2B 29240b8904e174461823c0c065264ef13264b0364fe6d371aaec166af9a12d9683b223e8defe824fe7a1a81909b923241aaac804efde0abef935e4d0599fd5a7 SHA512 0dec9ca307bcaf1e30ac443cbf4ea6ffa770354b914c6217a28d371b5d7025b7eceda255439f54ab6636088d4429758aefaeb8eb951238c9c2f56420137e6d7c

View File

@ -0,0 +1,28 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi
DESCRIPTION="The official Python library for the openai API"
HOMEPAGE="https://github.com/openai/openai-python"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test" # No test available
BDEPEND="dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]"
RDEPEND="
$(python_gen_cond_dep '
dev-python/httpx[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
')
"