textproc/py-python-lsp-black 2.0.0_1 FreeBSD
Black plugin for the Python LSP Server
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- textproc, python
- Package size
- 10.6 KiB, 28.3 KiB installed
Description
Black plugin for the Python LSP Server.
* This plugin will disable the yapf and autopep8 plugins if installed. * python-lsp-black can either format an entire file or just the selected text. * The code will only be formatted if it is syntactically valid Python. * Text selections are treated as if they were a separate Python file. Unfortunately this means you can't format an indented block of code. * python-lsp-black will use your project's pyproject.toml if it has one. * python-lsp-black only officially supports the latest stable version of black. An effort is made to keep backwards-compatibility but older black versions will not be actively tested. * The plugin can cache the black configuration that applies to each Python file, this improves performance of the plugin. When configuration caching is enabled any changes to black's configuration will need the LSP server to be restarted. Configuration caching can be disabled with the cache_config option.
Install
Binary package:
pkg install py312-python-lsp-black
From the ports tree:
cd /usr/ports/textproc/py-python-lsp-black/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-python-lsp-black>0:textproc/py-python-lsp-black
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.0.0_1 | 2.0.0_1 | 1.2.1 | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:14:quarterly | 2.0.0_1 | 2.0.0_1 | n/a | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:15:latest | 2.0.0_1 | 2.0.0_1 | n/a | 2.0.0_1 | 2.0.0_1 |
| FreeBSD:15:quarterly | 2.0.0_1 | 2.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.0.0_1 | 2.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}python-lsp-server>=1.4.0: textproc/py-python-lsp-server
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 93
- archivers/liblz4
- archivers/zstd
- databases/py-sqlite3
- databases/sqlite3
- devel/base64
- devel/gettext-runtime
- devel/libedit
- devel/libffi
- devel/py-Jinja2
- devel/py-ast-serialize
- devel/py-astroid
- devel/py-babel
- devel/py-black
- devel/py-click
- devel/py-colorama
- devel/py-dill
- devel/py-flake8
- devel/py-importlib-metadata
- devel/py-isort
- devel/py-jedi
- devel/py-librt
- devel/py-lxml
- devel/py-mccabe
- devel/py-mypy
- devel/py-mypy_extensions
- devel/py-orjson
- devel/py-packaging
- devel/py-pathspec
- devel/py-pip
- devel/py-platformdirs
- devel/py-pluggy
- devel/py-pycodestyle
- devel/py-pydantic
- devel/py-pydocstyle
- devel/py-pyflakes
- devel/py-pytokens
- devel/py-pytoolconfig
- devel/py-rope
- devel/py-ruff
- devel/py-setuptools
- devel/py-typing-extensions
- devel/py-ujson
- devel/py-zipp
- devel/pylint
- devel/readline
- dns/py-idna
- graphics/py-imagesize
- lang/python312
- lang/python315
- lang/tcl86
- math/libtommath
- math/mpdecimal
- net/py-pysocks
- net/py-urllib3
- print/indexinfo
- security/ca_root_nss
- security/libgcrypt
- security/libgpg-error
- security/py-certifi
- sysutils/py-psutil
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-alabaster
- textproc/py-autopep8
- textproc/py-charset-normalizer
- textproc/py-docstring-to-markdown
- textproc/py-docutils
- textproc/py-markupsafe
- textproc/py-parso
- textproc/py-pygments
- textproc/py-pystemmer
- textproc/py-python-lsp-jsonrpc
- textproc/py-python-lsp-server
- textproc/py-regex
- textproc/py-roman-numerals
- textproc/py-snowballstemmer
- textproc/py-sphinx
- textproc/py-sphinx-autodoc-typehints
- textproc/py-sphinx_rtd_theme
- textproc/py-sphinxcontrib-applehelp
- textproc/py-sphinxcontrib-devhelp
- textproc/py-sphinxcontrib-htmlhelp
- textproc/py-sphinxcontrib-jquery
- textproc/py-sphinxcontrib-jsmath
- textproc/py-sphinxcontrib-qthelp
- textproc/py-sphinxcontrib-serializinghtml
- textproc/py-toml
- textproc/py-tomlkit
- textproc/py-whatthepatch
- textproc/py-yapf
- textproc/snowballstemmer
- www/py-requests
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| python-lsp-black-2.0.0.tar.gz | 12051 | 8286d2d310c566844b3c116b824ada6fccfa6ba228b1a09a0526b74c04e0805f |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.