mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
New port: textproc/py-jinja2-cli, a CLI to the Jinja2 templating system.
This has optional YAML, TOML, XML support. WWW: https://github.com/mattrobenolt/jinja2-cli PR: 244870 Submitted by: juraj@lutter.sk (maintainer)
This commit is contained in:
parent
f8247233f8
commit
60c65eea61
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531314
@ -1278,6 +1278,7 @@
|
||||
SUBDIR += py-hypua2jamo
|
||||
SUBDIR += py-isbnlib
|
||||
SUBDIR += py-isbntools
|
||||
SUBDIR += py-jinja2-cli
|
||||
SUBDIR += py-jsonslicer
|
||||
SUBDIR += py-jsx-lexer
|
||||
SUBDIR += py-jtextfsm
|
||||
|
47
textproc/py-jinja2-cli/Makefile
Normal file
47
textproc/py-jinja2-cli/Makefile
Normal file
@ -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>
|
3
textproc/py-jinja2-cli/distinfo
Normal file
3
textproc/py-jinja2-cli/distinfo
Normal file
@ -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
|
3
textproc/py-jinja2-cli/pkg-descr
Normal file
3
textproc/py-jinja2-cli/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
A command line interface to Jinja2 templating system.
|
||||
|
||||
WWW: https://github.com/mattrobenolt/jinja2-cli
|
Loading…
Reference in New Issue
Block a user