28 lines
748 B
Bash
28 lines
748 B
Bash
# 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=poetry
|
|
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/pyyaml[${PYTHON_USEDEP}]
|
|
dev-python/invoke[${PYTHON_USEDEP}]
|
|
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
')
|
|
"
|