git: 26e553232dad - main - devel/py-lsprotocol: New port: Python implementation of the Language Server Protocol
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Dec 2022 07:56:51 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=26e553232dad6d4296f9e813334529498707c040 commit 26e553232dad6d4296f9e813334529498707c040 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-12-28 07:45:29 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-12-28 07:56:48 +0000 devel/py-lsprotocol: New port: Python implementation of the Language Server Protocol --- devel/Makefile | 1 + devel/py-lsprotocol/Makefile | 30 ++++++++++++++++++++++++++++++ devel/py-lsprotocol/distinfo | 3 +++ devel/py-lsprotocol/pkg-descr | 3 +++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e8c142fc0504..3ffc76d2e733 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4792,6 +4792,7 @@ SUBDIR += py-logzero SUBDIR += py-louie SUBDIR += py-lru-dict + SUBDIR += py-lsprotocol SUBDIR += py-lunardate SUBDIR += py-lxml SUBDIR += py-lxml-stubs diff --git a/devel/py-lsprotocol/Makefile b/devel/py-lsprotocol/Makefile new file mode 100644 index 000000000000..8c82e1ac086a --- /dev/null +++ b/devel/py-lsprotocol/Makefile @@ -0,0 +1,30 @@ +PORTNAME= lsprotocol +PORTVERSION= 2022.0.0a9 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python implementation of the Language Server Protocol +WWW= https://github.com/microsoft/lsprotocol + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=22.1.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cattrs>=22.2.0:devel/py-cattrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}exceptiongroup>0:devel/py-exceptiongroup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.4.0:devel/py-typing-extensions@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist concurrent + +pre-configure: + @( \ + ${ECHO} "from setuptools import setup" && \ + ${ECHO} "setup()" \ + ) > ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/devel/py-lsprotocol/distinfo b/devel/py-lsprotocol/distinfo new file mode 100644 index 000000000000..2f9bf9e69bd2 --- /dev/null +++ b/devel/py-lsprotocol/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672212914 +SHA256 (lsprotocol-2022.0.0a9.tar.gz) = db81eafc80485a6052f6771aaf6fb9cef58cb6409d510c60132f12c6e91d9182 +SIZE (lsprotocol-2022.0.0a9.tar.gz) = 72265 diff --git a/devel/py-lsprotocol/pkg-descr b/devel/py-lsprotocol/pkg-descr new file mode 100644 index 000000000000..d29cabfbf64b --- /dev/null +++ b/devel/py-lsprotocol/pkg-descr @@ -0,0 +1,3 @@ +lsprotocol is a python implementation of object types used in the +Language Server Protocol (LSP). This repository contains the code +generator and the generated types for LSP.