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 7B70213888F for ; Sun, 11 Oct 2015 11:25:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAEF821C055; Sun, 11 Oct 2015 11:25:22 +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 0F1E021C057 for ; Sun, 11 Oct 2015 11:25:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 488AE34069C for ; Sun, 11 Oct 2015 11:25:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4DB54E22 for ; Sun, 11 Oct 2015 11:25:12 +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: <1444562669.0490f04def6899404e33e2dbbd28787cab38330f.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testscenarios/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild X-VCS-Directories: dev-python/testscenarios/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 0490f04def6899404e33e2dbbd28787cab38330f X-VCS-Branch: master Date: Sun, 11 Oct 2015 11:25:12 +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: d2e77d9b-82a3-4f79-96b2-ebf4b16893d8 X-Archives-Hash: ef35045e4f40e34ecb5bbc9d82a99e31 commit: 0490f04def6899404e33e2dbbd28787cab38330f Author: Justin Lecher gentoo org> AuthorDate: Sun Oct 11 10:50:10 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Oct 11 11:24:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0490f04d dev-python/testscenarios: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> .../testscenarios/testscenarios-0.5.0-r1.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild new file mode 100644 index 0000000..f7be22f --- /dev/null +++ b/dev-python/testscenarios/testscenarios-0.5.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A pyunit extension for dependency injection" +HOMEPAGE="https://launchpad.net/testscenarios" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-python/testtools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.11[${PYTHON_USEDEP}]" + +python_prepare_all() { + # Remove a faulty file from tests, missing a required attribute + rm ${PN}/tests/test_testcase.py || die + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" -m unittest discover +}