Port details |
- py-python-lsp-black Black plugin for the Python LSP Server
- 2.0.0 textproc =2 2.0.0Version of this port present on the latest quarterly branch.
- Maintainer: yuri@FreeBSD.org
- Port Added: 2022-10-13 17:27:06
- Last Update: 2023-12-31 23:02:32
- Commit Hash: 045e1af
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/python-lsp/python-lsp-black
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}python-lsp-black>0:textproc/py-python-lsp-black@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-python-lsp-black/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-python-lsp-black
- pkg install py39-python-lsp-black
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-python-lsp-black listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-python-lsp-black
- Package flavors (<flavor>: <package>)
- py39: py39-python-lsp-black
- distinfo:
- TIMESTAMP = 1704049805
SHA256 (python-lsp-black-2.0.0.tar.gz) = 8286d2d310c566844b3c116b824ada6fccfa6ba228b1a09a0526b74c04e0805f
SIZE (python-lsp-black-2.0.0.tar.gz) = 12051
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-python-lsp-server>=1.4.0 : textproc/py-python-lsp-server@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/spyder
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- textproc_py-python-lsp-black
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.0.0 31 Dec 2023 23:02:32 |
Yuri Victorovich (yuri) |
textproc/py-python-lsp-black: update 1.3.0 → 2.0.0
Reported by: portscout |
1.3.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.3.0 21 May 2023 18:53:14 |
Yuri Victorovich (yuri) |
textproc/py-python-lsp-black: Update 1.2.1 → 1.3.0
Reported by: portscout |
1.2.1 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.2.1 13 Oct 2022 17:33:50 |
Yuri Victorovich (yuri) |
textproc/py-python-lsp-black: New port: Black plugin for the Python LSP Server |
1.2.1 13 Oct 2022 17:25:45 |
Yuri Victorovich (yuri) |
textproc/py-python-lsp-black: New port: Black plugin for the Python LSP Server |
1.2.1 13 Oct 2022 14:41:27 |
Yuri Victorovich (yuri) |
Revert "textproc/py-python-lsp-black: New port: Black plugin for the Python LSP
Server"
This reverts commit 0c041ad4a2d2ade16fb3a91a5e651f018e33455f. |
Number of commits found: 7
|