Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2019 13:36:54 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
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
Message-ID:  <201906151336.x5FDasah020002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906151336.x5FDasah020002>