BSD Ports

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

SystemPortVersion
FreeBSDwww/py-django_statici18n2.8.0
HardenedBSDwww/py-django_statici18n2.8.0
GhostBSDwww/py-django_statici18n2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.8.02.8.0--2.8.0
FreeBSD:14:quarterly2.8.02.8.0n/a-2.8.0
FreeBSD:15:latest2.8.02.8.0n/a--
FreeBSD:15:quarterly2.8.02.8.0n/an/an/a
FreeBSD:16:latest2.8.02.8.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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
FileSizeSHA256
django_statici18n-2.8.0.tar.gz80150b5d99e5e6a2f6ef6c02103eb8751a0182ec7e24d5b7ea823fe41fa088798d30
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog 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]>