diff options
author | kleink <kleink@pkgsrc.org> | 2013-04-01 17:40:25 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 2013-04-01 17:40:25 +0000 |
commit | 945d6592b8bdf152c196dc971b8435eed2dc1815 (patch) | |
tree | e5c14580f70d8100c1c17f2fd4284b476d204354 /www | |
parent | d80485a87dc7bcb0900e8e3516b266d828bdf58f (diff) | |
download | pkgsrc-945d6592b8bdf152c196dc971b8435eed2dc1815.tar.gz |
Import Flask-BabelEx-0.8.1 as www/py-flask-babelex.
Flask-BabelEx adds i18n/l10n support to Flask applications with
the help of the Babel library.
This is fork of official Flask-Babel extension with following
features:
* It is possible to use multiple language catalogs in one Flask
application;
* Localization domains: your extension can package localization
file(s) and use them if necessary;
* Does not reload localizations for each request.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-flask-babelex/DESCR | 10 | ||||
-rw-r--r-- | www/py-flask-babelex/Makefile | 24 | ||||
-rw-r--r-- | www/py-flask-babelex/PLIST | 10 | ||||
-rw-r--r-- | www/py-flask-babelex/distinfo | 5 |
4 files changed, 49 insertions, 0 deletions
diff --git a/www/py-flask-babelex/DESCR b/www/py-flask-babelex/DESCR new file mode 100644 index 00000000000..454c3c54740 --- /dev/null +++ b/www/py-flask-babelex/DESCR @@ -0,0 +1,10 @@ +Flask-BabelEx adds i18n/l10n support to Flask applications with +the help of the Babel library. + +This is fork of official Flask-Babel extension with following +features: +* It is possible to use multiple language catalogs in one Flask + application; +* Localization domains: your extension can package localization + file(s) and use them if necessary; +* Does not reload localizations for each request. diff --git a/www/py-flask-babelex/Makefile b/www/py-flask-babelex/Makefile new file mode 100644 index 00000000000..294053ad9e4 --- /dev/null +++ b/www/py-flask-babelex/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2013/04/01 17:40:25 kleink Exp $ + +DISTNAME= Flask-BabelEx-0.8.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} +CATEGORIES= www python +MASTER_SITES= http://pypi.python.org/packages/source/F/Flask-BabelEx/ + +MAINTAINER= kleink@NetBSD.org +HOMEPAGE= https://github.com/mrjoes/flask-babelex/ +COMMENT= Adds i18n/l10n support to Flask applications +LICENSE= modified-bsd + +USE_LANGUAGES= # empty + +EGG_NAME= ${DISTNAME:S/-/_/} + +DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel +DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask +DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz +DEPENDS+= ${PYPKGPREFIX}-speaklater>=1.2:../../devel/py-speaklater +DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.5:../../textproc/py-jinja2 + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-flask-babelex/PLIST b/www/py-flask-babelex/PLIST new file mode 100644 index 00000000000..c1467208e8b --- /dev/null +++ b/www/py-flask-babelex/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2013/04/01 17:40:25 kleink Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/flask_babelex/__init__.py +${PYSITELIB}/flask_babelex/__init__.pyc +${PYSITELIB}/flask_babelex/__init__.pyo diff --git a/www/py-flask-babelex/distinfo b/www/py-flask-babelex/distinfo new file mode 100644 index 00000000000..0bbd54a9559 --- /dev/null +++ b/www/py-flask-babelex/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/04/01 17:40:25 kleink Exp $ + +SHA1 (Flask-BabelEx-0.8.1.tar.gz) = ee8416624dbf50fd08564619996cb506c20e728e +RMD160 (Flask-BabelEx-0.8.1.tar.gz) = f3de5954cb6e682cecee516744810833c43e0b18 +Size (Flask-BabelEx-0.8.1.tar.gz) = 46711 bytes |