mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-python/pytest-catchlog: New package, ebuild written by me
Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
1
dev-python/pytest-catchlog/Manifest
Normal file
1
dev-python/pytest-catchlog/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pytest-catchlog-1.1.tar.gz 6540 SHA256 7ad18d77b93d70c4ea30ed4593b164be104efc50a9112a5733304a71f2cb1119 SHA512 7a272874f9fb4231a7b3a42742b752f0f9750fb861abfed0411bf8edae5ab3e67a0a33fe166e485d530a1ecf1834d131d3affcfc43a735fc5d28018ba155129a WHIRLPOOL cf04096c01176fc077c45ca26b5002e10cdc145e3d3ea83cc7594eb2cbaa3a7636ba661253b1a8e47e316407e672c5ee424df10d8026bc6adb2c04499d386d3f
|
||||
9
dev-python/pytest-catchlog/metadata.xml
Normal file
9
dev-python/pytest-catchlog/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-catchlog</remote-id>
|
||||
<remote-id type="github">eisensheng/pytest-catchlog</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
34
dev-python/pytest-catchlog/pytest-catchlog-1.1.ebuild
Normal file
34
dev-python/pytest-catchlog/pytest-catchlog-1.1.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2015 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} 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}.tar.gz"
|
||||
SRC_URI="https://github.com/eisensheng/pytest-catchlog/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
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}]
|
||||
)"
|
||||
|
||||
# Cannot figure out how to run them
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="${S}:${PYTONPATH}" \
|
||||
py.test -v -v -x || die
|
||||
}
|
||||
Reference in New Issue
Block a user