summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-01-10 01:48:58 +0000
committerrodent <rodent@pkgsrc.org>2014-01-10 01:48:58 +0000
commit6517f8a3a10198024c93ccd18e155e9d6d4c3533 (patch)
tree279496cd93c5191202c0b26ecbcba222f12a5b28 /www
parent71950eb812a38c9530991079b09ae7662e816999 (diff)
downloadpkgsrc-6517f8a3a10198024c93ccd18e155e9d6d4c3533.tar.gz
Import py27-flask-babel-0.9 as www/py-flask-babel.
Flask-Babel is an extension to Flask that adds i18n and l10n support to any Flask application with the help of babel, pytz and speaklater. It has builtin support for date formatting with timezone support as well as a very simple and friendly interface to gettext translations.
Diffstat (limited to 'www')
-rw-r--r--www/py-flask-babel/DESCR4
-rw-r--r--www/py-flask-babel/Makefile25
-rw-r--r--www/py-flask-babel/PLIST13
-rw-r--r--www/py-flask-babel/distinfo5
4 files changed, 47 insertions, 0 deletions
diff --git a/www/py-flask-babel/DESCR b/www/py-flask-babel/DESCR
new file mode 100644
index 00000000000..65d9a614e97
--- /dev/null
+++ b/www/py-flask-babel/DESCR
@@ -0,0 +1,4 @@
+Flask-Babel is an extension to Flask that adds i18n and l10n support to any
+Flask application with the help of babel, pytz and speaklater. It has builtin
+support for date formatting with timezone support as well as a very simple and
+friendly interface to gettext translations.
diff --git a/www/py-flask-babel/Makefile b/www/py-flask-babel/Makefile
new file mode 100644
index 00000000000..72516c9ec31
--- /dev/null
+++ b/www/py-flask-babel/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2014/01/10 01:48:58 rodent Exp $
+#
+
+DISTNAME= Flask-Babel-0.9
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= www
+MASTER_SITES= https://pypi.python.org/packages/source/F/Flask-Babel/
+FETCH_USING= curl
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://github.com/mitsuhiko/flask-babel
+COMMENT= Adds i18n/l10n support to Flask applications
+LICENSE= modified-bsd
+
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= # none
+
+EGG_NAME= ${DISTNAME:S/-/_/1}
+
+DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.5:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-speaklater>=1.2:../../devel/py-speaklater
+DEPENDS+= ${PYPKGPREFIX}-babel>=1.0:../../devel/py-babel
+DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-flask-babel/PLIST b/www/py-flask-babel/PLIST
new file mode 100644
index 00000000000..31140ccb6f1
--- /dev/null
+++ b/www/py-flask-babel/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/10 01:48:58 rodent 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_babel/__init__.py
+${PYSITELIB}/flask_babel/__init__.pyc
+${PYSITELIB}/flask_babel/__init__.pyo
+${PYSITELIB}/flask_babel/_compat.py
+${PYSITELIB}/flask_babel/_compat.pyc
+${PYSITELIB}/flask_babel/_compat.pyo
diff --git a/www/py-flask-babel/distinfo b/www/py-flask-babel/distinfo
new file mode 100644
index 00000000000..0e32ec76f28
--- /dev/null
+++ b/www/py-flask-babel/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/10 01:48:58 rodent Exp $
+
+SHA1 (Flask-Babel-0.9.tar.gz) = 977d3b152f876e06c215f6bb72616b4ce138fa49
+RMD160 (Flask-Babel-0.9.tar.gz) = a08bb6e641702a648865a27c8606487718fd57a7
+Size (Flask-Babel-0.9.tar.gz) = 38881 bytes