diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-10-20 19:02:50 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-10-20 19:02:50 +0200 |
commit | c439a2bf65d79f6172f8c8138b839519db059237 (patch) | |
tree | f4379ceeb07dbd5048a1d06c118f839ed23902c7 /dev-python/flask-wtf | |
parent | dev-python/frozen-flask: Bump (diff) | |
download | gentoo-c439a2bf65d79f6172f8c8138b839519db059237.tar.gz gentoo-c439a2bf65d79f6172f8c8138b839519db059237.tar.bz2 gentoo-c439a2bf65d79f6172f8c8138b839519db059237.zip |
dev-python/flask-wtf: Bump
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/flask-wtf')
-rw-r--r-- | dev-python/flask-wtf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-wtf/flask-wtf-0.13.1.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/flask-wtf/Manifest b/dev-python/flask-wtf/Manifest index b0cdc1f4f008..9c8efebc648f 100644 --- a/dev-python/flask-wtf/Manifest +++ b/dev-python/flask-wtf/Manifest @@ -2,3 +2,4 @@ DIST Flask-WTF-0.10.2.tar.gz 246659 SHA256 2926a265e6aa163a2102a8f058ad89acb9304 DIST Flask-WTF-0.10.3.tar.gz 247240 SHA256 40da66462df074c2a0fd209e6047972bc226125f6c484c8e367ea10e71ddd718 SHA512 c8cbc817afca7efbc2c0302c4fa3625874159c10e4664b502693acfa3ffcca34aee0a6f17528b45340f1e7f103f87ac72178f2ca4d589307bde12fe47ac5cf50 WHIRLPOOL 08b1b66813a558918ed3e9da8ae2d0db9947f11bf6fccb2ec6f8de1e359422d4431754e982a81a959129230aa39c70470bbad944451238f6c1136976286f303b DIST Flask-WTF-0.11.tar.gz 247005 SHA256 2f53a4b314ec26824d0b70f0766b7dd74c6df77bcf8b64de88e1354bc900874b SHA512 213188fd9fb199e4c52cf3e74f5e66846217b817ecf2ffe08ddb5c7cda2ab10a88e3c655364b64393137be1fd105c7d973f82cbd0eca0bfb28bfa3118f5bee15 WHIRLPOOL 559353d70a15e99b18aeb2a54b3c4e27bf5ef0afd870f71085a2dd7384f5b72cfaee9376f45c6280ce19099b3a59152621c8630c9330f5527a03299ae77ec6ce DIST Flask-WTF-0.12.tar.gz 247397 SHA256 bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e SHA512 d9861a4fa6ace46fb2a632ff51777bc30af9b63c4f2a35cbe4a68a2777468eb7b6e1813ce331472458c05ce7069f73d998b4e9d3fd9d6ef56fc3abf0bb219a9e WHIRLPOOL 4b044ab1ff2409468f1d1e21a79605432a817322784103cdbfb1708a745cab0f7b8d406607fa5fc594b311daadbcf7e23876fbc2021f2ce9e7d05f8c0852a77b +DIST Flask-WTF-0.13.1.tar.gz 253341 SHA256 20a5d72271677722ba6834e9e3327af777e0f6a758a3010c892c362107398512 SHA512 ea85898688c16ee0b5dc54055ac0f19564c83b60a433c8fb4dfa27651f9f16b62e6c30ede0f8246a18c19c7b36dd17272210fd1a38f463efe71e12c058bd0f27 WHIRLPOOL 834e86bd54c83fa4e225929b4cf984c197cabffdbdcb440d738cfb338e7dd10521bbceb0516e37fe5049e15898ce84327d453138b1a59962863ce9a9a8d61158 diff --git a/dev-python/flask-wtf/flask-wtf-0.13.1.ebuild b/dev-python/flask-wtf/flask-wtf-0.13.1.ebuild new file mode 100644 index 000000000000..86c6da4634cc --- /dev/null +++ b/dev-python/flask-wtf/flask-wtf-0.13.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-WTF" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Simple integration of Flask and WTForms" +HOMEPAGE="http://pythonhosted.org/Flask-WTF/ https://pypi.python.org/pypi/Flask-WTF" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}] + >=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/flask-testing[${PYTHON_USEDEP}] + dev-python/flask-uploads[${PYTHON_USEDEP}] + dev-python/speaklater[${PYTHON_USEDEP}] + dev-python/flask-babel[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/werkzeug[${PYTHON_USEDEP}]' python2_7 ) + )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # tries to access things over the network + rm tests/test_recaptcha.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + nosetests || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |