pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/py-pygls



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May 18 15:11:01 UTC 2020

Added Files:
        pkgsrc/lang/py-pygls: DESCR Makefile PLIST distinfo
        pkgsrc/lang/py-pygls/patches: patch-setup.py

Log Message:
lang/py-pygls: import py-pygls-0.9.0

pygls (pronounced like "pie glass") is a pythonic generic implementation
of the Language Server Protocol for use as a foundation for writing
language servers using Python (e.g. Python, XML, etc.). It allows
you to write your own language server in just a few lines of code.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-pygls/DESCR \
    pkgsrc/lang/py-pygls/Makefile pkgsrc/lang/py-pygls/PLIST \
    pkgsrc/lang/py-pygls/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-pygls/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/py-pygls/DESCR
diff -u /dev/null pkgsrc/lang/py-pygls/DESCR:1.1
--- /dev/null   Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/DESCR  Mon May 18 15:11:01 2020
@@ -0,0 +1,4 @@
+pygls (pronounced like "pie glass") is a pythonic generic implementation
+of the Language Server Protocol for use as a foundation for writing
+language servers using Python (e.g. Python, XML, etc.). It allows
+you to write your own language server in just a few lines of code.
Index: pkgsrc/lang/py-pygls/Makefile
diff -u /dev/null pkgsrc/lang/py-pygls/Makefile:1.1
--- /dev/null   Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/Makefile       Mon May 18 15:11:01 2020
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2020/05/18 15:11:01 wiz Exp $
+
+DISTNAME=      pygls-0.9.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    lang python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygls/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/openlawlibrary/pygls/
+COMMENT=       Pythonic generic implementation of the Language Server Protocol
+LICENSE=       apache-2.0
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
+
+PYTHON_VERSIONED_DEPENDENCIES= test:test
+
+SUBST_CLASSES+=                path
+SUBST_SED.path+=       -e "s,lib/site-packages/pygls,lib/site-packages/pygls-${PYVERSSUFFIX},"
+SUBST_FILES.path+=     setup.py
+SUBST_STAGE.path=      pre-configure
+SUBST_MESSAGE.path=    Fixing documentation installation path.
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-pygls/PLIST
diff -u /dev/null pkgsrc/lang/py-pygls/PLIST:1.1
--- /dev/null   Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/PLIST  Mon May 18 15:11:01 2020
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/18 15:11:01 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pygls/__init__.py
+${PYSITELIB}/pygls/__init__.pyo
+${PYSITELIB}/pygls/__init__.pyc
+${PYSITELIB}/pygls/constants.pyo
+${PYSITELIB}/pygls/constants.pyc
+${PYSITELIB}/pygls/exceptions.pyo
+${PYSITELIB}/pygls/exceptions.pyc
+${PYSITELIB}/pygls/feature_manager.pyo
+${PYSITELIB}/pygls/feature_manager.pyc
+${PYSITELIB}/pygls/features.pyo
+${PYSITELIB}/pygls/features.pyc
+${PYSITELIB}/pygls/protocol.pyo
+${PYSITELIB}/pygls/protocol.pyc
+${PYSITELIB}/pygls/server.pyo
+${PYSITELIB}/pygls/server.pyc
+${PYSITELIB}/pygls/types.pyo
+${PYSITELIB}/pygls/types.pyc
+${PYSITELIB}/pygls/uris.pyo
+${PYSITELIB}/pygls/uris.pyc
+${PYSITELIB}/pygls/workspace.pyo
+${PYSITELIB}/pygls/workspace.pyc
+${PYSITELIB}/pygls/constants.py
+${PYSITELIB}/pygls/exceptions.py
+${PYSITELIB}/pygls/feature_manager.py
+${PYSITELIB}/pygls/features.py
+${PYSITELIB}/pygls/protocol.py
+${PYSITELIB}/pygls/py.typed
+${PYSITELIB}/pygls/server.py
+${PYSITELIB}/pygls/types.py
+${PYSITELIB}/pygls/uris.py
+${PYSITELIB}/pygls/workspace.py
+lib/site-packages/pygls-${PYVERSSUFFIX}/CHANGELOG.md
+lib/site-packages/pygls-${PYVERSSUFFIX}/LICENSE.txt
+lib/site-packages/pygls-${PYVERSSUFFIX}/README.md
+lib/site-packages/pygls-${PYVERSSUFFIX}/ThirdPartyNotices.txt
+lib/site-packages/pygls-${PYVERSSUFFIX}/py.typed
Index: pkgsrc/lang/py-pygls/distinfo
diff -u /dev/null pkgsrc/lang/py-pygls/distinfo:1.1
--- /dev/null   Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/distinfo       Mon May 18 15:11:01 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/18 15:11:01 wiz Exp $
+
+SHA1 (pygls-0.9.0.tar.gz) = 432df88164feefca975b828dbf8427d2e8cb2e88
+RMD160 (pygls-0.9.0.tar.gz) = cb8dbf0465f8b5ad6e4db5734e00e2b76f4d6045
+SHA512 (pygls-0.9.0.tar.gz) = d1d1db3f98dfc1b292f069e9a06eaad00b34982e191b9a7b5e46814ee825b6f95d5bc02c3a1b2757a19893e644fadaea211ccae075ba560d691a14baee5147e3
+Size (pygls-0.9.0.tar.gz) = 43043 bytes
+SHA1 (patch-setup.py) = 395ada7222be7e88d83e647d471b4ece75152993

Index: pkgsrc/lang/py-pygls/patches/patch-setup.py
diff -u /dev/null pkgsrc/lang/py-pygls/patches/patch-setup.py:1.1
--- /dev/null   Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/patches/patch-setup.py Mon May 18 15:11:01 2020
@@ -0,0 +1,19 @@
+$NetBSD: patch-setup.py,v 1.1 2020/05/18 15:11:01 wiz Exp $
+
+Avoid hardcoding particular module versions.
+
+--- setup.py.orig      2020-04-20 11:29:57.000000000 +0000
++++ setup.py
+@@ -48,9 +48,9 @@ docs_require = [
+ ]
+ 
+ tests_require = [
+-    "mock==3.0.5",
+-    "pytest==4.5.0",
+-    "pytest-asyncio==0.10.0"
++    "mock",
++    "pytest",
++    "pytest-asyncio",
+ ]
+ 
+ # pip install pygls



Home | Main Index | Thread Index | Old Index