Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2026 04:24:19 +0000
From:      Richard Gallamore <ultima@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b71e31369daa - main - www/py-django_statici18n: Updated to 2.6.0 and renamed to match upstream
Message-ID:  <69929bf3.30cc4.4029a323@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ultima:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b71e31369daa0bdc4b373944e553a75d291aa1c7

commit b71e31369daa0bdc4b373944e553a75d291aa1c7
Author:     Richard Gallamore <ultima@FreeBSD.org>
AuthorDate: 2026-02-16 04:22:46 +0000
Commit:     Richard Gallamore <ultima@FreeBSD.org>
CommitDate: 2026-02-16 04:24:07 +0000

    www/py-django_statici18n: Updated to 2.6.0 and renamed to match upstream
    
    Changes: https://django-statici18n.readthedocs.io/en/v2.6.0/changelog.html
---
 MOVED                              |  1 +
 www/Makefile                       |  2 +-
 www/py-django_statici18n/Makefile  | 22 ++++++++++++++++++++++
 www/py-django_statici18n/distinfo  |  3 +++
 www/py-django_statici18n/pkg-descr |  9 +++++++++
 5 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 5521addac978..94f1b724952f 100644
--- a/MOVED
+++ b/MOVED
@@ -5151,3 +5151,4 @@ java/openjdk19||2026-02-14|Has expired: No longer supported by upstream
 emulators/firebird-emu|emulators/firebird|2026-02-14|Align with upstream project name
 security/openssl-quictls|security/openssl33-quictls|2026-02-14|Has expired: Upstream project has been archived, use security/openssl33-quictls
 misc/usd|graphics/openusd|2026-02-15|Rename to match upstream naming and moved to a more appropriate category
+www/py-django-statici18n|www/py-django_statici18n|2026-02-15|Rename to match upstream naming
diff --git a/www/Makefile b/www/Makefile
index e3f32b4417d2..091b84d91c60 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1669,7 +1669,7 @@
     SUBDIR += py-django-solo
     SUBDIR += py-django-sortedm2m
     SUBDIR += py-django-star-ratings
-    SUBDIR += py-django-statici18n
+    SUBDIR += py-django_statici18n
     SUBDIR += py-django-staticinline
     SUBDIR += py-django-storages
     SUBDIR += py-django-stubs-ext
diff --git a/www/py-django_statici18n/Makefile b/www/py-django_statici18n/Makefile
new file mode 100644
index 000000000000..9a2980adc0a3
--- /dev/null
+++ b/www/py-django_statici18n/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	django_statici18n
+PORTVERSION=	2.6.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ultima@FreeBSD.org
+COMMENT=	Helper for generating Javascript catalog to static files
+WWW=		https://github.com/zyegfryed/django-statici18n
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}django-appconf>=1.0:www/py-django-appconf@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django_statici18n/distinfo b/www/py-django_statici18n/distinfo
new file mode 100644
index 000000000000..116e243c264f
--- /dev/null
+++ b/www/py-django_statici18n/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1771211042
+SHA256 (django_statici18n-2.6.0.tar.gz) = 87ed5adb15d6b32d20f438df76f39f16cc5804f452a8785bebc64729ff08cfb4
+SIZE (django_statici18n-2.6.0.tar.gz) = 7907
diff --git a/www/py-django_statici18n/pkg-descr b/www/py-django_statici18n/pkg-descr
new file mode 100644
index 000000000000..de1615b18262
--- /dev/null
+++ b/www/py-django_statici18n/pkg-descr
@@ -0,0 +1,9 @@
+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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69929bf3.30cc4.4029a323>