From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 61BF31388C3 for ; Mon, 9 Nov 2015 13:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5634E07FE; Mon, 9 Nov 2015 13:27:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D41CE07FE for ; Mon, 9 Nov 2015 13:27:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A99033BF11 for ; Mon, 9 Nov 2015 13:27:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2489B23BE for ; Mon, 9 Nov 2015 11:49:58 +0000 (UTC) From: "Justin Lecher" 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 Lecher" Message-ID: <1447069781.b838d8b4627e1315910f23ef7be103a78f60ceaa.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-capturelog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild X-VCS-Directories: dev-python/pytest-capturelog/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: b838d8b4627e1315910f23ef7be103a78f60ceaa X-VCS-Branch: master Date: Mon, 9 Nov 2015 11:49: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-Archives-Salt: 1ed01953-fd74-4be3-a79b-37296ab84896 X-Archives-Hash: 175dede08852ec4f0c8bee12ae98a0cb commit: b838d8b4627e1315910f23ef7be103a78f60ceaa Author: Justin Lecher gentoo org> AuthorDate: Mon Nov 9 08:40:52 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Nov 9 11:49:41 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b838d8b4 dev-python/pytest-capturelog: Add tests Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild b/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild index f42847a..d6c626c 100644 --- a/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild +++ b/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild @@ -4,7 +4,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) inherit distutils-r1 @@ -15,6 +15,17 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="" +IUSE="test" RDEPEND="dev-python/py[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +# Not included +# https://bitbucket.org/memedough/pytest-capturelog/issues/5 +RESTRICT=test + +python_test() { + PYTEST_PLUGINS=${PN/-/_} py.test -v -v test_capturelog.py || die +}