From owner-svn-ports-head@freebsd.org Mon Dec 21 14:00:49 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECF47A4E778; Mon, 21 Dec 2015 14:00:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4A561E4E; Mon, 21 Dec 2015 14:00:48 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBLE0lGN068082; Mon, 21 Dec 2015 14:00:47 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBLE0lJs068078; Mon, 21 Dec 2015 14:00:47 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201512211400.tBLE0lJs068078@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Mon, 21 Dec 2015 14:00:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404101 - in head/www: . py-django-statici18n X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 14:00:49 -0000 Author: miwi Date: Mon Dec 21 14:00:47 2015 New Revision: 404101 URL: https://svnweb.freebsd.org/changeset/ports/404101 Log: 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 PR: 203935 Submitted by: Ultima Approved by: mat (mentor) Differential Revision: D4641 Added: head/www/py-django-statici18n/ head/www/py-django-statici18n/Makefile (contents, props changed) head/www/py-django-statici18n/distinfo (contents, props changed) head/www/py-django-statici18n/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Dec 21 13:44:26 2015 (r404100) +++ head/www/Makefile Mon Dec 21 14:00:47 2015 (r404101) @@ -1569,6 +1569,7 @@ SUBDIR += py-django-sekizai SUBDIR += py-django-signals-ahoy SUBDIR += py-django-simple-captcha + SUBDIR += py-django-statici18n SUBDIR += py-django-storages SUBDIR += py-django-subdomains SUBDIR += py-django-tables2 Added: head/www/py-django-statici18n/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-statici18n/Makefile Mon Dec 21 14:00:47 2015 (r404101) @@ -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 Added: head/www/py-django-statici18n/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-statici18n/distinfo Mon Dec 21 14:00:47 2015 (r404101) @@ -0,0 +1,2 @@ +SHA256 (django-statici18n-1.1.5.tar.gz) = f8d7b523da8fa635de8c359f6dbde9821e2e8e1a092d915786455ffd2533808b +SIZE (django-statici18n-1.1.5.tar.gz) = 8980 Added: head/www/py-django-statici18n/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-statici18n/pkg-descr Mon Dec 21 14:00:47 2015 (r404101) @@ -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