From owner-svn-ports-head@freebsd.org Sat Feb 27 10:17:00 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 280F1562533; Sat, 27 Feb 2021 10:17:00 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnjB40fLdz4gdF; Sat, 27 Feb 2021 10:17:00 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F2A211BE44; Sat, 27 Feb 2021 10:16:59 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11RAGxii040917; Sat, 27 Feb 2021 10:16:59 GMT (envelope-from rhurlin@FreeBSD.org) Received: (from rhurlin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11RAGxvQ040913; Sat, 27 Feb 2021 10:16:59 GMT (envelope-from rhurlin@FreeBSD.org) Message-Id: <202102271016.11RAGxvQ040913@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rhurlin set sender to rhurlin@FreeBSD.org using -f From: Rainer Hurling Date: Sat, 27 Feb 2021 10:16:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566684 - in head/devel: . py-pyls-black X-SVN-Group: ports-head X-SVN-Commit-Author: rhurlin X-SVN-Commit-Paths: in head/devel: . py-pyls-black X-SVN-Commit-Revision: 566684 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 10:17:00 -0000 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 +# $FreeBSD$ + +PORTNAME= pyls-black +PORTVERSION= 0.4.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@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 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