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 8188C139694 for ; Sat, 5 Aug 2017 20:56:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8874E0BE6; Sat, 5 Aug 2017 20:56:56 +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 7ED6BE0BE6 for ; Sat, 5 Aug 2017 20:56:56 +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 61156341726 for ; Sat, 5 Aug 2017 20:56:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E733775D5 for ; Sat, 5 Aug 2017 20:56:53 +0000 (UTC) From: "Justin Bronder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Bronder" Message-ID: <1501966572.461bae148b89b8b87907246d6136d622763cf36a.jsbronder@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sabyenc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sabyenc/sabyenc-3.0.2.ebuild X-VCS-Directories: dev-python/sabyenc/ X-VCS-Committer: jsbronder X-VCS-Committer-Name: Justin Bronder X-VCS-Revision: 461bae148b89b8b87907246d6136d622763cf36a X-VCS-Branch: master Date: Sat, 5 Aug 2017 20:56:53 +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: 5d1119c9-7acd-48c3-8f3f-a6e418a226bf X-Archives-Hash: 2d60e267c065daa8eea5e479da7f4260 commit: 461bae148b89b8b87907246d6136d622763cf36a Author: Justin Bronder gentoo org> AuthorDate: Sat Aug 5 20:56:12 2017 +0000 Commit: Justin Bronder gentoo org> CommitDate: Sat Aug 5 20:56:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=461bae14 dev-python/sabyenc: fix tests Fixes #623378 Package-Manager: Portage-2.3.5, Repoman-2.3.1 dev-python/sabyenc/sabyenc-3.0.2.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/sabyenc/sabyenc-3.0.2.ebuild b/dev-python/sabyenc/sabyenc-3.0.2.ebuild index 4122aa0122f..06578573af9 100644 --- a/dev-python/sabyenc/sabyenc-3.0.2.ebuild +++ b/dev-python/sabyenc/sabyenc-3.0.2.ebuild @@ -13,12 +13,15 @@ SRC_URI="https://github.com/sabnzbd/${PN}/tarball/v${PV} -> ${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="test" + +DEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" # Remove forced CFLAG on setup.py PATCHES=( "${FILESDIR}"/0001-remove-hardcoded-cflags.patch ) DOCS=( CHANGES.md README.md doc/yenc-draft.1.3.txt ) python_test() { - "${PYTHON}" test/test.py || die "Test failed." + pytest -v || die "Test failed." }