From owner-svn-ports-all@freebsd.org Sat Jun 15 13:36:56 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 621C915C7BD4; Sat, 15 Jun 2019 13:36:56 +0000 (UTC) (envelope-from dbaio@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) server-signature RSA-PSS (4096 bits) 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 00E5B75C19; Sat, 15 Jun 2019 13:36:56 +0000 (UTC) (envelope-from dbaio@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 CE45A27B75; Sat, 15 Jun 2019 13:36:55 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5FDatik020007; Sat, 15 Jun 2019 13:36:55 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5FDasah020002; Sat, 15 Jun 2019 13:36:54 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201906151336.x5FDasah020002@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 15 Jun 2019 13:36:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504244 - in head/devel: . py-cfn-lint py-cfn-lint/files X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/devel: . py-cfn-lint py-cfn-lint/files X-SVN-Commit-Revision: 504244 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 00E5B75C19 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2019 13:36:56 -0000 Author: dbaio Date: Sat Jun 15 13:36:54 2019 New Revision: 504244 URL: https://svnweb.freebsd.org/changeset/ports/504244 Log: Add devel/py-cfn-lint: AWS CloudFormation Linter Validate CloudFormation yaml/json templates against the CloudFormation spec and additional checks. Includes checking valid values for resource properties and best practices. WWW: https://pypi.org/project/cfn-lint/ PR: 238534 Submitted by: nork@ninth-nine.com Added: head/devel/py-cfn-lint/ head/devel/py-cfn-lint/Makefile (contents, props changed) head/devel/py-cfn-lint/distinfo (contents, props changed) head/devel/py-cfn-lint/files/ head/devel/py-cfn-lint/files/patch-setup.py (contents, props changed) head/devel/py-cfn-lint/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jun 15 13:33:27 2019 (r504243) +++ head/devel/Makefile Sat Jun 15 13:36:54 2019 (r504244) @@ -4229,6 +4229,7 @@ SUBDIR += py-cffi SUBDIR += py-cfgparse SUBDIR += py-cfgv + SUBDIR += py-cfn-lint SUBDIR += py-cftime SUBDIR += py-chainmap SUBDIR += py-characteristic Added: head/devel/py-cfn-lint/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cfn-lint/Makefile Sat Jun 15 13:36:54 2019 (r504244) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= cfn-lint +PORTVERSION= 0.21.5 +CATEGORIES= devel python textproc +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nork@ninth-nine.com +COMMENT= AWS CloudFormation Linter + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.11:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.15.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}aws-sam-translator>=1.10.0:devel/py-aws-sam-translator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonpatch>0:devel/py-jsonpatch@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PY_PATHLIB} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include Added: head/devel/py-cfn-lint/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cfn-lint/distinfo Sat Jun 15 13:36:54 2019 (r504244) @@ -0,0 +1,3 @@ +TIMESTAMP = 1560602229 +SHA256 (cfn-lint-0.21.5.tar.gz) = ce4bf8c0e6d5b8ad3f1b4cd8261e1eca795d61fb3723e3dce85c78eff95ab120 +SIZE (cfn-lint-0.21.5.tar.gz) = 2042476 Added: head/devel/py-cfn-lint/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cfn-lint/files/patch-setup.py Sat Jun 15 13:36:54 2019 (r504244) @@ -0,0 +1,13 @@ +https://github.com/aws-cloudformation/cfn-python-lint/issues/905 + +--- setup.py.orig 2019-06-15 13:03:38 UTC ++++ setup.py +@@ -78,7 +78,7 @@ setup( + 'requests>=2.15.0', + 'aws-sam-translator>=1.10.0', + 'jsonpatch', +- 'jsonschema~=2.6', ++ 'jsonschema~=3.0', + 'pathlib2>=2.3.0;python_version<"3.4"', + 'setuptools', + ], Added: head/devel/py-cfn-lint/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-cfn-lint/pkg-descr Sat Jun 15 13:36:54 2019 (r504244) @@ -0,0 +1,5 @@ +Validate CloudFormation yaml/json templates against the CloudFormation spec and +additional checks. Includes checking valid values for resource properties and +best practices. + +WWW: https://pypi.org/project/cfn-lint/