Bug 244870 - [NEW PORT] textproc/py-jinja2-cli: Jinja2 CLI tool
Summary: [NEW PORT] textproc/py-jinja2-cli: Jinja2 CLI tool
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthias Andree
URL:
Keywords: feature, needs-patch
Depends on:
Blocks:
 
Reported: 2020-03-17 22:14 UTC by Juraj Lutter
Modified: 2020-04-10 10:52 UTC (History)
3 users (show)

See Also:


Attachments
textproc/py-jinja2-cli shar file (2.04 KB, text/plain)
2020-03-17 22:14 UTC, Juraj Lutter
no flags Details
textproc/py-jinja2-cli shar file (2.23 KB, text/plain)
2020-03-18 15:05 UTC, Juraj Lutter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juraj Lutter 2020-03-17 22:14:00 UTC
Created attachment 212475 [details]
textproc/py-jinja2-cli shar file

Hi,

please find a new port (shar file) attaches.

It is a jinja2 CLI tool for creating files from Jinja templates.

Poudriere log from CURRENT:

https://freebsd-current.builder.wilbury.net/data/13_CURRENT_GENERIC_amd64-default/2020-03-17_23h06m42s/logs/py37-jinja2-cli-0.7.0.log
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-03-17 23:48:52 UTC
Thanks for submitting a new port Jaraj

Some review items:

- Add LICENSE_FILE when one is supplied with the sources (this package provides one)

- Remove empty PKGNAMESUFFIX?= (unless this is related to existing master/slave ports?)

- Use USE_PYTHON=autoplist where possible for python packages, current static pkg-plist is only appropriate for python37

- Python package provides "extras" (yaml, tml xml). Add port OPTIONS for these python extras.

- Package has tests/test suite, add TEST_DEPENDS and test target for comprehensive ports QA. Unfortunately upstream doesn't provide the test module in the PyPI source distribution, so use USE_GITHUB for source until thats rectified upstream

See Also: https://wiki.freebsd.org/Python/PortsPolicy
Comment 2 Juraj Lutter 2020-03-18 15:05:54 UTC
Created attachment 212497 [details]
textproc/py-jinja2-cli shar file

Hi,

thanks for the pointers.

Please see the updated shar file attached.
Comment 3 Juraj Lutter 2020-03-31 20:02:08 UTC
A very friendly reminder. :-)
Comment 4 Adam Jimerson 2020-04-06 13:04:27 UTC
Any updates on a commiter reviewing this? I maintain the sysutils/yadm port which would benifit from this being added as it will allow users to make use of Jinja2 based templates https://yadm.io/docs/templates#
Comment 5 commit-hook freebsd_committer 2020-04-10 10:52:20 UTC
A commit references this bug:

Author: mandree
Date: Fri Apr 10 10:51:49 UTC 2020
New revision: 531314
URL: https://svnweb.freebsd.org/changeset/ports/531314

Log:
  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)

Changes:
  head/textproc/Makefile
  head/textproc/py-jinja2-cli/
  head/textproc/py-jinja2-cli/Makefile
  head/textproc/py-jinja2-cli/distinfo
  head/textproc/py-jinja2-cli/pkg-descr