From d4dc81e29fd12d5f9081e6487c471102f42ad1de Mon Sep 17 00:00:00 2001 From: Ananteris Date: Sat, 17 Dec 2022 16:57:29 +0000 Subject: [PATCH 1/2] New package: python3-openai-0.25.0 --- srcpkgs/python3-openai/template | 21 +++++++++++++++++++++ 1 file changed, 21 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..166066b6ab41 --- /dev/null +++ b/srcpkgs/python3-openai/template @@ -0,0 +1,21 @@ +# Template file for 'python3-openai' +# This template was written by OpenAI's text-davinci-003 model +pkgname=python3-openai +version=0.25.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools_scm" +depends="python3 python3-setuptools python3-matplotlib python3-numpy python3-scipy python3-pandas python3-jupyter" +short_desc="OpenAI Python library" +maintainer="Ananteris " +license=MIT +homepage="https://github.com/openai/openai-python" +distfiles="${PYPI_SITE}/o/openai/openai-${version}.tar.gz" +checksum=59ac6531e4f7bf8e9a53186e853d9ffb1d5f07973ecb4f7d273163a314814510 +# Tests not supported +make_check=no + +post_install() { + vlicense LICENSE +} + From bd0a1d9ed96494e5bc93440ba1e614e1d9e4a5e1 Mon Sep 17 00:00:00 2001 From: Ananteris Date: Sat, 17 Dec 2022 17:04:02 +0000 Subject: [PATCH 2/2] New package: python3-openai-0.25.0_2 --- srcpkgs/python3-openai/template | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-openai/template b/srcpkgs/python3-openai/template index 166066b6ab41..6702f6268637 100644 --- a/srcpkgs/python3-openai/template +++ b/srcpkgs/python3-openai/template @@ -2,7 +2,7 @@ # This template was written by OpenAI's text-davinci-003 model pkgname=python3-openai version=0.25.0 -revision=1 +revision=2 build_style=python3-module hostmakedepends="python3-setuptools_scm" depends="python3 python3-setuptools python3-matplotlib python3-numpy python3-scipy python3-pandas python3-jupyter" @@ -16,6 +16,5 @@ checksum=59ac6531e4f7bf8e9a53186e853d9ffb1d5f07973ecb4f7d273163a314814510 make_check=no post_install() { - vlicense LICENSE + vlicense LICENSE } -