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 046A6138332 for ; Fri, 23 Feb 2018 23:37:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14844E0830; Fri, 23 Feb 2018 23:37:14 +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 E64D5E0830 for ; Fri, 23 Feb 2018 23:37:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 8AF7A335C38 for ; Fri, 23 Feb 2018 23:37:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BD2F239 for ; Fri, 23 Feb 2018 23:37:10 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1519429022.25d12e76367e2493f07906e4cbfd86bf7faa14fc.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cliapp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cliapp/cliapp-1.20170823.ebuild X-VCS-Directories: dev-python/cliapp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 25d12e76367e2493f07906e4cbfd86bf7faa14fc X-VCS-Branch: master Date: Fri, 23 Feb 2018 23:37:10 +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: 5e6f0d23-36be-4f4e-8cac-d35c933ff7b9 X-Archives-Hash: 81166041d61a8aa85d031be1ed0fdc89 commit: 25d12e76367e2493f07906e4cbfd86bf7faa14fc Author: Michał Górny gentoo org> AuthorDate: Fri Feb 23 23:27:32 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 23 23:37:02 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d12e76 dev-python/cliapp: Fix running tests dev-python/cliapp/cliapp-1.20170823.ebuild | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dev-python/cliapp/cliapp-1.20170823.ebuild b/dev-python/cliapp/cliapp-1.20170823.ebuild index 6ca847d60c1..bea4d92c06f 100644 --- a/dev-python/cliapp/cliapp-1.20170823.ebuild +++ b/dev-python/cliapp/cliapp-1.20170823.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,10 +14,7 @@ SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/snapshot/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="test" - -# test deps not supporting python 3 -RESTRICT="test" +IUSE="" MY_DEPEND=" dev-python/pyyaml[${PYTHON_USEDEP}] @@ -25,8 +22,6 @@ MY_DEPEND=" DEPEND="${PYTHON_DEPS} ${MY_DEPEND}" -# test? ( >=dev-python/CoverageTestRunner-1.11 dev-python/pep8 ) -# " RDEPEND=" ${MY_DEPEND} @@ -38,5 +33,5 @@ src_test() { } python_test() { - ${PYTHON} -m CoverageTestRunner --ignore-missing-from=without-tests || die + "${EPYTHON}" -m unittest discover -v -p '*_tests.py' || die }