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 253BA138350 for ; Wed, 25 Mar 2020 09:40:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66C39E0991; Wed, 25 Mar 2020 09:40:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 40905E0991 for ; Wed, 25 Mar 2020 09:40:02 +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 8EC0934F2D5 for ; Wed, 25 Mar 2020 09:40:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91F741A0 for ; Wed, 25 Mar 2020 09:39:58 +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: <1585129182.3b4a75d0a12e1056b200878914842fb11f27683e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/slimit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/slimit/slimit-0.8.1-r1.ebuild X-VCS-Directories: dev-python/slimit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3b4a75d0a12e1056b200878914842fb11f27683e X-VCS-Branch: master Date: Wed, 25 Mar 2020 09:39:58 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 429ffcc3-d27e-4bd5-bf92-c9e5bf2eddd1 X-Archives-Hash: f6a4579490f12704fbe7dc88bd458cbb commit: 3b4a75d0a12e1056b200878914842fb11f27683e Author: Michał Górny gentoo org> AuthorDate: Wed Mar 25 08:50:30 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Mar 25 09:39:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4a75d0 dev-python/slimit: Call pytest directly Signed-off-by: Michał Górny gentoo.org> dev-python/slimit/slimit-0.8.1-r1.ebuild | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dev-python/slimit/slimit-0.8.1-r1.ebuild b/dev-python/slimit/slimit-0.8.1-r1.ebuild index ca7d58331ce..b5af60f3920 100644 --- a/dev-python/slimit/slimit-0.8.1-r1.ebuild +++ b/dev-python/slimit/slimit-0.8.1-r1.ebuild @@ -15,18 +15,13 @@ SRC_URI="https://github.com/rspivak/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-runner[${PYTHON_USEDEP}] - )" PATCHES=( "${FILESDIR}/${P}-fix-python3.patch" ) +distutils_enable_tests pytest + python_compile() { distutils-r1_python_compile @@ -39,5 +34,5 @@ python_compile() { } python_test() { - esetup.py pytest --addopts "${BUILD_DIR}" || die "Testing failed with ${EPYTHON}" + pytest -vv "${BUILD_DIR}" || die "Tests failed with ${EPYTHON}" }