summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-09-16 14:21:39 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-09-16 14:23:02 +0000
commit70d0ee9283590c53407139d50de6d6a4ee1a6bf0 (patch)
treef4d6c0d22a510b86c9ecaf9ee1a22975f76f729e /dev-python/flask-babel
parentdev-python/flask-admin: Bump (diff)
downloadgentoo-70d0ee9283590c53407139d50de6d6a4ee1a6bf0.tar.gz
gentoo-70d0ee9283590c53407139d50de6d6a4ee1a6bf0.tar.bz2
gentoo-70d0ee9283590c53407139d50de6d6a4ee1a6bf0.zip
dev-python/flask-babel: Bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-python/flask-babel')
-rw-r--r--dev-python/flask-babel/Manifest1
-rw-r--r--dev-python/flask-babel/flask-babel-0.11.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/flask-babel/Manifest b/dev-python/flask-babel/Manifest
index b36083dce83b..514c8a8ce9b4 100644
--- a/dev-python/flask-babel/Manifest
+++ b/dev-python/flask-babel/Manifest
@@ -1,2 +1,3 @@
DIST Flask-Babel-0.11.1.tar.gz 40494 SHA256 d29b36c399e42e98bc9401c8c1c159f2befcb8c12a2a2a87ec49ad7623036899 SHA512 a70ab4c10d2e495121f8e050e2d6ed136a85b1030c90e540a7746c6e759a63f12940fe44b4551f221445839e972e298053e7778d3fcf1e4ecb7cd9a79699b19a WHIRLPOOL 57ac267da8fb9a0e4034f54b26a73d7b241a0c25705ee3f958b9f8784e5e39e8826279401e0a9423fdd0b02021eb921cdb0241237660a2c51255d122c2a5b9b0
+DIST Flask-Babel-0.11.2.tar.gz 41105 SHA256 c0d75710bd4b0fe866f9f2347de6e19208712f9cec006436b4c1c15d4cb0c939 SHA512 d95947983ff5bc33a28384f000512e85ed64c16555aa03e110a32b7c0c9e91eebc02259bfc69a0dbc84adb6ecf8155cffaecde5726658d64d36435060de3f22b WHIRLPOOL 4e1180bcb63712f90581f59c308920e136f17ee5b6d5aa82ed65ce961b98ea42983061ba6633f22fade7fe27a1e0903459c5dd14ed66739d6a4644103622429e
DIST Flask-Babel-0.9.tar.gz 38881 SHA256 4afd150f360434b00684ba7848358f7961072fd0658a6e81aaa578522699fb4c SHA512 c667c8a532332bb3dd0d694932d17f7f9b2b51f68151767624116853b2e71f2a6b4c47164d17a6f368b67a5cabce97495b18147655fb36aee5034c058d3b9a89 WHIRLPOOL 28309a4a27bfd0fbe30be52613ee9eef5110e3cc38e863c6de200cced579476870e01b92edaeb08fd29e0deabcaa13d14742d188960742d61cf8ba5384476cd1
diff --git a/dev-python/flask-babel/flask-babel-0.11.2.ebuild b/dev-python/flask-babel/flask-babel-0.11.2.ebuild
new file mode 100644
index 000000000000..39d1c874859f
--- /dev/null
+++ b/dev-python/flask-babel/flask-babel-0.11.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+
+inherit distutils-r1
+
+MY_PN="Flask-Babel"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz"
+HOMEPAGE="https://pythonhosted.org/Flask-Babel/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ >=dev-python/speaklater-1.2[${PYTHON_USEDEP}]
+ >=dev-python/jinja-2.5[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ nosetests || die "Tests failed under ${EPYTHON}"
+}