From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1125055-garchives=archives.gentoo.org@lists.gentoo.org>
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 CD0AE138334
	for <garchives@archives.gentoo.org>; Sun, 24 Nov 2019 17:19:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EC2D8E0839;
	Sun, 24 Nov 2019 17:19:30 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D0F37E0839
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 17:19:30 +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 ECA1E34D2BF
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 17:19:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A1BD888
	for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 17:19:28 +0000 (UTC)
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" <bman@gentoo.org>
Message-ID: <1574615962.abe149946038cd4d9f27c9502a30bacda8751a36.bman@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/fs/fs-2.4.9.ebuild
X-VCS-Directories: dev-python/fs/
X-VCS-Committer: bman
X-VCS-Committer-Name: Aaron Bauman
X-VCS-Revision: abe149946038cd4d9f27c9502a30bacda8751a36
X-VCS-Branch: master
Date: Sun, 24 Nov 2019 17:19:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 08435e51-78ba-4c0f-8545-a218c4e89694
X-Archives-Hash: 157ad1618eea27d191dc181afe38f9af

commit:     abe149946038cd4d9f27c9502a30bacda8751a36
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 24 17:17:51 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Nov 24 17:19:22 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe14994

dev-python/fs: restrict tests for py2.7

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-python/fs/fs-2.4.9.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dev-python/fs/fs-2.4.9.ebuild b/dev-python/fs/fs-2.4.9.ebuild
index adf7a05eb3e..bf26e5723f5 100644
--- a/dev-python/fs/fs-2.4.9.ebuild
+++ b/dev-python/fs/fs-2.4.9.ebuild
@@ -18,6 +18,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
@@ -32,13 +33,15 @@ DEPEND="${RDEPEND}
 		dev-python/pyftpdlib[${PYTHON_USEDEP}]
 		dev-python/psutil[${PYTHON_USEDEP}]
 		dev-python/unittest2[${PYTHON_USEDEP}]
-		python_targets_python2_7? (
-			dev-python/backports-os[python_targets_python2_7]
-		)
-	)"
+	)
+"
 
 python_test() {
-	esetup.py test
+	# python2_7 tests require dev-python/typing which is
+	# now in stdlib so ignore tests. py2.7 is going away.
+	if python_is_python3; then
+		esetup.py test || die "tests failed"
+	fi
 }
 
 pkg_postinst() {