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 15360139694 for ; Tue, 28 Feb 2017 12:54:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CEE1E0CCF; Tue, 28 Feb 2017 12:54:15 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49C04E0CCF for ; Tue, 28 Feb 2017 12:54:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77BDD341663 for ; Tue, 28 Feb 2017 12:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EA3A5785 for ; Tue, 28 Feb 2017 12:54:13 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1488286424.7f8afa355d54b7c5c3faf1a5332c7c94dc4db28a.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/iocapture/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/iocapture/iocapture-0.1.2-r1.ebuild X-VCS-Directories: dev-python/iocapture/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 7f8afa355d54b7c5c3faf1a5332c7c94dc4db28a X-VCS-Branch: master Date: Tue, 28 Feb 2017 12:54:13 +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: b8385773-b9db-4030-bfc0-3d30fffeb41b X-Archives-Hash: 2f3f15039cc30b7752b31f865ab86a20 commit: 7f8afa355d54b7c5c3faf1a5332c7c94dc4db28a Author: Andrey Grozin gentoo org> AuthorDate: Tue Feb 28 12:52:31 2017 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Tue Feb 28 12:53:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8afa35 dev-python/iocapture: python3_6 added Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/iocapture/iocapture-0.1.2-r1.ebuild | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/dev-python/iocapture/iocapture-0.1.2-r1.ebuild b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild new file mode 100644 index 0000000000..dfbf4f71c8 --- /dev/null +++ b/dev-python/iocapture/iocapture-0.1.2-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: 521a8c56754f34ba6918b8bc4426f0b679be2186 $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Capture stdout,stderr easily" +HOMEPAGE="https://pypi.python.org/pypi/iocapture/" +SRC_URI="https://github.com/oinume/iocapture/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +LICENSE="MIT" +IUSE="test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) + ${RDEPEND} + )" + +python_test() { + py.test || die "Tests fail with ${EPYTHON}" +}