From 445251ac818b3ded7203193f25753074534f4c98 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Sat, 16 Sep 2017 14:22:45 +0000 Subject: dev-python/flask-wtf: Bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-python/flask-wtf/Manifest | 1 + dev-python/flask-wtf/flask-wtf-0.14.2.ebuild | 54 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/flask-wtf/flask-wtf-0.14.2.ebuild (limited to 'dev-python/flask-wtf') diff --git a/dev-python/flask-wtf/Manifest b/dev-python/flask-wtf/Manifest index 5ae49b9997f5..a88128927aac 100644 --- a/dev-python/flask-wtf/Manifest +++ b/dev-python/flask-wtf/Manifest @@ -1,2 +1,3 @@ DIST Flask-WTF-0.10.3.tar.gz 247240 SHA256 40da66462df074c2a0fd209e6047972bc226125f6c484c8e367ea10e71ddd718 SHA512 c8cbc817afca7efbc2c0302c4fa3625874159c10e4664b502693acfa3ffcca34aee0a6f17528b45340f1e7f103f87ac72178f2ca4d589307bde12fe47ac5cf50 WHIRLPOOL 08b1b66813a558918ed3e9da8ae2d0db9947f11bf6fccb2ec6f8de1e359422d4431754e982a81a959129230aa39c70470bbad944451238f6c1136976286f303b DIST Flask-WTF-0.13.1.tar.gz 253341 SHA256 20a5d72271677722ba6834e9e3327af777e0f6a758a3010c892c362107398512 SHA512 ea85898688c16ee0b5dc54055ac0f19564c83b60a433c8fb4dfa27651f9f16b62e6c30ede0f8246a18c19c7b36dd17272210fd1a38f463efe71e12c058bd0f27 WHIRLPOOL 834e86bd54c83fa4e225929b4cf984c197cabffdbdcb440d738cfb338e7dd10521bbceb0516e37fe5049e15898ce84327d453138b1a59962863ce9a9a8d61158 +DIST Flask-WTF-0.14.2.tar.gz 254903 SHA256 5d14d55cfd35f613d99ee7cba0fc3fbbe63ba02f544d349158c14ca15561cc36 SHA512 9d4b4b24eb24827aeb524699e6720eab384c42901a102daddd9fdc6b8dbc8eebec8c9d31a1e9052c9af4d61bd08eef8ef9dc4cdc8d9b950ff5bdd0201db1dfde WHIRLPOOL 1863485f4b69f02c8f23c7a0e046816ed596eed55489ff21e9e85f4c3bd3044e87ce9efc60e2fb21bc8b1d30da9b36ae38ec6667c481e0f1015dc79b556669e8 diff --git a/dev-python/flask-wtf/flask-wtf-0.14.2.ebuild b/dev-python/flask-wtf/flask-wtf-0.14.2.ebuild new file mode 100644 index 000000000000..37fef397990e --- /dev/null +++ b/dev-python/flask-wtf/flask-wtf-0.14.2.ebuild @@ -0,0 +1,54 @@ +# 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-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 +} -- cgit v1.2.3-65-gdbad