head	1.22;
access;
symbols
	pkgsrc-2026Q1:1.21.0.2
	pkgsrc-2026Q1-base:1.21
	pkgsrc-2025Q4:1.20.0.2
	pkgsrc-2025Q4-base:1.20
	pkgsrc-2025Q3:1.18.0.12
	pkgsrc-2025Q3-base:1.18
	pkgsrc-2025Q2:1.18.0.10
	pkgsrc-2025Q2-base:1.18
	pkgsrc-2025Q1:1.18.0.8
	pkgsrc-2025Q1-base:1.18
	pkgsrc-2024Q4:1.18.0.6
	pkgsrc-2024Q4-base:1.18
	pkgsrc-2024Q3:1.18.0.4
	pkgsrc-2024Q3-base:1.18
	pkgsrc-2024Q2:1.18.0.2
	pkgsrc-2024Q2-base:1.18
	pkgsrc-2024Q1:1.17.0.2
	pkgsrc-2024Q1-base:1.17
	pkgsrc-2023Q4:1.16.0.2
	pkgsrc-2023Q4-base:1.16
	pkgsrc-2023Q3:1.10.0.4
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.10.0.2
	pkgsrc-2023Q2-base:1.10
	pkgsrc-2023Q1:1.8.0.4
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.2
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.4.0.2
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.3.0.4
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.2.0.10
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.8
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.6
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.4
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.2
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.1.0.4
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.2
	pkgsrc-2020Q2-base:1.1;
locks; strict;
comment	@# @;


1.22
date	2026.03.26.14.41.12;	author wiz;	state Exp;
branches;
next	1.21;
commitid	YMX46wonvIl2IuzG;

1.21
date	2026.02.01.18.17.09;	author wiz;	state Exp;
branches;
next	1.20;
commitid	V5VSvIDro8OOBHsG;

1.20
date	2025.10.19.18.53.07;	author wiz;	state Exp;
branches;
next	1.19;
commitid	j4wtdzKi2xfpbdfG;

1.19
date	2025.09.22.07.46.56;	author wiz;	state Exp;
branches;
next	1.18;
commitid	jJHywsZkIIrFmGbG;

1.18
date	2024.04.05.10.54.27;	author wiz;	state Exp;
branches;
next	1.17;
commitid	ADS3TqbclEMdBW4F;

1.17
date	2024.02.06.21.45.58;	author adam;	state Exp;
branches;
next	1.16;
commitid	AsQVmrGZDrCc6qXE;

1.16
date	2023.12.07.08.43.32;	author wiz;	state Exp;
branches;
next	1.15;
commitid	zNqxy2xDTfMrJvPE;

1.15
date	2023.11.19.16.14.07;	author wiz;	state Exp;
branches;
next	1.14;
commitid	BIZ9BLnd6ozSNeNE;

1.14
date	2023.11.02.08.33.13;	author adam;	state Exp;
branches;
next	1.13;
commitid	654xEdeZgfsAN0LE;

1.13
date	2023.10.28.19.57.10;	author wiz;	state Exp;
branches;
next	1.12;
commitid	jP8MYROLWZ3yJqKE;

1.12
date	2023.10.20.11.19.08;	author adam;	state Exp;
branches;
next	1.11;
commitid	hei969dxuvEk8mJE;

1.11
date	2023.10.04.21.27.48;	author adam;	state Exp;
branches;
next	1.10;
commitid	8u7jU2xCXbDQ0mHE;

1.10
date	2023.05.21.18.47.56;	author wiz;	state Exp;
branches;
next	1.9;
commitid	EGJSBtWHgCvmvRpE;

1.9
date	2023.05.05.09.38.48;	author wiz;	state Exp;
branches;
next	1.8;
commitid	NYZ8Qw1svlmLYKnE;

1.8
date	2022.11.23.22.21.52;	author adam;	state Exp;
branches;
next	1.7;
commitid	rnAvFQExdvskrS2E;

1.7
date	2022.10.31.12.35.01;	author adam;	state Exp;
branches;
next	1.6;
commitid	67S5slLXVXXWVRZD;

1.6
date	2022.10.25.09.25.39;	author adam;	state Exp;
branches;
next	1.5;
commitid	DdXWwg8M5LYV45ZD;

1.5
date	2022.10.14.09.55.51;	author adam;	state Exp;
branches;
next	1.4;
commitid	m4aXVvP2VSJeBFXD;

1.4
date	2022.08.10.10.51.34;	author adam;	state Exp;
branches;
next	1.3;
commitid	xH7REeFoxszMZjPD;

1.3
date	2022.01.04.20.54.09;	author wiz;	state Exp;
branches;
next	1.2;
commitid	CYyhdK9qtoffkmnD;

1.2
date	2020.12.04.16.46.59;	author adam;	state Exp;
branches;
next	1.1;
commitid	7XjhsGNTqDDhHryC;

1.1
date	2020.05.18.15.11.01;	author wiz;	state Exp;
branches;
next	;
commitid	R1L5Z4CuBlMaBJ8C;


desc
@@


1.22
log
@py-pygls: update to 2.1.1.

2.1.1

feat(ServerTextPosition): implement comparison operators by @@lheckemann in #597
chore: add license field to pyproject.toml by @@tombh in #601

2.1.0

Normalize percent-encoded URIs used as workspace dict keys by @@edvilme in #594
TextDocument ergonomics improvements by @@lheckemann in #591
Fix get_capability typing overloads by @@alcarney in #595
Add Galaxy Language Server to Implementations.md by @@davelopez in #596
build(deps): bump the pip group across 2 directories with 1 update by @@dependabot[bot] in #593
build(deps): release v2.1.0 and upgrade dev deps by @@tombh in #599
@
text
@# $NetBSD: Makefile,v 1.21 2026/02/01 18:17:09 wiz Exp $

DISTNAME=	pygls-2.1.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
COMMENT=	Pythonic generic implementation of the Language Server Protocol
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=2.2.1:../../devel/py-poetry-core
DEPENDS+=	${PYPKGPREFIX}-cattrs>=23.1.2:../../devel/py-cattrs
DEPENDS+=	${PYPKGPREFIX}-lsprotocol>=2023.0.1:../../lang/py-lsprotocol
TEST_DEPENDS+=	${PYPKGPREFIX}-test-asyncio>=0.21.0:../../devel/py-test-asyncio

USE_LANGUAGES=	# none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.21
log
@py-pygls: update to 2.0.1.

What's Changed

    docs: drop pre-release banner by @@alcarney in #580
    docs: use correct lsprotocol version by @@alcarney in #581
    docs: fix broken link for pygls playground by @@perrinjerome in #582
    docs: describe arguments unpacking for server commands in v2 by @@perrinjerome in #583
    Add Aeon Programming Language to implementations list by @@alcides in #584
    Fix spelling mistakes in v2 migration documentation by @@maxchaston in #585
    fix: prevent exception handling for cancelled futures in JsonRPCProtocol by @@austin3dickey in #588
    build: v2.0.1 by @@tombh in #589
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2025/10/19 18:53:07 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-2.0.1
@


1.20
log
@py-pygls: update to 2.0.0.

What's Changed

    Add some example servers by @@alcarney in #440
    Respect client's preferred encoding when possible by @@nthykier in #446
    test: add end-to-end tests for the various formatting requests by @@alcarney in #448
    build(deps): upgrade black to latest (24.3.0) by @@tombh in #449
    Add example server for textDocument/rename and textDocument/prepareRename by @@alcarney in #452
    Update hover.py to use language server argument by @@noklam in #455
    docs: update CONTRIBUTING.md by @@tombh in #456
    update implementation.md with Kedro extension by @@noklam in #457
    docs: add linter commander to PR template by @@tombh in #460
    build(deps-dev): bump idna from 3.6 to 3.7 by @@dependabot[bot] in #450
    build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 by @@dependabot[bot] in #453
    build(deps-dev): bump requests from 2.31.0 to 2.32.0 by @@dependabot[bot] in #461
    Make the pygls-playground extension a workspace local extension by @@alcarney in #458
    Update documentation by @@alcarney in #427
    build(deps): bump idna from 3.6 to 3.7 in /docs by @@dependabot[bot] in #463
    Add Document Links example server by @@alcarney in #464
    Add rpm-spec-language-server to Implementations.md by @@dcermak in #466
    docs: update GotoX title by @@noklam in #468
    docs: add Document and Workspace symbol example server by @@alcarney in #470
    docs: fix typo in server.py by @@Viicos in #471
    Provide more detail in exception by @@tamird in #473
    Fix typo in user guide by @@Viicos in #465
    build(deps): bump certifi from 2023.11.17 to 2024.7.4 by @@dependabot[bot] in #477
    build(deps): bump requests from 2.31.0 to 2.32.2 in /docs by @@dependabot[bot] in #478
    build(deps): bump urllib3 from 2.1.0 to 2.2.2 by @@dependabot[bot] in #475
    build(deps): bump jinja2 from 3.1.2 to 3.1.4 in /docs by @@dependabot[bot] in #479
    build(deps-dev): bump zipp from 3.17.0 to 3.19.1 by @@dependabot[bot] in #481
    Add example semantic tokens server by @@alcarney in #484
    build(deps): bump setuptools from 69.0.2 to 70.0.0 in /docs by @@dependabot[bot] in #483
    Update to latest lsprotocol v2024.0.0a2 by @@karthiknadig in #487
    ci: start testing against Python 3.13 by @@alcarney in #472
    ci: use Python version in cache key by @@tombh in #491
    Generate server methods based on lsprotocol type definitions by @@alcarney in #489
    chore: remove deprecated code by @@alcarney in #492
    docs: add RELEASING.md doc by @@tombh in #488
    chore: properly indent RELEASING.md by @@tombh in #494
    fix: use BinaryIO not TextIO in start_io() by @@tombh in #497
    Remove multiprocessing.pool.ThreadPool by @@alcarney in #498
    fix: return None for non file: URIs by @@alcarney in #500
    Add TCP support to pygls' LanguageClient by @@alcarney in #501
    Add start_ws method to pygls' LanguageClient by @@alcarney in #503
    chore: update to lsprotocol-2024.0.0b1 by @@karthiknadig in #499
    docs: remove Strata server implementation by @@tombh in #505
    Move JsonRPCServer.start_io to high-level asyncio API by @@alcarney in #506
    Migrate JsonRPCServer.start_tcp and JsonRPCServer.start_ws to high level asyncio APIs by @@alcarney in #507
    Replace "transports" with "writers" by @@alcarney in #508
    Ressurrect our pyodide support by @@alcarney in #509
    build: v2.0.0a2 by @@alcarney in #511
    chore: fix migration guide link by @@alcarney in #513
    fix: fallback JsonRpcException code for malformed server errors by @@kim-jsc in #520
    docs: tweak a comment in client.py by @@brettcannon in #521
    Introduce support for generator feature handlers by @@alcarney in #516
    docs: remove a surplus '}' in examples/hello-world/README.md by @@hsl-jack-82 in #523
    Use issubclass when checking the client/server instance to inject by @@alcarney in #524
    Fixes error when passing max_workers by @@marcelldls in #526
    Use type annotations when invoking @@server.command(...) handlers by @@alcarney in #527
    Release v2.0.0a3 by @@alcarney in #528
    Update the hello world example to the v2.0 syntax by @@itsmeknt in #533
    fix: workspace/executeCommand with async handlers by @@alcarney in #535
    ci: start testing on Python 3.14 by @@alcarney in #540
    chore: lsprotocol 2025.0.0rc1 by @@dimbleby in #542
    Type annotation improvments by @@alcarney in #543
    Fix pyodide tests by @@alcarney in #544
    chore: add devcontainer definition and Makefile by @@alcarney in #545
    build: v2.0.0a4 by @@alcarney in #546
    Typing tweaks by @@dimbleby in #547
    Make TextDocument.lines be a Sequence[str] rather than List[str] by @@nthykier in #553
    chore: lsprotocol 2025.0.0 by @@dimbleby in #554
    build(deps): bump the pip group across 2 directories with 5 updates by @@dependabot[bot] in #559
    ci: migrate from poetry to uv by @@tombh in #561
    Update Makefile to easily switch between Python versions by @@alcarney in #562
    Fix UTF-8 position encoding by @@lheckemann in #564
    build: v2.0.0a5 by @@tombh in #565
    ci: pin all action versions by @@tombh in #566
    fix: 🐛 fix conversion of client_position into offset_at_position by @@wolfskaempf in #567
    build: v2.0.0a6 by @@tombh in #568
    docs: switch to furo theme by @@alcarney in #570
    Update and re-organise documentation by @@alcarney in #572
    fix: Handle a special case of BrokenPipeError exception by @@acheshkov in #573
    Change pythonPath to pythonCommand in the pygls-playground extension by @@alcarney in #575
    fix: missing inline completion provider server capability by @@brettlangdon in #577
    test: adjust tests for cattrs structuring sequences as tuples by @@musicinmybrain in #579
    build: v2.0.0 by @@alcarney in #576
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/09/22 07:46:56 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-2.0.0
a19 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.19
log
@py-pygls: fix PLIST with latest poetry-core and depend on it
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/04/05 10:54:27 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.3.1
a4 1
PKGREVISION=	1
@


1.18
log
@py-pygls: update to 1.3.1.

What's Changed

    Typo: Apache License missing dash: Affects PyPI License Declaration by @@WilliamRoyNelson in #435
    Add systemd-language-server to implementations by @@psacawa in #436
    Update Implementations.md with Chapel's language server by @@DanilaFe in #439
    build: v1.3.1 by @@tombh in #444
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/02/06 21:45:58 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core
@


1.17
log
@py-pygls: updated to 1.3.0

1.3.0

Bug Fixes

Add missing value to pygls.trace.server

CI

Don't let Pyodide test fail the whole build
Don't trigger CI on both push and pull_request

Features

Drop Python 3.7 support
Update dependencies to latest(ish)
Enable debugging of servers in the playground

Miscellaneous Tasks

Update CHANGELOG.md
Update CONTRIBUTORS.md
Cattrs is a direct dependency
Update pytest-asyncio
Add pytest-lsp and lsp-devtools to Implementations.md
Update lsprotocol to 2023.0.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/12/07 08:43:32 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.3.0
@


1.16
log
@py-pygls: update to 1.2.1.

What's Changed

    chore: clean CHANGELOG by @@tombh in #415
    handle ResponseErrors correctly by @@dimbleby in #416
    build: v1.2.1 by @@tombh in #419
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/11/19 16:14:07 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.2.1
d14 3
a16 2
DEPENDS+=	${PYPKGPREFIX}-lsprotocol>=2023.0.0b1:../../lang/py-lsprotocol
TEST_DEPENDS+=	${PYPKGPREFIX}-test-asyncio>=0:../../devel/py-test-asyncio
@


1.15
log
@py-pygls: update to 1.2.0.

What's Changed

    Remove dependency on typeguard by @@karthiknadig in #411
    Simplify vscode-playground setup and fix Python discovery by @@alcarney in #374
    chore: pin lsprotocol to 2023.0.0 by @@alcarney in #414
    build: v1.2.0 by @@tombh in #412
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/11/02 08:33:13 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-1.2.0
@


1.14
log
@py-pygls: updated to 1.1.2

1.1.2

Documentation

Correct doc comment for PositionCodec.client_num_units

Miscellaneous Tasks

Update CHANGELOG.md
Update CONTRIBUTORS.md
Split protocol.py into own folder/files

Build

Bump urllib3 from 2.0.6 to 2.0.7
Allow installation with typeguard 4.x
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/10/28 19:57:10 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.1.2
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-typeguard>=3.0.0:../../devel/py-typeguard
@


1.13
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/10/20 11:19:08 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-1.1.1
a4 1
PKGREVISION=	1
@


1.12
log
@py-pygls: updated to 1.1.1

v1.1.1

chore: manual changes for v1.1.0 release
build(deps-dev): bump urllib3 from 2.0.5 to 2.0.6
explicit exports from pygls.workspace
fix: prevent AttributeError root_path when no workspace
ci: fix release process
build: v1.1.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/10/04 21:27:48 adam Exp $
d5 1
@


1.11
log
@py-pygls: updated to 1.1.0

1.1.0

Bug Fixes

Fix broken link and outdated comment
Correctly cast from UTF16 positions
Ensure server commands can be executed
Mypy lints
Error code of JsonRpcInternalError
Only show code action when there's no sum
Don't include trailing whitespace in code action title
'bool' object has no attribute 'resolve_provider'
Computation of formatting and diagnostic provider capabilities

CI

Migrate to Poetry and modernise
Linter for conventional commits
Autogenerate changelog with git-cliff
Automate CONTRIBUTORS.md
Retry Pyodide tests
Test against Python 3.12
Use matrix.python-version in cache key
Update json-extension pipeline
Pin poetry to 1.5.1
Do not install chromium/chromedriver
Enable coverage reporting
Run all lints even when some fail
Increase Pyodide CI retries to 6

Documentation

Use autodoc to document client methods
Update docstrings
Change specification for commit messages
Typo in vscode-playground README.md
Add api docs for servers, protocol and workspace
Align docstring formatting
Handle methods starting with $/
Update links and code snippets
Rename advanced usage to user guide
Instructions for using plain text files with vscode-playground

Features

Add document diagnostic capability
Add workspace symbol resolve
Add workspace diagnostic support
Adds inline value support
Adds type hierarchy request support
Add await syntax support for sending edit request to client
Allow servers to provide NotebookDocumentSyncOptions
Initial support for notebook document syncronisation
Add notebook support to example inlay_hints.py server
Accept PositionEncoding client capability
Support UTF32 ans UTF8 position encoding

Miscellaneous Tasks

Update autogenerated Pygls client
Introduce black formatting
Add .git-blame-ignore-revs file
Delete fountain-vscode-extension
Update README.md
Bump lsprotocol version
Fix deprecation warning, set chrome path
Disable body-max-line-length check
Add .readthedocs.yaml
Strict types in uris.py and workspace.py
Move workspace/doc/position into own files
Fix mypy types
Maintain Workspace backwards compat
Fix use of deprecated methods in tests/test_language_server.py

Refactor

Move example json-server to examples/servers
Rename json-vscode-extension/ -> vscode-playground
Simplify end-to-end test client fixture definition
Rename Client -> JsonRPCClient
Rename LanguageClient -> BaseLanguageClient
Rename <verb>_document to <verb>_text_document
Expose workspace via a property
Server Position class
Rename server Position to PositionCodec, instantiate it in Workspace
Reference types via types module
Make default argument mandatory, add type annotations

Testing

Test that the client provided token is used
Remove a useless sleep
Test cases of server initiated progress
Base Pyodide wheel deps off poetry.lock

Build

Bump semver in /examples/fountain-vscode-extension
Bump semver in /examples/json-vscode-extension
Bump word-wrap in /examples/json-vscode-extension
Lock min Python version to 3.7.9
Cache specific Python minor version
Bump lsprotocol to 2023.0.0b1
Release v1.1.0

Json-extension

Support cancellation in progress example

Progress

Support work done progress cancellation from client

Server

Add a type annotation to help completions in editor

Added

Add LanguageClient with LSP methods autogenerated from type annotations in lsprotocol
Add base JSON-RPC Client with support for running servers in a subprocess and communicating over stdio.
Support work done progress cancel
Add support for textDocument/inlayHint and inlayHint/resolve requests

Fixed

pygls no longer overrides the event loop for the current thread when given an explicit loop to use.
Fixed MethodTypeNotRegisteredError when registering a TEXT_DOCUMENT_DID_SAVE feature with options.
Fixed detection of LanguageServer type annotations when using string-based annotations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/05/21 18:47:56 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.1.0
@


1.10
log
@py-pygls: update to 1.0.2.

## [1.0.2] - May 15th, 2023
### Changed
- Update typeguard to 3.x ([#327])

### Fixed
- Data files are no longer placed inside the wrong `site-packages` folder when installing `pygls` ([#232])
[#232]: https://github.com/openlawlibrary/pygls/issues/232
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/05/05 09:38:48 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-1.0.2
d13 3
a15 8
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=3.4.3:../../devel/py-setuptools_scm
TOOL_DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+=	${PYPKGPREFIX}-lsprotocol-[0-9]*:../../lang/py-lsprotocol
DEPENDS+=	${PYPKGPREFIX}-typeguard>=2.10.0:../../devel/py-typeguard
TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=3:../../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
d21 1
a21 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/egg.mk"
@


1.9
log
@py-pygls: update to 1.0.1.

[1.0.1] - February 16th, 2023

Fixed

    Fix progress example in json extension. (#230)
    Fix AttributeErrors in get_configuration_async, get_configuration_callback, get_configuration_threaded commands in json extension. (#307)
    Fix type annotations for get_configuration_async and get_configuration methods on LanguageServer and LanguageServerProtocol objects (#307)
    Provide version param for publishing diagnostics (#303)
    Relaxed the Python version upper bound to <4 (#318)

1.0.0 - 2/12/2022

Changed

BREAKING CHANGE: Replaced pydantic with lsprotocol

0.13.1 - 1/12/2022

Changed

Docs now state that the v1 alpha branch is the recommended way to start new projects

Fixed

Support CodeActionKind.SourceFixAll
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/11/23 22:21:52 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-1.0.1
a17 1
#TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=4.0.3:../../devel/py-mock
@


1.8
log
@py-pygls: updated to 0.13.0

0.13.0
Added
- Add `name` and `version` arguments to the constructor of `LanguageServer`
Changed
- Default behaviour change: uncaught errors are now sent as `showMessage` errors to client.
  Overrideable in `LanguageServer.report_server_error()`: https://github.com/openlawlibrary/pygls/pull/282
Fixed
- `_data_recevied()` JSONRPC message parsing errors now caught
- Fix "Task attached to a different loop" error in `Server.start_ws`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/10/31 12:35:01 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-0.13.0
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-pydantic>=1.10.2:../../devel/py-pydantic
d18 2
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
@


1.7
log
@py-pygls: updated to 0.12.4

0.12.4
- Remove upper bound on Pydantic when Python is <3.11
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/10/25 09:25:39 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-0.12.4
d13 3
a15 3
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
@


1.6
log
@py-pygls: updated to 0.12.3

0.12.3
Fixed
- Require Pydantic 1.10.2 when Python is 3.11
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/10/14 09:55:51 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-0.12.3
@


1.5
log
@py-pygls: updated to 0.12.2

0.12.2
- Relaxed the Python version upper bound to `<4`
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/08/10 10:51:34 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-0.12.2
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-pydantic>=1.9.1:../../devel/py-pydantic
@


1.4
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:09 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-0.12.1
@


1.3
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/12/04 16:46:59 adam Exp $
d3 1
a3 1
DISTNAME=	pygls-0.9.1
a4 1
PKGREVISION=	1
d13 8
a20 4
# 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
d26 3
@


1.2
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/05/18 15:11:01 wiz Exp $
d5 1
@


1.1
log
@lang/py-pygls: import py-pygls-0.9.0

pygls (pronounced like "pie glass") is a pythonic generic implementation
of the Language Server Protocol for use as a foundation for writing
language servers using Python (e.g. Python, XML, etc.). It allows
you to write your own language server in just a few lines of code.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/05/18 13:36:49 wiz Exp $
d3 1
a3 1
DISTNAME=	pygls-0.9.0
d9 1
a9 1
HOMEPAGE=	https://github.com/openlawlibrary/pygls/
d13 4
a16 2
TEST_DEPENDS+=	${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+=	${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
d18 1
a18 7
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.
a21 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}

.include "../../lang/python/versioned_dependencies.mk"
@

