void-packages/srcpkgs/python3-openai/template

19 lines
701 B
Bash

# Template file for 'python3-openai'
pkgname=python3-openai
version=1.12.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel hatchling"
depends="python3-requests python3-numpy python3-pandas python3-tqdm python3-openpyxl python3-pydantic python3-httpx python3-distro"
short_desc="OpenAI Python library"
maintainer="Ananteris <ananteris@protonmail.ch>"
license="MIT"
homepage="https://github.com/openai/openai-python"
distfiles="https://github.com/openai/openai-python/archive/refs/tags/v${version}.tar.gz"
checksum=0489d66f1bb37abd4472342446e47086e81561e4047eb50254cf3275b6995ffd
make_check=extended # Requires valid API key
post_install() {
vlicense LICENSE
}