From nobody Mon Jul 11 13:52:55 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D1AA81D03B7F; Mon, 11 Jul 2022 13:52:55 +0000 (UTC) (envelope-from git@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 4LhQLv4KrMz3mZs; Mon, 11 Jul 2022 13:52:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8uGp5ctq+WNcj2/kEbnqhz9aGaaQVntwZdka78TbfHY=; b=hzNEVb7RNGekjFxjDfIowUL3N1BrmqdBfgHL134gsR/VmkSzjEMfbz90nS2CTlsKtmjBso kHOU444S2LerhwafBGL0jgV5adwGVLZjyotRYlqNXZbKHNF3x5kWGNACTo/A9K5sCo2xj8 +7LGVMVG49RU0L/OwKexfKB1s6yrIHEG7hEj26qcph3i3n2KnP58l55NQNGHXbX5XUeIRf TsSo03ZFOVcbARj+fhlIY/qXRGITtVWbZNoDG3pYowB4mSDeSzKSTUnAHNJTj3GD7RyhL4 4g4Z/VY6+bqOTKZChtx6560JeVAWLHwm+U3hy519JQ/xxfOFbe8hU1VFaQHRQw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LhQLv2vynz15M5; Mon, 11 Jul 2022 13:52:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26BDqtRg011912; Mon, 11 Jul 2022 13:52:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26BDqtXk011911; Mon, 11 Jul 2022 13:52:55 GMT (envelope-from git) Date: Mon, 11 Jul 2022 13:52:55 GMT Message-Id: <202207111352.26BDqtXk011911@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 1c59fc3d7108 - main - devel/py-flake8-black: Add py-flake8-black 0.3.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c59fc3d710827aad358aa6a5830f98788f847d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657547575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8uGp5ctq+WNcj2/kEbnqhz9aGaaQVntwZdka78TbfHY=; b=IiLfWWjq7JTavXWciyRy+y5mlFfyRfODqJuDVJ+NC3PGnHACbunNFCYq3hKSU+AVZnVRs7 wkIFq6Z1MKwco+0uAXVdW0gO3rZ6FFTOXglwJL8gG4a75Ppxw5af8YImerBM90qncqCmxD chen8/sR5NjBVO4lQaF7UuAG8XezF25mZmNXn52GQIUXhzFc6HodJkQ8Ms6IX+n4M7DAb4 ip83x2VTQK6qvF4jckYonV8sGKkenOVJpXIG0ITFjLL40AiGyvXOwrHqbZl4+Ymdg5GL0v rmNQee9fj/m/PH3Q3l4n9/35deuRFTal93Y4mVUvPPm+KqfGSFORFFkfq7jiug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657547575; a=rsa-sha256; cv=none; b=TYpcCRwgtEKTgIi+pEseR/L4Hxh6upal0yrzv5mfCX56KZNeTeEbTRjp1DVNSHfKkehx1C ZmdeuIBN4f4pR/pSYrbvDKJlVrO4QcfAWqGk2GN5/eGCLpCgHagkRhLnsy86LPEZuWjmrf 4JG7xqCj5UzxNJkvwOAnh7TlFuA9BwwZOg6KR8VZorOtmYyddSI+5Y4hrYETYSWKHyqK0e qBTRcBt33+opuMUljDjm08ZqIHvk9ghJ7JNWYzDJxiLmr3pT9tzHAjA0GNLrL8Uy9Swfv8 fmKCsZbnSczg1TSVuFKh0MvqLskCmSgB4FxAR5lHdb3beCBtAgqwcWEY1QBR2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c59fc3d710827aad358aa6a5830f98788f847d9 commit 1c59fc3d710827aad358aa6a5830f98788f847d9 Author: Po-Chuan Hsieh AuthorDate: 2022-07-11 13:48:46 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-11 13:48:46 +0000 devel/py-flake8-black: Add py-flake8-black 0.3.3 flake8-black is an MIT licensed flake8 plugin for validating Python code style with the command line code formatting tool black. Black, "The Uncompromising Code Formatter", is normally run to edit your Python code in place to match their coding style, a strict subset of the PEP 8 style guide. The point of this plugin is to be able to run black --check ... from within the flake8 plugin ecosystem. You might use this via a git pre-commit hook, or as part of your continuous integration testing. WWW: https://github.com/peterjc/flake8-black --- devel/Makefile | 1 + devel/py-flake8-black/Makefile | 24 ++++++++++++++++++++++++ devel/py-flake8-black/distinfo | 3 +++ devel/py-flake8-black/pkg-descr | 12 ++++++++++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 749534a07bb4..347cb84158ee 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4484,6 +4484,7 @@ SUBDIR += py-five.globalrequest SUBDIR += py-fixtures SUBDIR += py-flake8 + SUBDIR += py-flake8-black SUBDIR += py-flake8-bugbear SUBDIR += py-flake8-builtins SUBDIR += py-flake8-docstrings diff --git a/devel/py-flake8-black/Makefile b/devel/py-flake8-black/Makefile new file mode 100644 index 000000000000..1725bfca304e --- /dev/null +++ b/devel/py-flake8-black/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= flake8-black +PORTVERSION= 0.3.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= flake8 plugin to call black as a code style validator + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=22.1.0:devel/py-black@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=3.0.0:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-flake8-black/distinfo b/devel/py-flake8-black/distinfo new file mode 100644 index 000000000000..123b270ab486 --- /dev/null +++ b/devel/py-flake8-black/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657292468 +SHA256 (flake8-black-0.3.3.tar.gz) = 8211f5e20e954cb57c709acccf2f3281ce27016d4c4b989c3e51f878bb7ce12a +SIZE (flake8-black-0.3.3.tar.gz) = 14635 diff --git a/devel/py-flake8-black/pkg-descr b/devel/py-flake8-black/pkg-descr new file mode 100644 index 000000000000..27536778f13b --- /dev/null +++ b/devel/py-flake8-black/pkg-descr @@ -0,0 +1,12 @@ +flake8-black is an MIT licensed flake8 plugin for validating Python code style +with the command line code formatting tool black. + +Black, "The Uncompromising Code Formatter", is normally run to edit your Python +code in place to match their coding style, a strict subset of the PEP 8 style +guide. + +The point of this plugin is to be able to run black --check ... from within the +flake8 plugin ecosystem. You might use this via a git pre-commit hook, or as +part of your continuous integration testing. + +WWW: https://github.com/peterjc/flake8-black