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 11D6559CB2 for ; Mon, 18 Apr 2016 09:06:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94CAC21C07C; 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 C4DA421C036 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 EAC67340A60 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 5A36013FE 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.f40039cf95bcf42ce489ecf43da0ffedcaa07b06.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-testing/flask-testing-0.4.2.ebuild dev-python/flask-testing/metadata.xml X-VCS-Directories: dev-python/flask-testing/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: f40039cf95bcf42ce489ecf43da0ffedcaa07b06 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: 15f2d796-9d20-46e0-ac57-26790843e47d X-Archives-Hash: 4c5474f026926cac7d2595c3e23c67fb commit: f40039cf95bcf42ce489ecf43da0ffedcaa07b06 Author: Louis Sautier gmail com> AuthorDate: Sun Apr 17 18:29:36 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=f40039cf dev-python/flask-testing: add Python 3 support, fix tests and dependencies Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1293 Signed-off-by: Ian Delaney gentoo.org> dev-python/flask-testing/flask-testing-0.4.2.ebuild | 13 ++++++------- dev-python/flask-testing/metadata.xml | 2 ++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-python/flask-testing/flask-testing-0.4.2.ebuild b/dev-python/flask-testing/flask-testing-0.4.2.ebuild index c9c8d52..2584979 100644 --- a/dev-python/flask-testing/flask-testing-0.4.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.4.2.ebuild @@ -1,9 +1,9 @@ -# 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 ) +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) inherit distutils-r1 @@ -20,18 +20,17 @@ KEYWORDS="amd64 x86" IUSE="test" RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - dev-python/twill[${PYTHON_USEDEP}]" + $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' python2_7)" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( + ${RDEPEND} dev-python/blinker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PV}-test-fix.patch ) python_test() { - # test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy - nosetests || die "Testing failed with ${EPYTHON}" + esetup.py test } diff --git a/dev-python/flask-testing/metadata.xml b/dev-python/flask-testing/metadata.xml index d2f55a2..186145b 100644 --- a/dev-python/flask-testing/metadata.xml +++ b/dev-python/flask-testing/metadata.xml @@ -7,5 +7,7 @@ Flask-Testing + jarus/flask-testing + https://github.com/jarus/flask-testing/issues