diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2015-12-21 14:00:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2015-12-21 14:00:47 +0000 |
commit | 695cfc1f26bd82ec8d35805f5be8bc4111182049 (patch) | |
tree | 4c95c95f362477b0d7c590f230a6096c74261af6 /www/py-django-statici18n | |
parent | 2ac385ec2049c12bc305c762a7eb01bad82e509f (diff) | |
download | ports-695cfc1f26bd82ec8d35805f5be8bc4111182049.tar.gz ports-695cfc1f26bd82ec8d35805f5be8bc4111182049.zip |
Notes
Diffstat (limited to 'www/py-django-statici18n')
-rw-r--r-- | www/py-django-statici18n/Makefile | 22 | ||||
-rw-r--r-- | www/py-django-statici18n/distinfo | 2 | ||||
-rw-r--r-- | www/py-django-statici18n/pkg-descr | 11 |
3 files changed, 35 insertions, 0 deletions
diff --git a/www/py-django-statici18n/Makefile b/www/py-django-statici18n/Makefile new file mode 100644 index 000000000000..a3b29493efce --- /dev/null +++ b/www/py-django-statici18n/Makefile @@ -0,0 +1,22 @@ +# Created by: Ultima +# $FreeBSD$ + +PORTNAME= django-statici18n +PORTVERSION= 1.1.5 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ultima1252@gmail.com +COMMENT= Helper for generating Javascript catalog to static files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django<=18:${PORTSDIR}/www/py-django \ + ${PYTHON_PKGNAMEPREFIX}django-appconf>=0.6:${PORTSDIR}/www/py-django-appconf + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/www/py-django-statici18n/distinfo b/www/py-django-statici18n/distinfo new file mode 100644 index 000000000000..875e47e5bde1 --- /dev/null +++ b/www/py-django-statici18n/distinfo @@ -0,0 +1,2 @@ +SHA256 (django-statici18n-1.1.5.tar.gz) = f8d7b523da8fa635de8c359f6dbde9821e2e8e1a092d915786455ffd2533808b +SIZE (django-statici18n-1.1.5.tar.gz) = 8980 diff --git a/www/py-django-statici18n/pkg-descr b/www/py-django-statici18n/pkg-descr new file mode 100644 index 000000000000..375b86a04ecc --- /dev/null +++ b/www/py-django-statici18n/pkg-descr @@ -0,0 +1,11 @@ +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. + +WWW: https://github.com/zyegfryed/django-statici18n |