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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-jinja2-time | 0.2.0_1 |
| DragonFly | devel/py-jinja2-time | 0.2.0_1 |
| HardenedBSD | devel/py-jinja2-time | 0.2.0_1 |
| GhostBSD | devel/py-jinja2-time | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.0_1 | 0.2.0_1 | 0.2.0 | 0.2.0_1 | 0.2.0_1 |
| FreeBSD:14:quarterly | 0.2.0_1 | 0.2.0_1 | n/a | 0.2.0_1 | 0.2.0_1 |
| FreeBSD:15:latest | 0.2.0_1 | 0.2.0_1 | n/a | 0.2.0_1 | 0.2.0_1 |
| FreeBSD:15:quarterly | 0.2.0_1 | 0.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.0_1 | 0.2.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
${PYTHON_PKGNAMEPREFIX}Jinja2>0: devel/py-Jinja2${PYTHON_PKGNAMEPREFIX}arrow>0: devel/py-arrow
Test 3
${PYTHON_PKGNAMEPREFIX}pytest>0: devel/py-pytest${PYTHON_PKGNAMEPREFIX}flake8>0: devel/py-flake8${PYTHON_PKGNAMEPREFIX}freezegun>0: devel/py-freezegun
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
| File | Size | SHA256 |
|---|---|---|
| jinja2-time-0.2.0.tar.gz | 5701 | d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.