diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pytest-capturelog | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pytest-capturelog')
-rw-r--r-- | dev-python/pytest-capturelog/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pytest-capturelog/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pytest-capturelog/Manifest b/dev-python/pytest-capturelog/Manifest new file mode 100644 index 000000000000..8fdfe8d4c881 --- /dev/null +++ b/dev-python/pytest-capturelog/Manifest @@ -0,0 +1,3 @@ +DIST pytest-capturelog-0.7.tar.gz 4293 BLAKE2B e0dca3e3983f92afc01a988b339062286187175035c23f042e3cee9b3962c09eb0224a6859830ba8812aa39ba1c2f8460d950fd1bcc0c5d60d3081fbc93161a5 SHA512 82567697be2c277f49633cee5c83733b3383b89e987729dc977f4ef3dd08a5ef55d507f5380ac08def7791157208459ee08d686cf532280c665e659938f03c22 +EBUILD pytest-capturelog-0.7.ebuild 896 BLAKE2B ba1472e7c64deb1fe1de29545711cef436ab8013f6361589a1115b81734dab19014897fc0f6cd91efac3526a38100a9e5e25b42876b053944de88f8fceeb441e SHA512 a62844d059dd140ba1defa806544008e1ba2f8db1c18cc553a14e01bd2ff89c5b6b59c835c73b8d4bf61f6f4c5066753a797caa48a4144ac7f29230b74368d65 +MISC metadata.xml 390 BLAKE2B 01e2feb9a06fa2d2a952ec1856e480645c0cadc14f34cf4d65897f9d3986d1ca7d27d6ef87402770904c46cb2265c085acd8cbae58c347eefe439e053eaf0c33 SHA512 c4f5af0f5e6ac325f47cced6f6032279bf9109d1581f18c051869cf7ef4526c38245c4b31335f6fb42851ec5ec8c52e2841aee044c25195142917a39000e7525 diff --git a/dev-python/pytest-capturelog/metadata.xml b/dev-python/pytest-capturelog/metadata.xml new file mode 100644 index 000000000000..81c84a630457 --- /dev/null +++ b/dev-python/pytest-capturelog/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">pytest-capturelog</remote-id> + <remote-id type="bitbucket">memedough/pytest-capturelog</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild b/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild new file mode 100644 index 000000000000..2245d6eeefd8 --- /dev/null +++ b/dev-python/pytest-capturelog/pytest-capturelog-0.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="py.test plugin to capture log messages" +HOMEPAGE="https://bitbucket.org/memedough/pytest-capturelog/overview" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd" +IUSE="test" + +COMMON_DEPEND="dev-python/py[${PYTHON_USEDEP}]" +DEPEND="${COMMON_DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="${COMMON_DEPEND} + !dev-python/pytest-catchlog" + +# Not included +# https://bitbucket.org/memedough/pytest-capturelog/issues/5 +RESTRICT=test + +python_test() { + PYTEST_PLUGINS=${PN/-/_} py.test -v -v test_capturelog.py || die +} |