diff options
author | adam <adam@pkgsrc.org> | 2020-12-04 16:46:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-12-04 16:46:59 +0000 |
commit | 43a3ff0ad55cde7f63921eaa1fea3b4b70c91a9c (patch) | |
tree | 7b5d1dfeabce19da9157cea01f107ea474940459 /lang/py-pygls | |
parent | 4479074fbbee9d5a9c76126b978da02f03d32085 (diff) | |
download | pkgsrc-43a3ff0ad55cde7f63921eaa1fea3b4b70c91a9c.tar.gz |
py-pygls: updated to 0.9.1
0.9.1
Added
- Functions to convert positions from and to utf-16 code units
- Type definitions for `ClientInfo` and `HoverParams`
Changed
- Exit server normally when `ctrl+c` is pressed in command shell.
- Mark deprecated `rangeLength` optional in `TextDocumentContentChangeEvent`
- Optimize json-rpc message serialization
- Fix `__init__()` constructors in several interface types
- Fix valueSet type in `SymbolKindAbstract`
Fixed
- `coroutine` deprecation warning - use async def instead
Diffstat (limited to 'lang/py-pygls')
-rw-r--r-- | lang/py-pygls/Makefile | 24 | ||||
-rw-r--r-- | lang/py-pygls/PLIST | 7 | ||||
-rw-r--r-- | lang/py-pygls/distinfo | 12 | ||||
-rw-r--r-- | lang/py-pygls/patches/patch-setup.py | 35 |
4 files changed, 34 insertions, 44 deletions
diff --git a/lang/py-pygls/Makefile b/lang/py-pygls/Makefile index c98f4d2587d..f64ae1c0842 100644 --- a/lang/py-pygls/Makefile +++ b/lang/py-pygls/Makefile @@ -1,31 +1,23 @@ -# $NetBSD: Makefile,v 1.1 2020/05/18 15:11:01 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2020/12/04 16:46:59 adam Exp $ -DISTNAME= pygls-0.9.0 +DISTNAME= pygls-0.9.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= lang python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygls/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://github.com/openlawlibrary/pygls/ +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 +# Tests are not included with 0.9.1 +#TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock +#TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.5.0:../../devel/py-test +#TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.10.0:../../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. +USE_LANGUAGES= # none 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 --git a/lang/py-pygls/PLIST b/lang/py-pygls/PLIST index 5369a50b95f..d8d3406f0f0 100644 --- a/lang/py-pygls/PLIST +++ b/lang/py-pygls/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2020/05/18 16:46:46 leot Exp $ +@comment $NetBSD: PLIST,v 1.3 2020/12/04 16:46:59 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -36,8 +36,3 @@ ${PYSITELIB}/pygls/uris.pyo ${PYSITELIB}/pygls/workspace.py ${PYSITELIB}/pygls/workspace.pyc ${PYSITELIB}/pygls/workspace.pyo -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 --git a/lang/py-pygls/distinfo b/lang/py-pygls/distinfo index 2514611d3d1..9d51bf1da9e 100644 --- a/lang/py-pygls/distinfo +++ b/lang/py-pygls/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2020/05/18 15:11:01 wiz Exp $ +$NetBSD: distinfo,v 1.2 2020/12/04 16:46:59 adam 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 +SHA1 (pygls-0.9.1.tar.gz) = 46b19737d145d767fc1f747fa26859cbc2a6a5eb +RMD160 (pygls-0.9.1.tar.gz) = 3914ef2fce75002f1f04bb7a004d06cb37a0797a +SHA512 (pygls-0.9.1.tar.gz) = ea771e95d35a2642140c897be591c88c0bd9f74fdef408b08c71ed287b616f88f12052aaac6f2c620ab419ffdfe334691a1708a488ac2024d6a56429967794d6 +Size (pygls-0.9.1.tar.gz) = 37725 bytes +SHA1 (patch-setup.py) = 61a400a19a3eaccbd1d2ebbaccbab43b5ef3f759 diff --git a/lang/py-pygls/patches/patch-setup.py b/lang/py-pygls/patches/patch-setup.py index 7ee36b424df..90c01262a49 100644 --- a/lang/py-pygls/patches/patch-setup.py +++ b/lang/py-pygls/patches/patch-setup.py @@ -1,19 +1,22 @@ -$NetBSD: patch-setup.py,v 1.1 2020/05/18 15:11:01 wiz Exp $ +$NetBSD: patch-setup.py,v 1.2 2020/12/04 16:46:59 adam Exp $ -Avoid hardcoding particular module versions. +Do not install data files. ---- setup.py.orig 2020-04-20 11:29:57.000000000 +0000 +--- setup.py.orig 2020-09-29 12:26:40.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 +@@ -70,15 +70,6 @@ setup( + license=LICENSE, + packages=packages, + include_package_data=True, +- data_files=[ +- ('lib/site-packages/pygls', [ +- './CHANGELOG.md', +- './LICENSE.txt', +- './README.md', +- 'ThirdPartyNotices.txt', +- './pygls/py.typed' +- ]) +- ], + zip_safe=False, + install_requires=[], + extras_require={ |