From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pytest-catchlog/Manifest | 1 + dev-python/pytest-catchlog/metadata.xml | 13 +++++++++ .../pytest-catchlog/pytest-catchlog-1.2.2.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/pytest-catchlog/Manifest create mode 100644 dev-python/pytest-catchlog/metadata.xml create mode 100644 dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild (limited to 'dev-python/pytest-catchlog') diff --git a/dev-python/pytest-catchlog/Manifest b/dev-python/pytest-catchlog/Manifest new file mode 100644 index 000000000000..907bbab5b20e --- /dev/null +++ b/dev-python/pytest-catchlog/Manifest @@ -0,0 +1 @@ +DIST pytest-catchlog-1.2.2.zip 18028 BLAKE2B aecc020f34010f20ada7a65b069b5f6de79de301dffd765a0f395127582a90e7913057332a760de38e20f273f0b1ff6dd5afb39f5b3ee1d1e2f2f1e4187eb252 SHA512 bbeeb7213898844a7956712992ddaca1e28c52fc5712339b9730f181a124af5ec90b5460981066638658246da4321840a7583ee14eec7c0482e069e2a824d031 diff --git a/dev-python/pytest-catchlog/metadata.xml b/dev-python/pytest-catchlog/metadata.xml new file mode 100644 index 000000000000..914300ba599d --- /dev/null +++ b/dev-python/pytest-catchlog/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + pytest-catchlog + eisensheng/pytest-catchlog + + gentoo-staging + diff --git a/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild b/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild new file mode 100644 index 000000000000..cd8bb7dd4e0d --- /dev/null +++ b/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="py.test plugin to catch log messages, fork of pytest-capturelog" +HOMEPAGE="https://pypi.org/project/pytest-catchlog/ https://github.com/eisensheng/pytest-catchlog" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=">=dev-python/py-1.1.1[${PYTHON_USEDEP}]" +DEPEND=" + test? ( + ${COMMON_DEPEND} + >=dev-python/pytest-2.7.1[${PYTHON_USEDEP}] + )" +RDEPEND="${COMMON_DEPEND} + !dev-python/pytest-capturelog" + +python_test() { + PYTEST_PLUGINS=${PN/-/_} py.test -v -v test_pytest_catchlog.py || die +} -- cgit v1.3