Date: Sun, 27 Oct 2019 19:10:05 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r515813 - in head/devel: . py-pyhcl Message-ID: <201910271910.x9RJA5T1065723@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Sun Oct 27 19:10:05 2019 New Revision: 515813 URL: https://svnweb.freebsd.org/changeset/ports/515813 Log: [NEW PORT] devel/py-pyhcl Implements a parser for HCL (HashiCorp Configuration Language) in Python. This implementation aims to be compatible with the original golang version of the parser. The grammar and many of the tests/fixtures were copied/ported from the golang parser into pyhcl. All releases are tested with a variety of Python versions from Python 2.7 onward. WWW: https://github.com/virtuald/pyhcl PR: 241309 Submitted by: Alessando Sagratini <ale_sagra@hotmail.com> Added: head/devel/py-pyhcl/ head/devel/py-pyhcl/Makefile (contents, props changed) head/devel/py-pyhcl/distinfo (contents, props changed) head/devel/py-pyhcl/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Oct 27 18:40:31 2019 (r515812) +++ head/devel/Makefile Sun Oct 27 19:10:05 2019 (r515813) @@ -4856,6 +4856,7 @@ SUBDIR += py-pygithub SUBDIR += py-pygpx SUBDIR += py-pyhashxx + SUBDIR += py-pyhcl SUBDIR += py-pyicu SUBDIR += py-pyinotify SUBDIR += py-pyinstaller Added: head/devel/py-pyhcl/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyhcl/Makefile Sun Oct 27 19:10:05 2019 (r515813) @@ -0,0 +1,27 @@ +# Created by: Alessando Sagratini <ale_sagra@hotmail.com> +# $FreeBSD$ + +PORTNAME= pyhcl +PORTVERSION= 0.3.12 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ale_sagra@hotmail.com +COMMENT= HCL configuration parser for Python + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.8<4:devel/py-ply@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v + +.include <bsd.port.mk> Added: head/devel/py-pyhcl/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyhcl/distinfo Sun Oct 27 19:10:05 2019 (r515813) @@ -0,0 +1,3 @@ +TIMESTAMP = 1571214531 +SHA256 (pyhcl-0.3.12.tar.gz) = 1ac02b5659df22fe36d0afbb6e258cd78085dd41f0b0c57be0f041ef32baae43 +SIZE (pyhcl-0.3.12.tar.gz) = 21739 Added: head/devel/py-pyhcl/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pyhcl/pkg-descr Sun Oct 27 19:10:05 2019 (r515813) @@ -0,0 +1,9 @@ +Implements a parser for HCL (HashiCorp Configuration Language) in Python. +This implementation aims to be compatible with the original golang version of +the parser. + +The grammar and many of the tests/fixtures were copied/ported from the golang +parser into pyhcl. All releases are tested with a variety of Python versions +from Python 2.7 onward. + +WWW: https://github.com/virtuald/pyhcl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910271910.x9RJA5T1065723>