From nobody Tue Feb 28 01:29:40 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQftF0JwLz3tj15; Tue, 28 Feb 2023 01:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQftD6f0Wz4Gb4; Tue, 28 Feb 2023 01:29:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677547780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GTq8EnSAH3yBLxRIEeYeyhhs+rw0gUdXTbI0XUgbTWk=; b=uSpPSL0zavVtu35pLohXyc20xQt+DbdpoqlEpYnmVgP+h+HypNi9WYC6BEJV1T/F1h2clw SeCva7XWTyLvxBTyHcKamCQvjVHIKhi25feKhFkiCrUmiNTfocdKZhyegBgo+w0+zhQP0+ 3BCnZ7jrW8979m/byEmAzJ+4mDv5Q5FKKtYdS5X60WscSCXUW9QgpKQoXNlvY0pj5aKlAe sJmpFe1QXpwa391h61pTC8fkk+tUifpZrNqKgUgkB4z2kUyFAtmdTrT+UAtU95cXRIMAJm eQfExKILrLfAS8bcc6OuRcQ+6/jvoRtihyF3lY4BUUrUSQOjJGqmi9qUn3jUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677547780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GTq8EnSAH3yBLxRIEeYeyhhs+rw0gUdXTbI0XUgbTWk=; b=DnR2vKdLcpgS8KEH4+af3W6XFTd1r+H5St7CZTsr8gUtqjjTJolhi8dDjBeM3kvqUZV8d2 tZhe3N+6G/dl1WBXEANRDnU54uGM2Sv9iscj+eTdNw0vnEEMn+buEtW46TTtYgiW/STlE4 UwJaXgvrDdgg6p899QKpvNanDBPPVrn0yfNG1GMMCJQxMMJUhiEgBiwsW0AXaDfby198IU gEt8hGlz9ygYOEnsIudAPf4RnJvHZY9g8CLKAfxUjtJd15oYxpOiLf03QseTcDT6m0p0no hS+dQv54BlhVoa0BHTY3sMcfRW30mDkXqDH+NIiWmyegv+dLbHB8QehNwjNc2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677547780; a=rsa-sha256; cv=none; b=jNsYIysAC/4ACuICkuWDbsvGz4//egYzX30LhKwGenkOz2xTCau+hGxrAjw4aLTIJhj8wH Qhi9D+bj76ZIL8Q996IUm7nG+UPJ7EeaOJFUR9ldIBy1TpHRQ+fePHcqrBp/JmeonnjFPX P9pah1CpuiW0ccqPPDuf7VDtz0eakuZMFgpHAyiQBKcl9vcpEVyhZ7OAwoJpy+iMvTQUoS 3F003z+YWpuT4LEYHdjVgXrHIM0UW67IjSNarqKzd8CeKKOHGm548Xn7d41ahpVZMi7wBA CryXotZVVt/D2OwqEJQfhz8J/c3nAtPwq/vAIjkMVGlPORCRN5sTbio/uYTDAw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PQftD5jtjzp4c; Tue, 28 Feb 2023 01:29:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31S1Tedo042199; Tue, 28 Feb 2023 01:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31S1Tenx042198; Tue, 28 Feb 2023 01:29:40 GMT (envelope-from git) Date: Tue, 28 Feb 2023 01:29:40 GMT Message-Id: <202302280129.31S1Tenx042198@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2ce62c36eb03 - main - misc/py-openai: New port: Python client library for the OpenAI API List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ce62c36eb03c90b5418de1d548a1add4c25ec00 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ce62c36eb03c90b5418de1d548a1add4c25ec00 commit 2ce62c36eb03c90b5418de1d548a1add4c25ec00 Author: Yuri Victorovich AuthorDate: 2023-02-28 01:29:07 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-28 01:29:36 +0000 misc/py-openai: New port: Python client library for the OpenAI API --- misc/Makefile | 1 + misc/py-openai/Makefile | 23 +++++++++++++++++++++++ misc/py-openai/distinfo | 3 +++ misc/py-openai/pkg-descr | 2 ++ 4 files changed, 29 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index e1e00528cb12..d3bbfe709910 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -422,6 +422,7 @@ SUBDIR += py-numcodecs SUBDIR += py-onnx SUBDIR += py-onnx-tf + SUBDIR += py-openai SUBDIR += py-openpaperwork-core SUBDIR += py-openpaperwork-gtk SUBDIR += py-openvdb diff --git a/misc/py-openai/Makefile b/misc/py-openai/Makefile new file mode 100644 index 000000000000..712b849f5932 --- /dev/null +++ b/misc/py-openai/Makefile @@ -0,0 +1,23 @@ +PORTNAME= openai +DISTVERSION= 0.26.5 +CATEGORIES= misc # mechine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python client library for the OpenAI API +WWW= https://github.com/openai/openai-python + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wandb>0:misc/py-wandb@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include diff --git a/misc/py-openai/distinfo b/misc/py-openai/distinfo new file mode 100644 index 000000000000..6777e46e7e7a --- /dev/null +++ b/misc/py-openai/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677544433 +SHA256 (openai-0.26.5.tar.gz) = 2882a59c67ae33c2716a04389a6e6680d061f073424953732f917fde219addfd +SIZE (openai-0.26.5.tar.gz) = 55501 diff --git a/misc/py-openai/pkg-descr b/misc/py-openai/pkg-descr new file mode 100644 index 000000000000..735bb97bc2ac --- /dev/null +++ b/misc/py-openai/pkg-descr @@ -0,0 +1,2 @@ +The OpenAI Python library provides convenient access to the OpenAI API from +applications written in the Python language.