Port details |
- py-pyls-black Black plugin for the Python Language Server
- 0.4.7_3 devel
=2 0.4.7_3Version of this port present on the latest quarterly branch. - Maintainer: rhurlin@FreeBSD.org
 - Port Added: 2021-02-27 10:17:04
- Last Update: 2025-01-04 13:48:45
- Commit Hash: 025d11d
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/rupert/pyls-black
- Description:
- Black plugin for the Python Language Server.
- 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. This also means that an indented block of code
cannot be formatted
- Will use your project's pyproject.toml if it has one.
Using pyls-black while yapf and autopep8 are installed, may
lead to unexpected results!
¦ ¦ ¦ ¦ 
- 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}pyls-black>0:devel/py-pyls-black@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-pyls-black
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1622886488
SHA256 (pyls-black-0.4.7.tar.gz) = 6e087adca067391a65a577676ea2d62f0a6cb2bf23bf45dbefbbd48c0d2bb8d4
SIZE (pyls-black-0.4.7.tar.gz) = 3958
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-wheel>0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-black>0 : devel/py-black@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-pyls-black
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.4.7_3 04 Jan 2025 13:48:45
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Removed because repository has been archived
https://github.com/rupert/pyls-black
MFH: 2024Q4 |
0.4.7_3 18 Jul 2023 00:53:09
    |
Charlie Li (vishwin)  |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
0.4.7_3 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> |
0.4.7_3 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
0.4.7_2 05 Feb 2023 19:05:02
    |
Charlie Li (vishwin)  |
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install
bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.
Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added, (Only the first 15 lines of the commit message are shown above ) |
0.4.7_3 05 Feb 2023 18:16:47
    |
Po-Chuan Hsieh (sunpoet)  |
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change
It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].
from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir
from installer documentation:
--compile-bytecode
Possible choices: 0, 1, 2
generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
don’t generate bytecode for installed modules
Default: False
With hat: python
Reference: https://pypa-build.readthedocs.io/en/stable/ [1]
https://installer.pypa.io/en/stable/cli/installer/ [2] |
0.4.7_2 15 Jan 2023 17:44:17
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Make build system PEP-518 conform
Thanks to Charlie Li for clarifying the build system dependencies.
PR: 268342
Reported by: vishwin |
0.4.7_2 14 Jan 2023 13:17:36
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Add wheel build dependency
Forgot to add wheel as dependency, pyproject.toml isn't helpfull here.
PR: 268342
Reported by: p5B2EA84B3@t-online.de |
0.4.7_2 14 Jan 2023 08:41:57
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Change to PEP517 |
0.4.7_1 14 Jan 2023 08:16:28
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Use python-lsp-server
Conversion from python-language-server (deprecated) to python-lsp-server by
cherry picking from Github[1][2].
No conversion to PEP517, since 2023Q1 does not contain it. This will be done in
a follow up commit.
[1] https://github.com/rupert/pyls-black/pull/37
[2] https://github.com/rupert/pyls-black/pull/41
PR: 268342
Reported by: p5B2EA84B3@t-online.de
MFH: 2023Q1 |
0.4.7 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.4.7 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.4.7 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.4.7 05 Jun 2021 09:54:59
    |
Rainer Hurling (rhurlin)  |
devel/py-pyls-black: Update to 0.4.7
- Fixes breaking change introduced in version 21.04b of black
- Release includes the LICENSE file in the source tarball
Reported by: portscout, Repology |
0.4.6 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.4.6 27 Feb 2021 10:16:59
  |
rhurlin  |
New port: devel/py-pyls-black: Black plugin for the Python Language Server
https://github.com/rupert/pyls-black |