From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 326EC59CB3 for ; Mon, 18 Apr 2016 09:06:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65CF621C036; Mon, 18 Apr 2016 09:06:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 734A621C011 for ; Mon, 18 Apr 2016 09:06:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86307340A51 for ; Mon, 18 Apr 2016 09:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 921161AE8 for ; Mon, 18 Apr 2016 09:06:31 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1460970366.734e78442c691ff86afaf9b8016a82816d9f2b2c.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-wtf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-wtf/flask-wtf-0.12.ebuild dev-python/flask-wtf/metadata.xml X-VCS-Directories: dev-python/flask-wtf/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 734e78442c691ff86afaf9b8016a82816d9f2b2c X-VCS-Branch: master Date: Mon, 18 Apr 2016 09:06:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b2d63bf4-78e6-459a-8b08-fd29e8b0aa2b X-Archives-Hash: 502e45d4cedc2df06980e55561e1fee1 commit: 734e78442c691ff86afaf9b8016a82816d9f2b2c Author: Louis Sautier gmail com> AuthorDate: Sun Apr 17 18:40:50 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Apr 18 09:06:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=734e7844 dev-python/flask-wtf: add python 3 support, fix tests, trim description Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1293 Signed-off-by: Ian Delaney gentoo.org> dev-python/flask-wtf/flask-wtf-0.12.ebuild | 17 ++++++++++------- dev-python/flask-wtf/metadata.xml | 5 +++++ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/dev-python/flask-wtf/flask-wtf-0.12.ebuild b/dev-python/flask-wtf/flask-wtf-0.12.ebuild index 94a4bb8..86c6da4 100644 --- a/dev-python/flask-wtf/flask-wtf-0.12.ebuild +++ b/dev-python/flask-wtf/flask-wtf-0.12.ebuild @@ -1,19 +1,16 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -PYTHON_COMPAT=( python2_7 pypy ) - -# silly captcha test trying to access things over the network -RESTRICT="test" +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, including CSRF, file upload and Recaptcha integration" +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" @@ -38,6 +35,12 @@ DEPEND="${RDEPEND} 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 } diff --git a/dev-python/flask-wtf/metadata.xml b/dev-python/flask-wtf/metadata.xml index 5b24bd5..39cf0b5 100644 --- a/dev-python/flask-wtf/metadata.xml +++ b/dev-python/flask-wtf/metadata.xml @@ -7,5 +7,10 @@ Flask-WTF + lepture/flask-wtf + https://github.com/lepture/flask-wtf + + Simple integration of Flask and WTForms, including CSRF, file upload and Recaptcha integration. +