pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/py-pygls py-pygls: updated to 0.9.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/78a259be612d
branches:  trunk
changeset: 442984:78a259be612d
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Dec 04 16:46:59 2020 +0000

description:
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:

 lang/py-pygls/Makefile               |  24 ++++++++----------------
 lang/py-pygls/PLIST                  |   7 +------
 lang/py-pygls/distinfo               |  12 ++++++------
 lang/py-pygls/patches/patch-setup.py |  35 +++++++++++++++++++----------------
 4 files changed, 34 insertions(+), 44 deletions(-)

diffs (120 lines):

diff -r ba90ce6af1de -r 78a259be612d lang/py-pygls/Makefile
--- a/lang/py-pygls/Makefile    Fri Dec 04 16:31:18 2020 +0000
+++ b/lang/py-pygls/Makefile    Fri Dec 04 16:46:59 2020 +0000
@@ -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
-
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+# 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
 
-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 -r ba90ce6af1de -r 78a259be612d lang/py-pygls/PLIST
--- a/lang/py-pygls/PLIST       Fri Dec 04 16:31:18 2020 +0000
+++ b/lang/py-pygls/PLIST       Fri Dec 04 16:46:59 2020 +0000
@@ -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/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 -r ba90ce6af1de -r 78a259be612d lang/py-pygls/distinfo
--- a/lang/py-pygls/distinfo    Fri Dec 04 16:31:18 2020 +0000
+++ b/lang/py-pygls/distinfo    Fri Dec 04 16:46:59 2020 +0000
@@ -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 -r ba90ce6af1de -r 78a259be612d lang/py-pygls/patches/patch-setup.py
--- a/lang/py-pygls/patches/patch-setup.py      Fri Dec 04 16:31:18 2020 +0000
+++ b/lang/py-pygls/patches/patch-setup.py      Fri Dec 04 16:46:59 2020 +0000
@@ -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