summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-12 17:24:01 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-12 19:17:27 +0200
commit53c05903a69beb5c3f1e2667ea5862ff150c7ece (patch)
treea0dc1c2848fce4aeb96c7a370ce0a18efca88034 /dev-python/iocapture
parentdev-python/zeroconf: Bump (diff)
downloadgentoo-53c05903a69beb5c3f1e2667ea5862ff150c7ece.tar.gz
gentoo-53c05903a69beb5c3f1e2667ea5862ff150c7ece.tar.bz2
gentoo-53c05903a69beb5c3f1e2667ea5862ff150c7ece.zip
dev-python/iocapture: Initial import, test dep for argh
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-python/iocapture')
-rw-r--r--dev-python/iocapture/Manifest1
-rw-r--r--dev-python/iocapture/iocapture-0.1.2.ebuild30
-rw-r--r--dev-python/iocapture/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/iocapture/Manifest b/dev-python/iocapture/Manifest
new file mode 100644
index 00000000000..d1e01fa4e2d
--- /dev/null
+++ b/dev-python/iocapture/Manifest
@@ -0,0 +1 @@
+DIST iocapture-0.1.2.tar.gz 13114 SHA256 57056d1a99a9c584ae2bb23a1aa855292fd2bcc01a8a6ad5467d7ca2e739d31b SHA512 1205d13b107d83dcb45d5546038d8b0b5417a20a51149c405123111488c351ff81a447f10653cd3dd9ecc236e01a0fcceb6647091e38ff2fa34c69e0baff1567 WHIRLPOOL 808ca4412f7c024e1c272777fb1bb86c00d976c28bf0bd4966769b60c1153178f5cabdf61d4f1028b994249c2a84ba70c83ced838199aa13fc12019f6a58c86b
diff --git a/dev-python/iocapture/iocapture-0.1.2.ebuild b/dev-python/iocapture/iocapture-0.1.2.ebuild
new file mode 100644
index 00000000000..05b83a6e04f
--- /dev/null
+++ b/dev-python/iocapture/iocapture-0.1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} 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}"
+}
diff --git a/dev-python/iocapture/metadata.xml b/dev-python/iocapture/metadata.xml
new file mode 100644
index 00000000000..959ac8fc032
--- /dev/null
+++ b/dev-python/iocapture/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">iocapture</remote-id>
+ </upstream>
+</pkgmetadata>