From f09e42258ab4ab0670218994babb491cd76d9139 Mon Sep 17 00:00:00 2001 From: Ananteris Date: Wed, 21 Dec 2022 11:01:48 +0000 Subject: [PATCH 1/2] New package: python3-pandas-stubs-1.5.2 --- srcpkgs/python3-pandas-stubs/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-pandas-stubs/template diff --git a/srcpkgs/python3-pandas-stubs/template b/srcpkgs/python3-pandas-stubs/template new file mode 100644 index 000000000000..2f4328115e12 --- /dev/null +++ b/srcpkgs/python3-pandas-stubs/template @@ -0,0 +1,18 @@ +# Template file for 'python3-pandas-stubs' +pkgname=python3-pandas-stubs +version=1.5.2.221213 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" +depends="python3-typing_extensions python3-pandas" +short_desc="Stubs for the pandas library" +maintainer="Ananteris " +license="MIT" +homepage="https://pypi.org/project/pandas-stubs/" +distfiles="https://github.com/pandas-dev/pandas-stubs/archive/refs/tags/v${version}.tar.gz" +checksum="cb049f35732c07d232a942b73c1ef0ab582e9005cfb5fa724f640c4a7a1e299c" +make_checks=extended # needs python3-xarray and python3-pyarrow + +post_install() { + vlicense LICENSE +} From b00b1a45174ed3b619a5f0f6e3a2bae0cddad9b9 Mon Sep 17 00:00:00 2001 From: Ananteris Date: Wed, 21 Dec 2022 11:02:15 +0000 Subject: [PATCH 2/2] New package: python3-openai-0.25.0 --- srcpkgs/python3-openai/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-openai/template diff --git a/srcpkgs/python3-openai/template b/srcpkgs/python3-openai/template new file mode 100644 index 000000000000..df9be5c67434 --- /dev/null +++ b/srcpkgs/python3-openai/template @@ -0,0 +1,18 @@ +# Template file for 'python3-openai' +pkgname=python3-openai +version=0.25.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-requests python3-numpy python3-pandas python3-tqdm python3-pandas-stubs python3-openpyxl" +short_desc="OpenAI Python library" +maintainer="Ananteris " +license="MIT" +homepage="https://github.com/openai/openai-python" +distfiles="https://github.com/openai/openai-python/archive/refs/tags/v${version}.tar.gz" +checksum="422a42368b0264ebcd9914e0b38004b2c441a69ea7f3a059d6afe84b770f8553" +make_check=extended # Needs valid API key to test + +post_install() { + vlicense LICENSE +}