From nobody Mon Oct 14 05:27:10 2024 X-Original-To: dev-commits-ports-all@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 4XRm2705sqz5Z9V0; Mon, 14 Oct 2024 05:27:11 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRm264lQbz4TWY; Mon, 14 Oct 2024 05:27:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883630; 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=aKcLaNB9gmGenISsNY2aPjGMjn6mPXTCzqXXFhCOVNs=; b=kYD/sNnDGX/Io4YtWb1ZCsqz0BxNoIeZz3if1Y1W8gd/Z4lYC0mi12ZD9WWZZpuz+honCW z08VUvrjtzJxPCkvoxauwJ6XcURhlHtBq6ngFpvudcHxpCcSTv3MxOMZBNP49f98HFFxB1 bsvnTrwjYam+rSfmd/zr6I09t3teody4TtnLKpT+6bv/3XAgZ1IBF9YKVA1Hqtg40lKHqw oRNCim4MKZV9+QtiKRTAcBXadSbx05ZxJhTQY+vMIPgJviPBTc53PeU8nt0LYRUe637BMH G9lVNHm8UWxpOKv/2Rme0syUxdUxXiOo9vdqHGc0M4XtB1pCZKL1gF2yT6KeJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728883630; 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=aKcLaNB9gmGenISsNY2aPjGMjn6mPXTCzqXXFhCOVNs=; b=dYZGk+Kvg4dlFXipLbvw6kI276TC+or+DtsIuzOxoGlv2CyfmlEVroxV2kspEj2ZvwvyDk JoHwCJcd2UkFNeXEa7g3/ybpyqGwxgaRrAEFe78fOC5oVltdLE3l9LRLjbOtR9EPML9Ogj tVSlZc/3KPTY3//Wuy0YcNT6cwutGCGVLhjcq5tPgcv8aslkvm3bq6adnV4ZaimShRfqe0 i5AiSbBSZMVt7zE1kdvmq11FmD3qEJ2cxY7nfhjokKBmOYyJ9qYhNFzkm/WlI2BCQITZEp jUyOMKZA18KF6i91+SYNC4RBrg8QECya1PPqB1PYIhc2E3poBqPan496fSR50A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728883630; a=rsa-sha256; cv=none; b=UC9hn93Wdijnw4yKubxAF3cFw/UEnb2kO3ibNdVEonc3N749Y2oWvAQWmQVrXPdn3/ylUQ xmDdMUXhGEEUydAF0zxjxVFbQBIQmvhyjQK8x8WU/bsw8ZO7ow+grUkDNHAK8qkSSNW6w2 m9obn+znKBfsGB6Wjq4Xl+0NtpVMkdizPWYRkem6FCiy+Nb91EEvWz7sEh8QU/f2OORn8A L8JMATvCpIu9mhGPst2/U2Au0jXRzAF2P5ANgeg8M6zyduTb1QTtoZcLv0m1A4VzeILVEx SKT/tLwa3xujFuGIp5wUeQtPsstjZ/2mFqiUVF8t1UeOMmbe/dLPy3hhdEro+g== 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 4XRm263l7rzPhy; Mon, 14 Oct 2024 05:27:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5RAlq046695; Mon, 14 Oct 2024 05:27:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5RAZq046692; Mon, 14 Oct 2024 05:27:10 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:27:10 GMT Message-Id: <202410140527.49E5RAZq046692@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 66167757c55b - main - devel/py-pygls: Add py-pygls 1.3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 66167757c55bb118171965e0342102b64599eee6 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=66167757c55bb118171965e0342102b64599eee6 commit 66167757c55bb118171965e0342102b64599eee6 Author: Po-Chuan Hsieh AuthorDate: 2024-10-14 04:45:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-14 04:45:11 +0000 devel/py-pygls: Add py-pygls 1.3.1 pygls (pronounced like "pie glass") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing your own Language Servers in just a few lines of code. --- devel/Makefile | 1 + devel/py-pygls/Makefile | 24 ++++++++++++++++++++++++ devel/py-pygls/distinfo | 3 +++ devel/py-pygls/files/patch-pyproject.toml | 11 +++++++++++ devel/py-pygls/pkg-descr | 3 +++ 5 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 2356e5c776c7..af3a5b4731b4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5536,6 +5536,7 @@ SUBDIR += py-pyformance SUBDIR += py-pygdbmi SUBDIR += py-pygit2 + SUBDIR += py-pygls SUBDIR += py-pygpx SUBDIR += py-pyhashxx SUBDIR += py-pyhcl diff --git a/devel/py-pygls/Makefile b/devel/py-pygls/Makefile new file mode 100644 index 000000000000..efb9d72b0b5e --- /dev/null +++ b/devel/py-pygls/Makefile @@ -0,0 +1,24 @@ +PORTNAME= pygls +PORTVERSION= 1.3.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pythonic generic language server (pronounced like 'pie glass') +WWW= https://pygls.readthedocs.io/en/latest/ \ + https://github.com/openlawlibrary/pygls + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=0:devel/py-poetry-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cattrs>=23.1.2:devel/py-cattrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lsprotocol>=2023.0.1:devel/py-lsprotocol@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-pygls/distinfo b/devel/py-pygls/distinfo new file mode 100644 index 000000000000..4f6d4a5c4fbc --- /dev/null +++ b/devel/py-pygls/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728632226 +SHA256 (pygls-1.3.1.tar.gz) = 140edceefa0da0e9b3c533547c892a42a7d2fd9217ae848c330c53d266a55018 +SIZE (pygls-1.3.1.tar.gz) = 45527 diff --git a/devel/py-pygls/files/patch-pyproject.toml b/devel/py-pygls/files/patch-pyproject.toml new file mode 100644 index 000000000000..b1de9bdeb3b1 --- /dev/null +++ b/devel/py-pygls/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2024-03-26 18:43:55 UTC ++++ pyproject.toml +@@ -20,7 +20,7 @@ cattrs = ">=23.1.2" + [tool.poetry.dependencies] + python = ">=3.8" + cattrs = ">=23.1.2" +-lsprotocol = "2023.0.1" ++lsprotocol = ">=2023.0.1" + websockets = { version = ">=11.0.3", optional = true } + + [tool.poetry.extras] diff --git a/devel/py-pygls/pkg-descr b/devel/py-pygls/pkg-descr new file mode 100644 index 000000000000..3f0deca0f154 --- /dev/null +++ b/devel/py-pygls/pkg-descr @@ -0,0 +1,3 @@ +pygls (pronounced like "pie glass") is a pythonic generic implementation of the +Language Server Protocol for use as a foundation for writing your own Language +Servers in just a few lines of code.