www/py-django_statici18n 2.8.0 FreeBSD
Helper for generating Javascript catalog to static files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
5e7b9b3613- License
- BSD3CLAUSE
- Categories
- www, python
- Package size
- 14.5 KiB, 46.7 KiB installed
Description
When dealing with internationalization in JavaScript code, Django provides the javascript_catalog view which sends out a JavaScript code library with functions that mimic the gettext interface, plus an array of translation strings.
At first glance, it works well and everything is fine. But, because javascript_catalog view is generating JavaScript catalog dynamically on each request, it's adding an overhead that can be an issue with site growth.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/py-django_statici18n | 2.8.0 |
| HardenedBSD | www/py-django_statici18n | 2.8.0 |
| GhostBSD | www/py-django_statici18n | 2.8.0 |
Install
Binary package:
pkg install py312-django_statici18n
From the ports tree:
cd /usr/ports/www/py-django_statici18n/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-django_statici18n>0:www/py-django_statici18n
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 | 2.8.0 | 2.8.0 | - | - | 2.8.0 |
| FreeBSD:14:quarterly | 2.8.0 | 2.8.0 | n/a | - | 2.8.0 |
| FreeBSD:15:latest | 2.8.0 | 2.8.0 | n/a | - | - |
| FreeBSD:15:quarterly | 2.8.0 | 2.8.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.8.0 | 2.8.0 | 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.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}django52>=4.2<6.2: www/py-django52${PYTHON_PKGNAMEPREFIX}django-appconf>=1.0: www/py-django-appconf
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 19
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
- Conflicts with
- ${PYTHON_PKGNAMEPREFIX}*django_statici18n
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| django_statici18n-2.8.0.tar.gz | 8015 | 0b5d99e5e6a2f6ef6c02103eb8751a0182ec7e24d5b7ea823fe41fa088798d30 |
Master sites 1
- PYPI
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
5e7b9b3613 |
Christos Longros | Update maintainer email address Update to [email protected]
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D60621 |
|
9de74e4ca9 |
Christos Longros | www/py-django_statici18n: Update 2.7.1 => 2.8.0 Upstream requires Django<6.2 so change the RUN_DEPENDS accordingly.
Changelog:
https://github.com/zyegfryed/django-statici18n/blob/v2.8.0/docs/changelog.rst
PR: 298210
Approved by: osa, vvd (Mentors, implicit) |
|
479247ecc0 |
Christos Longros | www/py-django_statici18n: Update to 2.7.1 * Assume maintainership.
* Switch to the PEP517 build framework to make the port future-proof.
* Use the more preferred DISTVERSION and fix LICENSE as well.
Changelog since 2.6.0:
https://github.com/zyegfryed/django-statici18n/blob/v2.7.1/docs/changelog.rst
PR: 297808
Reported by: Christos Longros
Co-authored-by: Kai Knoblich <[email protected]> |