svn commit: r566684 - in head/devel: . py-pyls-black

Rainer Hurling rhurlin at FreeBSD.org
Sat Feb 27 10:17:00 UTC 2021


Author: rhurlin
Date: Sat Feb 27 10:16:58 2021
New Revision: 566684
URL: https://svnweb.freebsd.org/changeset/ports/566684

Log:
  New port: devel/py-pyls-black: Black plugin for the Python Language Server
  
  https://github.com/rupert/pyls-black

Added:
  head/devel/py-pyls-black/
  head/devel/py-pyls-black/Makefile   (contents, props changed)
  head/devel/py-pyls-black/distinfo   (contents, props changed)
  head/devel/py-pyls-black/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Feb 27 09:39:19 2021	(r566683)
+++ head/devel/Makefile	Sat Feb 27 10:16:58 2021	(r566684)
@@ -4895,6 +4895,7 @@
     SUBDIR += py-pylibsrtp
     SUBDIR += py-pylru
     SUBDIR += py-pylru-cache
+    SUBDIR += py-pyls-black
     SUBDIR += py-pymarc
     SUBDIR += py-pymaven-patch
     SUBDIR += py-pymisp

Added: head/devel/py-pyls-black/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyls-black/Makefile	Sat Feb 27 10:16:58 2021	(r566684)
@@ -0,0 +1,22 @@
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
+# $FreeBSD$
+
+PORTNAME=	pyls-black
+PORTVERSION=	0.4.6
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	rhurlin at FreeBSD.org
+COMMENT=	Black plugin for the Python Language Server
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-pyls-black/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyls-black/distinfo	Sat Feb 27 10:16:58 2021	(r566684)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614419094
+SHA256 (pyls-black-0.4.6.tar.gz) = 33700e5ed605636ea7ba39188a1362d2f8602f7301f8f2b8544773886f965663
+SIZE (pyls-black-0.4.6.tar.gz) = 3010

Added: head/devel/py-pyls-black/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pyls-black/pkg-descr	Sat Feb 27 10:16:58 2021	(r566684)
@@ -0,0 +1,14 @@
+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!
+
+WWW: https://github.com/rupert/pyls-black


More information about the svn-ports-all mailing list