py-flash-babel: import version 2.0.0

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.
This commit is contained in:
Pierre Pronchery 2020-11-23 08:01:33 +01:00
parent a21516ad55
commit 871fb1bc05
5 changed files with 45 additions and 0 deletions

View File

@ -3439,6 +3439,7 @@ SUBDIR+= py-firehose
SUBDIR+= py-fitsarray
SUBDIR+= py-fix-yahoo-finance
SUBDIR+= py-fjd
SUBDIR+= py-flask-babel
SUBDIR+= py-flask-migrate
SUBDIR+= py-flask-pwa
SUBDIR+= py-flask-simplelogin

4
py-flask-babel/DESCR Normal file
View File

@ -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.

21
py-flask-babel/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.9 2018/12/14 08:52:22 adam Exp $
DISTNAME= Flask-Babel-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Babel/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/mitsuhiko/flask-babel
COMMENT= Adds i18n/l10n support to Flask applications
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-babel>=2.3:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.5:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

13
py-flask-babel/PLIST Normal file
View File

@ -0,0 +1,13 @@
@comment $NetBSD$
${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/speaklater.py
${PYSITELIB}/flask_babel/speaklater.pyc
${PYSITELIB}/flask_babel/speaklater.pyo

6
py-flask-babel/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2018/12/14 08:52:22 adam Exp $
SHA1 (Flask-Babel-2.0.0.tar.gz) = cfd1abc062de32df4f27c5aabb7cfb5aa6f21fcc
RMD160 (Flask-Babel-2.0.0.tar.gz) = d2ca71c9eb50e68dd0d6689184444bf9b8d6a1c4
SHA512 (Flask-Babel-2.0.0.tar.gz) = 2ad8f80b450db0cab7dd57f46158e7e653556d60869acdb3c2469d42dceca3fa97237cc960986655091c84a1a67a057d72ed510787ccb065d171e6f35764cb1d
Size (Flask-Babel-2.0.0.tar.gz) = 19588 bytes