BSD Ports

devel/py-jinja2-time 0.2.0_1 FreeBSD

Jinja2 Extension for Dates and Times

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
7.0 KiB, 15.8 KiB installed

Description

Jinja2 Extension for Dates and Times

The extension comes with a 'now' tag that provides convenient access to the arrow.now() API from your templates. You can control the output by specifying a format that will be passed to Python's strftime().

TimeExtension extends the environment with a 'datetime_format' attribute. It is used as a fallback if you omit the format for 'now'.

jinja2-time implements a convenient interface to modify 'now' by a relative time offset.

In the other systems

SystemPortVersion
FreeBSDdevel/py-jinja2-time0.2.0_1
DragonFlydevel/py-jinja2-time0.2.0_1
HardenedBSDdevel/py-jinja2-time0.2.0_1
GhostBSDdevel/py-jinja2-time0.2.0_1

Install

Binary package:

pkg install py312-jinja2-time

From the ports tree:

cd /usr/ports/devel/py-jinja2-time/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-jinja2-time>0:devel/py-jinja2-time

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.0_10.2.0_10.2.00.2.0_10.2.0_1
FreeBSD:14:quarterly0.2.0_10.2.0_1n/a0.2.0_10.2.0_1
FreeBSD:15:latest0.2.0_10.2.0_1n/a0.2.0_10.2.0_1
FreeBSD:15:quarterly0.2.0_10.2.0_1n/an/an/a
FreeBSD:16:latest0.2.0_10.2.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

Test 3

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 14

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
jinja2-time-0.2.0.tar.gz5701d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.