Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/py-pygls lang/py-pygls: import py-pygls-0.9.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8bcbcde7565
branches: trunk
changeset: 432080:b8bcbcde7565
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon May 18 15:11:01 2020 +0000
description:
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.
diffstat:
lang/py-pygls/DESCR | 4 +++
lang/py-pygls/Makefile | 31 +++++++++++++++++++++++++
lang/py-pygls/PLIST | 43 ++++++++++++++++++++++++++++++++++++
lang/py-pygls/distinfo | 7 +++++
lang/py-pygls/patches/patch-setup.py | 19 +++++++++++++++
5 files changed, 104 insertions(+), 0 deletions(-)
diffs (124 lines):
diff -r 574d762cf726 -r b8bcbcde7565 lang/py-pygls/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-pygls/DESCR Mon May 18 15:11:01 2020 +0000
@@ -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.
diff -r 574d762cf726 -r b8bcbcde7565 lang/py-pygls/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-pygls/Makefile Mon May 18 15:11:01 2020 +0000
@@ -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"
diff -r 574d762cf726 -r b8bcbcde7565 lang/py-pygls/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-pygls/PLIST Mon May 18 15:11:01 2020 +0000
@@ -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
diff -r 574d762cf726 -r b8bcbcde7565 lang/py-pygls/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-pygls/distinfo Mon May 18 15:11:01 2020 +0000
@@ -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
diff -r 574d762cf726 -r b8bcbcde7565 lang/py-pygls/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/py-pygls/patches/patch-setup.py Mon May 18 15:11:01 2020 +0000
@@ -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