From owner-svn-ports-head@freebsd.org Fri Nov 6 11:11:53 2020 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 70B6F2EA43A; Fri, 6 Nov 2020 11:11:53 +0000 (UTC) (envelope-from sunpoet@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSHlY13Ygz3DN8; Fri, 6 Nov 2020 11:11:53 +0000 (UTC) (envelope-from sunpoet@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 0FD9024189; Fri, 6 Nov 2020 11:11:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6BBpO7083715; Fri, 6 Nov 2020 11:11:51 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0A6BBpi9083711; Fri, 6 Nov 2020 11:11:51 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202011061111.0A6BBpi9083711@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 6 Nov 2020 11:11:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554184 - in head/devel: . py-pre-commit-hooks X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-pre-commit-hooks X-SVN-Commit-Revision: 554184 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: Fri, 06 Nov 2020 11:11:53 -0000 Author: sunpoet Date: Fri Nov 6 11:11:50 2020 New Revision: 554184 URL: https://svnweb.freebsd.org/changeset/ports/554184 Log: Add py-pre-commit-hooks 3.3.0 pre-commit-hooks provides some out-of-the-box hooks for pre-commit. WWW: https://github.com/pre-commit/pre-commit-hooks Added: head/devel/py-pre-commit-hooks/ head/devel/py-pre-commit-hooks/Makefile (contents, props changed) head/devel/py-pre-commit-hooks/distinfo (contents, props changed) head/devel/py-pre-commit-hooks/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Nov 6 11:11:44 2020 (r554183) +++ head/devel/Makefile Fri Nov 6 11:11:50 2020 (r554184) @@ -4808,6 +4808,7 @@ SUBDIR += py-poyo SUBDIR += py-prance SUBDIR += py-pre-commit + SUBDIR += py-pre-commit-hooks SUBDIR += py-preshed SUBDIR += py-pretend SUBDIR += py-prettyprinter Added: head/devel/py-pre-commit-hooks/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pre-commit-hooks/Makefile Fri Nov 6 11:11:50 2020 (r554184) @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= pre-commit-hooks +PORTVERSION= 3.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pre_commit_hooks-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Some out-of-the-box hooks for pre-commit + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15:devel/py-ruamel.yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include Added: head/devel/py-pre-commit-hooks/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pre-commit-hooks/distinfo Fri Nov 6 11:11:50 2020 (r554184) @@ -0,0 +1,3 @@ +TIMESTAMP = 1604480696 +SHA256 (pre_commit_hooks-3.3.0.tar.gz) = 1e18c0451279fb88653c7b9f8fd73ccc35925e95b636c5b64095538f68a23b06 +SIZE (pre_commit_hooks-3.3.0.tar.gz) = 26568 Added: head/devel/py-pre-commit-hooks/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pre-commit-hooks/pkg-descr Fri Nov 6 11:11:50 2020 (r554184) @@ -0,0 +1,3 @@ +pre-commit-hooks provides some out-of-the-box hooks for pre-commit. + +WWW: https://github.com/pre-commit/pre-commit-hooks