diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2020-04-10 10:51:48 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2020-04-10 10:51:48 +0000 |
commit | 60c65eea61688a8958c0c5e5b5fe6ed4efc7956d (patch) | |
tree | 7d9cf3845c391c144f626d64b62d6c99ba251f4a /textproc/py-jinja2-cli | |
parent | f8247233f8a15d52b6566b946c373e8111f67395 (diff) | |
download | ports-60c65eea61688a8958c0c5e5b5fe6ed4efc7956d.tar.gz ports-60c65eea61688a8958c0c5e5b5fe6ed4efc7956d.zip |
Notes
Diffstat (limited to 'textproc/py-jinja2-cli')
-rw-r--r-- | textproc/py-jinja2-cli/Makefile | 47 | ||||
-rw-r--r-- | textproc/py-jinja2-cli/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-jinja2-cli/pkg-descr | 3 |
3 files changed, 53 insertions, 0 deletions
diff --git a/textproc/py-jinja2-cli/Makefile b/textproc/py-jinja2-cli/Makefile new file mode 100644 index 000000000000..d0780a5ef927 --- /dev/null +++ b/textproc/py-jinja2-cli/Makefile @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= jinja2-cli +PORTVERSION= 0.7.0 +CATEGORIES= textproc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= juraj@lutter.sk +COMMENT= Jinja2 CLI tool + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MarkupSafe>0:textproc/py-MarkupSafe@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python + +OPTIONS_DEFINE= TEST TOML XML YAML +OPTIONS_DEFAULT= TEST TOML XML YAML + +TOML_DESC= TOML format or parser support +TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} + +XML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmltodict>0:devel/py-xmltodict@${PY_FLAVOR} + +YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} + +.include <bsd.port.options.mk> + +USE_PYTHON= autoplist concurrent distutils +USE_GITHUB= yes +GH_ACCOUNT= mattrobenolt +.if ${PORT_OPTIONS:MTEST} +TEST_TARGET= test +.endif + +NO_ARCH= yes + +TEST_ENV= TMPDIR=${WRKDIR} + +do-test: + @cd ${WRKSRC} && \ + ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/tox-${PYTHON_VER} -v + +.include <bsd.port.mk> diff --git a/textproc/py-jinja2-cli/distinfo b/textproc/py-jinja2-cli/distinfo new file mode 100644 index 000000000000..db3e622f457c --- /dev/null +++ b/textproc/py-jinja2-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1584532453 +SHA256 (mattrobenolt-jinja2-cli-0.7.0_GH0.tar.gz) = 1177f8abb16a2ac9c3f1da5e7190c35ba8ec79867d41942982ce6a28c3c14c76 +SIZE (mattrobenolt-jinja2-cli-0.7.0_GH0.tar.gz) = 6894 diff --git a/textproc/py-jinja2-cli/pkg-descr b/textproc/py-jinja2-cli/pkg-descr new file mode 100644 index 000000000000..7c6650eba391 --- /dev/null +++ b/textproc/py-jinja2-cli/pkg-descr @@ -0,0 +1,3 @@ +A command line interface to Jinja2 templating system. + +WWW: https://github.com/mattrobenolt/jinja2-cli |