mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove python-pyls-black.
* gnu/packages/python-xyz.scm (python-pyls-black): Delete variable and remove associated patch. Project is no longer maintained as of 4 years to this date and has been succeeded and forked by python-lsp-black. Change-Id: Ic209f23e6368744db74b93e2a9c01a9859b04f82
This commit is contained in:
parent
183f330905
commit
20089e2449
3 changed files with 0 additions and 91 deletions
|
@ -3364,51 +3364,6 @@ Unicode-to-LaTeX conversion.")
|
|||
"Mypy linter integration for use with @code{python-lsp-server}.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-pyls-black
|
||||
(package
|
||||
(name "python-pyls-black")
|
||||
(version "0.4.7")
|
||||
(source
|
||||
(origin
|
||||
;; There are no tests in the PyPI tarball.
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/rupert/pyls-black/")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0bkhfnlik89j3yamr20br4wm8975f20v33wabi2nyxvj10whr5dj"))
|
||||
(patches (search-patches "python-pyls-black-41.patch"))
|
||||
;; Patch to work with python-lsp-server. Taken from
|
||||
;; <https://github.com/rupert/pyls-black/pull/37>.
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
(substitute* "setup.cfg"
|
||||
(("python-language-server")
|
||||
"python-lsp-server"))
|
||||
(substitute* '("pyls_black/plugin.py" "tests/test_plugin.py")
|
||||
(("pyls_format_document")
|
||||
"pylsp_format_document")
|
||||
(("pyls_format_range")
|
||||
"pylsp_format_range")
|
||||
(("from pyls([ \\.])" _ char)
|
||||
(string-append "from pylsp" char)))))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
'(list "-k" "not test_load_config_target_version")))
|
||||
(propagated-inputs
|
||||
(list python-black python-lsp-server python-toml python-tomli))
|
||||
(native-inputs
|
||||
(list python-flake8 python-isort python-mypy python-pytest
|
||||
python-pytest-runner python-setuptools python-wheel))
|
||||
(home-page "https://github.com/rupert/pyls-black")
|
||||
(synopsis "Black plugin for the Python Language Server")
|
||||
(description "Black plugin for the Python Language Server.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-sh
|
||||
(package
|
||||
(name "python-sh")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue