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:           Wed Aug 10 10:51:34 UTC 2022

Modified Files:
        pkgsrc/lang/py-pygls: Makefile PLIST distinfo
Removed Files:
        pkgsrc/lang/py-pygls/patches: patch-setup.py

Log Message:
py-pygls: updated to 0.12.1

0.12.1
Changed
- `Document` objects now expose a text document's `language_id`
- Various Pyodide improvements
- Improved tests for more reliable CI

0.12
Added
- Allow custom word matching for `Document.word_at_point`

Changed
- Upgraded Python support to 3.10, dropping support for 3.6
- Dependency updates, notably Pydantic 1.9 and Websockets 10


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/py-pygls/Makefile \
    pkgsrc/lang/py-pygls/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-pygls/distinfo
cvs rdiff -u -r1.2 -r0 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.3 pkgsrc/lang/py-pygls/Makefile:1.4
--- pkgsrc/lang/py-pygls/Makefile:1.3   Tue Jan  4 20:54:09 2022
+++ pkgsrc/lang/py-pygls/Makefile       Wed Aug 10 10:51:34 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:09 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/08/10 10:51:34 adam Exp $
 
-DISTNAME=      pygls-0.9.1
+DISTNAME=      pygls-0.12.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    lang python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygls/}
 
@@ -11,14 +10,21 @@ HOMEPAGE=   https://github.com/openlawlibr
 COMMENT=       Pythonic generic implementation of the Language Server Protocol
 LICENSE=       apache-2.0
 
-# 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
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm>=3.4.3:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-pydantic>=1.9.1:../../devel/py-pydantic
+DEPENDS+=      ${PYPKGPREFIX}-typeguard>=2.10.0:../../devel/py-typeguard
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1.2:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.18.3:../../devel/py-test-asyncio
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-pygls/PLIST
diff -u pkgsrc/lang/py-pygls/PLIST:1.3 pkgsrc/lang/py-pygls/PLIST:1.4
--- pkgsrc/lang/py-pygls/PLIST:1.3      Fri Dec  4 16:46:59 2020
+++ pkgsrc/lang/py-pygls/PLIST  Wed Aug 10 10:51:34 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/12/04 16:46:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/08/10 10:51:34 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,6 +8,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.tx
 ${PYSITELIB}/pygls/__init__.py
 ${PYSITELIB}/pygls/__init__.pyc
 ${PYSITELIB}/pygls/__init__.pyo
+${PYSITELIB}/pygls/capabilities.py
+${PYSITELIB}/pygls/capabilities.pyc
+${PYSITELIB}/pygls/capabilities.pyo
 ${PYSITELIB}/pygls/constants.py
 ${PYSITELIB}/pygls/constants.pyc
 ${PYSITELIB}/pygls/constants.pyo
@@ -17,9 +20,123 @@ ${PYSITELIB}/pygls/exceptions.pyo
 ${PYSITELIB}/pygls/feature_manager.py
 ${PYSITELIB}/pygls/feature_manager.pyc
 ${PYSITELIB}/pygls/feature_manager.pyo
-${PYSITELIB}/pygls/features.py
-${PYSITELIB}/pygls/features.pyc
-${PYSITELIB}/pygls/features.pyo
+${PYSITELIB}/pygls/lsp/__init__.py
+${PYSITELIB}/pygls/lsp/__init__.pyc
+${PYSITELIB}/pygls/lsp/__init__.pyo
+${PYSITELIB}/pygls/lsp/methods.py
+${PYSITELIB}/pygls/lsp/methods.pyc
+${PYSITELIB}/pygls/lsp/methods.pyo
+${PYSITELIB}/pygls/lsp/types/__init__.py
+${PYSITELIB}/pygls/lsp/types/__init__.pyc
+${PYSITELIB}/pygls/lsp/types/__init__.pyo
+${PYSITELIB}/pygls/lsp/types/basic_structures.py
+${PYSITELIB}/pygls/lsp/types/basic_structures.pyc
+${PYSITELIB}/pygls/lsp/types/basic_structures.pyo
+${PYSITELIB}/pygls/lsp/types/client.py
+${PYSITELIB}/pygls/lsp/types/client.pyc
+${PYSITELIB}/pygls/lsp/types/client.pyo
+${PYSITELIB}/pygls/lsp/types/diagnostics.py
+${PYSITELIB}/pygls/lsp/types/diagnostics.pyc
+${PYSITELIB}/pygls/lsp/types/diagnostics.pyo
+${PYSITELIB}/pygls/lsp/types/file_operations.py
+${PYSITELIB}/pygls/lsp/types/file_operations.pyc
+${PYSITELIB}/pygls/lsp/types/file_operations.pyo
+${PYSITELIB}/pygls/lsp/types/general_messages.py
+${PYSITELIB}/pygls/lsp/types/general_messages.pyc
+${PYSITELIB}/pygls/lsp/types/general_messages.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/__init__.py
+${PYSITELIB}/pygls/lsp/types/language_features/__init__.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/__init__.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/call_hierarchy.py
+${PYSITELIB}/pygls/lsp/types/language_features/call_hierarchy.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/call_hierarchy.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/code_action.py
+${PYSITELIB}/pygls/lsp/types/language_features/code_action.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/code_action.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/code_lens.py
+${PYSITELIB}/pygls/lsp/types/language_features/code_lens.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/code_lens.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/color_presentation.py
+${PYSITELIB}/pygls/lsp/types/language_features/color_presentation.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/color_presentation.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/completion.py
+${PYSITELIB}/pygls/lsp/types/language_features/completion.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/completion.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/declaration.py
+${PYSITELIB}/pygls/lsp/types/language_features/declaration.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/declaration.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/definition.py
+${PYSITELIB}/pygls/lsp/types/language_features/definition.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/definition.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/document_color.py
+${PYSITELIB}/pygls/lsp/types/language_features/document_color.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/document_color.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/document_highlight.py
+${PYSITELIB}/pygls/lsp/types/language_features/document_highlight.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/document_highlight.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/document_link.py
+${PYSITELIB}/pygls/lsp/types/language_features/document_link.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/document_link.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/document_symbol.py
+${PYSITELIB}/pygls/lsp/types/language_features/document_symbol.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/document_symbol.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/folding_range.py
+${PYSITELIB}/pygls/lsp/types/language_features/folding_range.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/folding_range.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/formatting.py
+${PYSITELIB}/pygls/lsp/types/language_features/formatting.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/formatting.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/hover.py
+${PYSITELIB}/pygls/lsp/types/language_features/hover.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/hover.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/implementation.py
+${PYSITELIB}/pygls/lsp/types/language_features/implementation.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/implementation.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/linked_editing_range.py
+${PYSITELIB}/pygls/lsp/types/language_features/linked_editing_range.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/linked_editing_range.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/monikers.py
+${PYSITELIB}/pygls/lsp/types/language_features/monikers.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/monikers.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/on_type_formatting.py
+${PYSITELIB}/pygls/lsp/types/language_features/on_type_formatting.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/on_type_formatting.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/prepare_rename.py
+${PYSITELIB}/pygls/lsp/types/language_features/prepare_rename.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/prepare_rename.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/range_formatting.py
+${PYSITELIB}/pygls/lsp/types/language_features/range_formatting.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/range_formatting.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/references.py
+${PYSITELIB}/pygls/lsp/types/language_features/references.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/references.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/rename.py
+${PYSITELIB}/pygls/lsp/types/language_features/rename.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/rename.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/selection_range.py
+${PYSITELIB}/pygls/lsp/types/language_features/selection_range.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/selection_range.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/semantic_tokens.py
+${PYSITELIB}/pygls/lsp/types/language_features/semantic_tokens.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/semantic_tokens.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/signature_help.py
+${PYSITELIB}/pygls/lsp/types/language_features/signature_help.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/signature_help.pyo
+${PYSITELIB}/pygls/lsp/types/language_features/type_definition.py
+${PYSITELIB}/pygls/lsp/types/language_features/type_definition.pyc
+${PYSITELIB}/pygls/lsp/types/language_features/type_definition.pyo
+${PYSITELIB}/pygls/lsp/types/text_synchronization.py
+${PYSITELIB}/pygls/lsp/types/text_synchronization.pyc
+${PYSITELIB}/pygls/lsp/types/text_synchronization.pyo
+${PYSITELIB}/pygls/lsp/types/window.py
+${PYSITELIB}/pygls/lsp/types/window.pyc
+${PYSITELIB}/pygls/lsp/types/window.pyo
+${PYSITELIB}/pygls/lsp/types/workspace.py
+${PYSITELIB}/pygls/lsp/types/workspace.pyc
+${PYSITELIB}/pygls/lsp/types/workspace.pyo
+${PYSITELIB}/pygls/progress.py
+${PYSITELIB}/pygls/progress.pyc
+${PYSITELIB}/pygls/progress.pyo
 ${PYSITELIB}/pygls/protocol.py
 ${PYSITELIB}/pygls/protocol.pyc
 ${PYSITELIB}/pygls/protocol.pyo
@@ -27,9 +144,6 @@ ${PYSITELIB}/pygls/py.typed
 ${PYSITELIB}/pygls/server.py
 ${PYSITELIB}/pygls/server.pyc
 ${PYSITELIB}/pygls/server.pyo
-${PYSITELIB}/pygls/types.py
-${PYSITELIB}/pygls/types.pyc
-${PYSITELIB}/pygls/types.pyo
 ${PYSITELIB}/pygls/uris.py
 ${PYSITELIB}/pygls/uris.pyc
 ${PYSITELIB}/pygls/uris.pyo

Index: pkgsrc/lang/py-pygls/distinfo
diff -u pkgsrc/lang/py-pygls/distinfo:1.4 pkgsrc/lang/py-pygls/distinfo:1.5
--- pkgsrc/lang/py-pygls/distinfo:1.4   Tue Oct 26 10:51:50 2021
+++ pkgsrc/lang/py-pygls/distinfo       Wed Aug 10 10:51:34 2022
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:51:50 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/08/10 10:51:34 adam Exp $
 
-BLAKE2s (pygls-0.9.1.tar.gz) = 58a87aea0f5f9178fdd652b7e6a5c842fd5c4c43c911d0d960e508814cd9d70b
-SHA512 (pygls-0.9.1.tar.gz) = ea771e95d35a2642140c897be591c88c0bd9f74fdef408b08c71ed287b616f88f12052aaac6f2c620ab419ffdfe334691a1708a488ac2024d6a56429967794d6
-Size (pygls-0.9.1.tar.gz) = 37725 bytes
-SHA1 (patch-setup.py) = 61a400a19a3eaccbd1d2ebbaccbab43b5ef3f759
+BLAKE2s (pygls-0.12.1.tar.gz) = 8d7feb756548997c8d820068e445ed8ffa90f485cde1fb9df21a1b30769b3398
+SHA512 (pygls-0.12.1.tar.gz) = 340d3c8e3767a4922b2363a018019203e2b6295010457888221c9150199b2ae0eda748d924d3e39c10dc50d71a306a85a5bbf85d9f9a0dc25afccfcbad82035d
+Size (pygls-0.12.1.tar.gz) = 687793 bytes
+SHA1 (patch-setup.cfg) = 456e455f3a7ef88048d77ef4ba4cefe65e38e401



Home | Main Index | Thread Index | Old Index