From nobody Fri Apr 05 09:36:10 2024 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 4V9tf23T95z5G5G1; Fri, 5 Apr 2024 09:36:10 +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 4V9tf22xh1z4c0f; Fri, 5 Apr 2024 09:36:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712309770; 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=pQnAMglew2YwKSMxs3snsuBtg31CT0QcvZiUoWUhYmA=; b=UVd+hQ9tQXjXnrh3EqYScHmIpRPTn/i1QevVEZ+99AoFQiDGyrgdUpkMPYlqIDPN+rbQRL 0n1hloK1UAyZEoGZiDmO3d/quJDe9wN/BoyX45K8r62LR6gUTXVSEdmD9iJV/Tt4so/MJY Yu/JrZPzvjoNfkM9avvjrvXlOCTVTWObdGkBQnGtIsHOJY/SWiO0QfGteRPc1WYqXED3Xu S5grogUrLJyQixRwVscHuRNtL1JWOGWfqrJWFgfkSSGEHeoLPL3MXRJovAtuxVwdiDU+ZC lPMupwh/ixX5/3ee0hUrkqJ59KKvXF95W0EKCOmocmvD1OJ1qJLxW+5u2rNjoA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712309770; a=rsa-sha256; cv=none; b=q6rOwihJMtzR0wko1yaIc7QlhitCDmcOm1tKI2zKqUPqm5VCOe8d2Ac0otYScxpCdGSfUA tkYtA2gziJWyMTTjjPNFjS01QBvHNXTPSLkp+nKRSFTtenZJsFn9fQJuyeNg0mBzI7pqc9 VzQeZwhELIILNFP7Jy8QJtKR1BY8oYP8+UdSSbEj3EQf1SPY1g1UmpjjbgsbDAwmW/YddS hvMtQP5MWxvNI6VO55fJ+EQIeYT/IbXeXBYjBjtyxwxzxeg+hnfyRS44XeO+peyx1IzD/p ld/cVvdeKPqggzKsv9V0NGO7X6HT/ZLLp9WYYm02ivCAI1GzluZesRd3GQR4rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712309770; 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=pQnAMglew2YwKSMxs3snsuBtg31CT0QcvZiUoWUhYmA=; b=D41EaDQ3xJRCgAVdTzso4wD0mS1R/kmeVrFqtbMIBeSpY475d8yX6XNXrnfZfTzsJSSFhC NGH/aOOTHd9DCdeT0lwmpG0QwopbaYF1BeoOpKD0mCUoTHpoq+5bWYdcMlyRepl3TQlCAN aOdwMx1hWoXTWDczVG0912lxu+dU+JZyh0hGLo2BjMHTYYKg+jHaNiyC6d3IWBx1jbyCxh O9cFOlmb3oDCms07uTAmnicAd5QdhL+Cyp43gO5FAbavPzQt5O19q0C7a5ebPkNTTPg2We dfP1HllTlXFhgX3fjq2ZDNrRzh/SI5HqKhXkxmp4kIJ5v/OJOOVA2tTWPBfUTA== 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 4V9tf22YhHztyf; Fri, 5 Apr 2024 09:36:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4359aAt7001241; Fri, 5 Apr 2024 09:36:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4359aAJ8001238; Fri, 5 Apr 2024 09:36:10 GMT (envelope-from git) Date: Fri, 5 Apr 2024 09:36:10 GMT Message-Id: <202404050936.4359aAJ8001238@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nicola Vitale Subject: git: 43d3dde64f5a - main - devel/py-gptscript: Add new port 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: nivit X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43d3dde64f5ae9044d6279028d3fc5b25d82481f Auto-Submitted: auto-generated The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=43d3dde64f5ae9044d6279028d3fc5b25d82481f commit 43d3dde64f5ae9044d6279028d3fc5b25d82481f Author: Nicola Vitale AuthorDate: 2024-04-05 09:34:46 +0000 Commit: Nicola Vitale CommitDate: 2024-04-05 09:34:46 +0000 devel/py-gptscript: Add new port The GPTScript Python module is a library that provides a simple interface to create and run gptscripts within Python applications, and Jupyter notebooks. It allows you to define tools, execute them, and process the responses. https://github.com/gptscript-ai/py-gptscript --- devel/Makefile | 1 + devel/py-gptscript/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/py-gptscript/distinfo | 3 +++ devel/py-gptscript/pkg-descr | 3 +++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 6fe17bf06f03..198365e2e022 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4789,6 +4789,7 @@ SUBDIR += py-google-pasta SUBDIR += py-google-re2 SUBDIR += py-googleapis-common-protos + SUBDIR += py-gptscript SUBDIR += py-gpxpy SUBDIR += py-grab SUBDIR += py-graphene diff --git a/devel/py-gptscript/Makefile b/devel/py-gptscript/Makefile new file mode 100644 index 000000000000..d7f34cbb3018 --- /dev/null +++ b/devel/py-gptscript/Makefile @@ -0,0 +1,33 @@ +PORTNAME= gptscript +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Python module for running GPTScript +WWW= https://github.com/gptscript-ai/py-gptscript/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.9.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.43.0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2024.2.2:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.3.2:textproc/py-charset-normalizer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=3.6:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>=4.66.2:misc/py-tqdm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=2.2.1:net/py-urllib3@${PY_FLAVOR} \ + gptscript:lang/gptscript + +USES= python +USE_GITHUB= yes + +GH_ACCOUNT= gptscript-ai +GH_PROJECT= py-gptscript +USE_PYTHON= autoplist pep517 + +.include diff --git a/devel/py-gptscript/distinfo b/devel/py-gptscript/distinfo new file mode 100644 index 000000000000..55b252d1b040 --- /dev/null +++ b/devel/py-gptscript/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712308094 +SHA256 (gptscript-ai-py-gptscript-v0.4.1_GH0.tar.gz) = 01efa3cd5899aa8d4bdcd1ac1c49837b85d2074a1a1c5061a12d93f049056d66 +SIZE (gptscript-ai-py-gptscript-v0.4.1_GH0.tar.gz) = 12759 diff --git a/devel/py-gptscript/pkg-descr b/devel/py-gptscript/pkg-descr new file mode 100644 index 000000000000..e3f998773d0c --- /dev/null +++ b/devel/py-gptscript/pkg-descr @@ -0,0 +1,3 @@ +The GPTScript Python module is a library that provides a simple interface to +create and run gptscripts within Python applications, and Jupyter notebooks. It +allows you to define tools, execute them, and process the responses.