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 CD0D913888F for ; Thu, 15 Oct 2015 08:18:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64277E07AE; Thu, 15 Oct 2015 08:18:29 +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 C84DDE07AE for ; Thu, 15 Oct 2015 08:18:28 +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 83AD7340AC8 for ; Thu, 15 Oct 2015 08:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 770B3922 for ; Thu, 15 Oct 2015 08:18:24 +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: <1444897102.eaefe8a11c1909c58ad2b6bfd35c743f44633b42.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/capturer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/capturer/Manifest dev-python/capturer/capturer-2.1.ebuild dev-python/capturer/metadata.xml X-VCS-Directories: dev-python/capturer/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: eaefe8a11c1909c58ad2b6bfd35c743f44633b42 X-VCS-Branch: master Date: Thu, 15 Oct 2015 08:18:24 +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: fac3ce57-4fca-4d7b-af76-550e32a81ecc X-Archives-Hash: 610c2739bc386647a317e3c25b5e1a42 commit: eaefe8a11c1909c58ad2b6bfd35c743f44633b42 Author: Justin Lecher gentoo org> AuthorDate: Thu Oct 15 06:43:10 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Oct 15 08:18:22 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaefe8a1 dev-python/capturer: New package, ebuild written by me Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/capturer/Manifest | 1 + dev-python/capturer/capturer-2.1.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-python/capturer/metadata.xml | 13 +++++++++++++ 3 files changed, 46 insertions(+) diff --git a/dev-python/capturer/Manifest b/dev-python/capturer/Manifest new file mode 100644 index 0000000..a4a8ea3 --- /dev/null +++ b/dev-python/capturer/Manifest @@ -0,0 +1 @@ +DIST capturer-2.1.tar.gz 17380 SHA256 6837c34651d50615e20281a1cc73a2b363bb7b7c9451003d08ea481a58a6bbb8 SHA512 30325a4908b63cdc63439fe2dab360f37db1f335d44ba10cf03294513cf2ffd6688843659d16b6c96bca44440fbbf607b8b20c5031ee99b8973a26460e37ff72 WHIRLPOOL 47a3f37e200c4c7100baba4acc0dd3bf443e634b4d85d25e50e09a7db28477966a0247c85e0365d0b53d74c5247d4d0fcfc455ca77e5d0c743f410e61d6c588f diff --git a/dev-python/capturer/capturer-2.1.ebuild b/dev-python/capturer/capturer-2.1.ebuild new file mode 100644 index 0000000..46af8fc --- /dev/null +++ b/dev-python/capturer/capturer-2.1.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} ) + +inherit distutils-r1 + +DESCRIPTION="Easily capture stdout/stderr of the current process and subprocesses" +HOMEPAGE="https://capturer.readthedocs.org/ https://pypi.python.org/pypi/capturer https://github.com/xolox/python-capturer" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +# Test fails only ebuild, but works manually +# Can't find out what it is +RESTRICT=test + +python_test() { + esetup.py test +} diff --git a/dev-python/capturer/metadata.xml b/dev-python/capturer/metadata.xml new file mode 100644 index 0000000..6d57e9c --- /dev/null +++ b/dev-python/capturer/metadata.xml @@ -0,0 +1,13 @@ + + + + python + + jlec@gentoo.org + Justin Lecher + + + coloredlogs + xolox/python-coloredlogs + +