1 |
commit: 1931c8854ec187c64d41387124d5fe9d5e7a2d63 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 13 16:03:00 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 19:45:34 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1931c885 |
7 |
|
8 |
dev-python/pytest-rerunfailures: initial import |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/pytest-rerunfailures/Manifest | 1 + |
13 |
dev-python/pytest-rerunfailures/metadata.xml | 11 ++++++++++ |
14 |
.../pytest-rerunfailures-2.1.0.ebuild | 25 ++++++++++++++++++++++ |
15 |
3 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000..0b93b39 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pytest-rerunfailures/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pytest-rerunfailures-2.1.0.tar.gz 7687 SHA256 e867cec5eabb20ed38e04b6b9c277e34b0603143ee315beab56296d8329fe3f2 SHA512 9c3da462df07f334dcab865bf7f828f75bc611c93dfeb2306a802f2e6ef973332ef502d97dc8d676e09330ad77c227bc6a20ae67ff31f1446a5fb1d608d638cc WHIRLPOOL d6712ef5815f47687cb23d44edb0bf3ce519f11924245f4f14a9803adefd0f021df6385cf371610f8c9d9d91a44eb1913093ee5cfc5fc01ae4847d8f13dd9cc4 |
24 |
|
25 |
diff --git a/dev-python/pytest-rerunfailures/metadata.xml b/dev-python/pytest-rerunfailures/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000..22f4da1 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytest-rerunfailures/metadata.xml |
30 |
@@ -0,0 +1,11 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ <name>Python</name> |
37 |
+ </maintainer> |
38 |
+ <upstream> |
39 |
+ <remote-id type="pypi">pytest-rerunfailures</remote-id> |
40 |
+ </upstream> |
41 |
+</pkgmetadata> |
42 |
|
43 |
diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-2.1.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-2.1.0.ebuild |
44 |
new file mode 100644 |
45 |
index 00000000..5ba6890 |
46 |
--- /dev/null |
47 |
+++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-2.1.0.ebuild |
48 |
@@ -0,0 +1,25 @@ |
49 |
+# Copyright 1999-2017 Gentoo Foundation |
50 |
+# Distributed under the terms of the GNU General Public License v2 |
51 |
+# $Id$ |
52 |
+ |
53 |
+EAPI=6 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
56 |
+ |
57 |
+inherit distutils-r1 |
58 |
+ |
59 |
+DESCRIPTION="py.test plugin to re-run tests to eliminate flaky failures" |
60 |
+HOMEPAGE="https://pypi.python.org/pypi/pytest-rerunfailures" |
61 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 |
+ |
63 |
+SLOT="0" |
64 |
+LICENSE="MPL-2.0" |
65 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
66 |
+IUSE="" |
67 |
+ |
68 |
+RDEPEND="dev-python/pytest" |
69 |
+DEPEND="${RDEPEND}" |
70 |
+ |
71 |
+python_test() { |
72 |
+ py.test -v || die |
73 |
+} |