From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26A55139694 for ; Tue, 4 Apr 2017 23:06:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FEBCE0CE1; Tue, 4 Apr 2017 23:06:12 +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 3D8A3E0CE1 for ; Tue, 4 Apr 2017 23:06:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 513C734168B for ; Tue, 4 Apr 2017 23:06:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3B3973DB for ; Tue, 4 Apr 2017 23:06:08 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1491347053.bd14a00c3a474a5c104adbb00ffdfeb6d32dc385.dolsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/future/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/future/future-0.16.0.ebuild X-VCS-Directories: dev-python/future/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: bd14a00c3a474a5c104adbb00ffdfeb6d32dc385 X-VCS-Branch: master Date: Tue, 4 Apr 2017 23:06:08 +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: 943aaff9-da33-4447-9a97-fb705579a13f X-Archives-Hash: 93f310b2a07d118b5d532c368ecba595 commit: bd14a00c3a474a5c104adbb00ffdfeb6d32dc385 Author: Brian Dolbec gentoo org> AuthorDate: Tue Apr 4 19:37:01 2017 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Tue Apr 4 23:04:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd14a00c dev-python/future: Add python-3.6, fix tests Change the tests to use py.test. esetup.py test had some strange cross python interactions causing test failures. Determined by: Manuel Rueg Package-Manager: Portage-2.3.5, Repoman-2.3.2_p30 dev-python/future/future-0.16.0.ebuild | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dev-python/future/future-0.16.0.ebuild b/dev-python/future/future-0.16.0.ebuild index db3e9a25611..2e0860cc850 100644 --- a/dev-python/future/future-0.16.0.ebuild +++ b/dev-python/future/future-0.16.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# 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} ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) inherit distutils-r1 @@ -14,8 +14,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~x86" -IUSE="" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" python_test() { - esetup.py test || die + py.test -v || die "Tests failed under ${EPYTHON}" }