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: adam
Date: Fri Dec 4 16:46:59 UTC 2020
Modified Files:
pkgsrc/lang/py-pygls: Makefile PLIST distinfo
pkgsrc/lang/py-pygls/patches: patch-setup.py
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/py-pygls/Makefile \
pkgsrc/lang/py-pygls/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/py-pygls/PLIST
cvs rdiff -u -r1.1 -r1.2 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.
Modified files:
Index: pkgsrc/lang/py-pygls/Makefile
diff -u pkgsrc/lang/py-pygls/Makefile:1.1 pkgsrc/lang/py-pygls/Makefile:1.2
--- pkgsrc/lang/py-pygls/Makefile:1.1 Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/Makefile Fri Dec 4 16:46:59 2020
@@ -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@localhost
-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"
Index: pkgsrc/lang/py-pygls/distinfo
diff -u pkgsrc/lang/py-pygls/distinfo:1.1 pkgsrc/lang/py-pygls/distinfo:1.2
--- pkgsrc/lang/py-pygls/distinfo:1.1 Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/distinfo Fri Dec 4 16:46:59 2020
@@ -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
Index: pkgsrc/lang/py-pygls/PLIST
diff -u pkgsrc/lang/py-pygls/PLIST:1.2 pkgsrc/lang/py-pygls/PLIST:1.3
--- pkgsrc/lang/py-pygls/PLIST:1.2 Mon May 18 16:46:46 2020
+++ pkgsrc/lang/py-pygls/PLIST Fri Dec 4 16:46:59 2020
@@ -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
Index: pkgsrc/lang/py-pygls/patches/patch-setup.py
diff -u pkgsrc/lang/py-pygls/patches/patch-setup.py:1.1 pkgsrc/lang/py-pygls/patches/patch-setup.py:1.2
--- pkgsrc/lang/py-pygls/patches/patch-setup.py:1.1 Mon May 18 15:11:01 2020
+++ pkgsrc/lang/py-pygls/patches/patch-setup.py Fri Dec 4 16:46:59 2020
@@ -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={
Home |
Main Index |
Thread Index |
Old Index