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.12.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/c2a822054087
branches: trunk
changeset: 382997:c2a822054087
user: adam <adam%pkgsrc.org@localhost>
date: Wed Aug 10 10:51:34 2022 +0000
description:
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
diffstat:
lang/py-pygls/Makefile | 20 +++-
lang/py-pygls/PLIST | 128 +++++++++++++++++++++++++++++++++-
lang/py-pygls/distinfo | 10 +-
lang/py-pygls/patches/patch-setup.py | 22 ------
4 files changed, 139 insertions(+), 41 deletions(-)
diffs (237 lines):
diff -r 23d27f06bbdb -r c2a822054087 lang/py-pygls/Makefile
--- a/lang/py-pygls/Makefile Wed Aug 10 10:16:34 2022 +0000
+++ b/lang/py-pygls/Makefile Wed Aug 10 10:51:34 2022 +0000
@@ -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 @@
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"
diff -r 23d27f06bbdb -r c2a822054087 lang/py-pygls/PLIST
--- a/lang/py-pygls/PLIST Wed Aug 10 10:16:34 2022 +0000
+++ b/lang/py-pygls/PLIST Wed Aug 10 10:51:34 2022 +0000
@@ -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}/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/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/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
diff -r 23d27f06bbdb -r c2a822054087 lang/py-pygls/distinfo
--- a/lang/py-pygls/distinfo Wed Aug 10 10:16:34 2022 +0000
+++ b/lang/py-pygls/distinfo Wed Aug 10 10:51:34 2022 +0000
@@ -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
diff -r 23d27f06bbdb -r c2a822054087 lang/py-pygls/patches/patch-setup.py
--- a/lang/py-pygls/patches/patch-setup.py Wed Aug 10 10:16:34 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2020/12/04 16:46:59 adam Exp $
-
-Do not install data files.
-
---- setup.py.orig 2020-09-29 12:26:40.000000000 +0000
-+++ setup.py
-@@ -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