diff options
Diffstat (limited to 'dev-python/capturer')
-rw-r--r-- | dev-python/capturer/Manifest | 3 | ||||
-rw-r--r-- | dev-python/capturer/capturer-2.3.ebuild | 33 | ||||
-rw-r--r-- | dev-python/capturer/metadata.xml | 12 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/capturer/Manifest b/dev-python/capturer/Manifest new file mode 100644 index 000000000000..d24c425b7c97 --- /dev/null +++ b/dev-python/capturer/Manifest @@ -0,0 +1,3 @@ +DIST capturer-2.3.tar.gz 18380 BLAKE2B e51f7013715e1bcf83da6126804aa3c223fcfeb7c4f958038f123e19dcb807bb480d46ed17307ccc312b2d5873dc9f82ed90f7be7f01b7062ef81c11829c6698 SHA512 267c6238ab143894f3d74002334b99e3d1a59a3bf30f5ad04d6f1a81c9439b1369fe161859f86924280e3b9e47536e53a0a80045acda9ae471ded7d751e01470 +EBUILD capturer-2.3.ebuild 817 BLAKE2B 4a252fb87a7f190e28e97e340ffdcbc5d1508de9faf5865f55a862182cac6e7560d750e35fe0118912d22c0b1b815fcba540057da3ce578c9dfb99a385ba3bbe SHA512 1f1b2752772cdaba94a6c5af8a232d8f47e0b2312ccbcb04c6834d6d7b73126d5eebc36992bb1ca6450b594bb70fe8ca8bd6e24a4347d83879b7182c0b31dca7 +MISC metadata.xml 390 BLAKE2B 6f1ce9de711c22d533fd07fb56b62c6f30c78aea141f78b4946fd9400b6daaff70eec5334aad41b92ffc28829d9edb3f6ef1e2515ab5a18c7e139265043f8a98 SHA512 4df2d5312905b2be06239d81f2274ae4e6517f48d62ec54d5d755bb08cccaaece3531b391f45097590f039db10b8bcf6ff265a28506a0f8096f121fda85e498c diff --git a/dev-python/capturer/capturer-2.3.ebuild b/dev-python/capturer/capturer-2.3.ebuild new file mode 100644 index 000000000000..8a2d9f16e3a0 --- /dev/null +++ b/dev-python/capturer/capturer-2.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Easily capture stdout/stderr of the current process and subprocesses" +HOMEPAGE="https://capturer.readthedocs.org/ https://pypi.org/project/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=" + >=dev-python/humanfriendly-2.1[${PYTHON_USEDEP}] +" +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 000000000000..42593b5baca9 --- /dev/null +++ b/dev-python/capturer/metadata.xml @@ -0,0 +1,12 @@ +<?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">coloredlogs</remote-id> + <remote-id type="github">xolox/python-coloredlogs</remote-id> + </upstream> +</pkgmetadata> |