dev-python/iocapture: Initial import, test dep for argh

Package-Manager: portage-2.3.0_rc1
This commit is contained in:
Patrick Lauer
2016-06-12 17:24:01 +02:00
parent 848b462f18
commit 53c05903a6
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST iocapture-0.1.2.tar.gz 13114 SHA256 57056d1a99a9c584ae2bb23a1aa855292fd2bcc01a8a6ad5467d7ca2e739d31b SHA512 1205d13b107d83dcb45d5546038d8b0b5417a20a51149c405123111488c351ff81a447f10653cd3dd9ecc236e01a0fcceb6647091e38ff2fa34c69e0baff1567 WHIRLPOOL 808ca4412f7c024e1c272777fb1bb86c00d976c28bf0bd4966769b60c1153178f5cabdf61d4f1028b994249c2a84ba70c83ced838199aa13fc12019f6a58c86b

View File

@@ -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}"
}

View File

@@ -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>