summaryrefslogtreecommitdiff
path: root/dev-python/pytest-catchlog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pytest-catchlog
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pytest-catchlog')
-rw-r--r--dev-python/pytest-catchlog/Manifest4
-rw-r--r--dev-python/pytest-catchlog/metadata.xml12
-rw-r--r--dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild28
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pytest-catchlog/Manifest b/dev-python/pytest-catchlog/Manifest
new file mode 100644
index 000000000000..9aea26f2e22f
--- /dev/null
+++ b/dev-python/pytest-catchlog/Manifest
@@ -0,0 +1,4 @@
+DIST pytest-catchlog-1.2.2.zip 18028 SHA256 4be15dc5ac1750f83960897f591453040dff044b5966fe24a91c2f7d04ecfcf0 SHA512 bbeeb7213898844a7956712992ddaca1e28c52fc5712339b9730f181a124af5ec90b5460981066638658246da4321840a7583ee14eec7c0482e069e2a824d031 WHIRLPOOL 522f34a6f54f15d1cf1380508517c50f9892553ae8b134c91a399f90c4534762fe88e4b3f7a5608fabf54aee1d53a4eb1e5e5473549bbafe772ba878f4116189
+EBUILD pytest-catchlog-1.2.2.ebuild 726 SHA256 a457722c530d79fcd4fadff3a0093138257e4d30d4ff55536d9ed4b37eaa3072 SHA512 9bd9dc78adb299480d5c37cadb9c6ff439cb1b28f585275467b499b39e78ca12e8d2759bb79e1658127640e6da2bbe976f7aa4c6b237f222924c36715627e4aa WHIRLPOOL 880641748d3e24404ba10467d3ccafaaf09f42af870cf18da0c5ad07261d25aac2299598314962663c7baad6c0dfb2e561c9a686898a84e02f6e1e5b98e1fd81
+MISC ChangeLog 1820 SHA256 dde2d5ee47e26d5eee719a759d8ab78b00f40b777ee6ff90c5be4755d290570b SHA512 ddc576ef75f2f05535a5c8108d60229ed74407ef2369015a5b8e0dead2bdf2c8a68d1a5e465ea73dcb53a5f97be7c6b40f983cb315d8f92deda9909171929c2b WHIRLPOOL fc5d0469efad52530932b859adf89cd079964398657a6157ec9d5dcfa6b5e22679c413c69c8639cc1b2f9d2efbc339ef637a2afb9bec5e521df2bd23679d5552
+MISC metadata.xml 384 SHA256 a244574d516bf72be41421a45e7230126bb945d6de9a7c5933ba7942d2417fe5 SHA512 2a49b6a72107bd42dbb524a060c14a2dafc1172ea5d21427f22589f43f7cf728e0b3d843f59c962bcd8c6a072663ab842606d13827ff9803d1a016da5c09f741 WHIRLPOOL fbb95baff53f5f4f0542e9d01fe704ffbe655a21b7e86f07d2eb37bbf0e25006537e4b35deccf6081847c9dd111eac0e1c40ba1d2901ba6cbc40b2c846edce9f
diff --git a/dev-python/pytest-catchlog/metadata.xml b/dev-python/pytest-catchlog/metadata.xml
new file mode 100644
index 000000000000..ebb00878d434
--- /dev/null
+++ b/dev-python/pytest-catchlog/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-catchlog</remote-id>
+ <remote-id type="github">eisensheng/pytest-catchlog</remote-id>
+ </upstream>
+</pkgmetadata>
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..b2170e329858
--- /dev/null
+++ b/dev-python/pytest-catchlog/pytest-catchlog-1.2.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin to catch log messages, fork of pytest-capturelog"
+HOMEPAGE="https://pypi.python.org/pypi/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"
+
+RDEPEND=">=dev-python/py-1.1.1[${PYTHON_USEDEP}]"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ >=dev-python/pytest-2.7.1[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ PYTEST_PLUGINS=${PN/-/_} py.test -v -v test_pytest_catchlog.py || die
+}