From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/
Date: Wed, 4 Nov 2015 14:15:19 +0000 (UTC) [thread overview]
Message-ID: <1446646515.9284e41dd85adc73c472aac4c4e8e8974def33ed.jlec@gentoo> (raw)
commit: 9284e41dd85adc73c472aac4c4e8e8974def33ed
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 4 13:19:12 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Nov 4 14:15:15 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9284e41d
dev-python/flaky: New package, ebuild written by me
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/flaky/Manifest | 1 +
dev-python/flaky/flaky-2.4.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++
dev-python/flaky/metadata.xml | 8 ++++++++
3 files changed, 48 insertions(+)
diff --git a/dev-python/flaky/Manifest b/dev-python/flaky/Manifest
new file mode 100644
index 0000000..1dbc211
--- /dev/null
+++ b/dev-python/flaky/Manifest
@@ -0,0 +1 @@
+DIST flaky-2.4.0.tar.gz 27157 SHA256 6446e186674db9d67be5e85857b6e98a68a6491d5d307447d9a1a6721aca9fad SHA512 e3f51dab94a2e2140714f15ae088113c2e5cb65f58d38d5ae20b91c567c207568403c1267edeaf9f0f8c6bec7b03ebb0c02178cca30f3dd3a16aa4d099ca8153 WHIRLPOOL 20571c64d46ebbb87173a0e6bc859473528270c179c7cde045fded2a98708034f95864a92c137596b936f78e21984ca17ec0670063c470f14d1ce6ce1213c70f
diff --git a/dev-python/flaky/flaky-2.4.0.ebuild b/dev-python/flaky/flaky-2.4.0.ebuild
new file mode 100644
index 0000000..c802137
--- /dev/null
+++ b/dev-python/flaky/flaky-2.4.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Plugin for nose or py.test that automatically reruns flaky tests"
+HOMEPAGE="https://pypi.python.org/pypi/flaky https://github.com/box/flaky"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/genty[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+# https://github.com/box/flaky/issues/72
+RESTRICT=test
+
+python_test() {
+ nosetests --with-flaky --exclude="pytest|test_nose_options_example" test/ || die
+ py.test -k 'example and not nose and not options' --doctest-modules test/·||·die
+ py.test -p no:flaky test/test_flaky_pytest_plugin.py·||·die
+ nosetests --with-flaky --force-flaky --max-runs 2 test/test_nose_options_example.py ·||·die
+ py.test --force-flaky --max-runs 2 test/test_pytest_options_example.py ||·die
+}
diff --git a/dev-python/flaky/metadata.xml b/dev-python/flaky/metadata.xml
new file mode 100644
index 0000000..c166166
--- /dev/null
+++ b/dev-python/flaky/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ <name>Justin Lecher</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2015-11-04 14:15 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 14:15 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-04 14:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/flaky/ Justin Lecher
2015-11-06 10:44 Justin Lecher
2016-01-07 8:56 Justin Lecher
2016-01-20 8:20 Justin Lecher
2016-02-18 18:14 Patrick Lauer
2016-07-18 9:56 Patrick Lauer
2016-11-25 18:27 Agostino Sarubbo
2016-11-25 18:54 Agostino Sarubbo
2016-11-27 13:51 Tobias Klausmann
2016-11-27 15:09 Tobias Klausmann
2016-12-06 19:35 Markus Meier
2017-01-21 11:48 Jeroen Roovers
2017-05-02 11:58 Michał Górny
2017-08-01 20:06 Michał Górny
2017-08-02 4:06 Sebastien Fabbro
2017-10-08 16:53 Tim Harder
2018-02-21 22:11 Michał Górny
2018-08-18 3:03 Mikle Kolyada
2018-11-19 21:15 Fabian Groffen
2019-02-27 4:39 Aaron Bauman
2019-04-09 1:32 Aaron Bauman
2019-11-15 23:51 Michał Górny
2019-11-15 23:51 Michał Górny
2019-12-02 21:13 Aaron Bauman
2019-12-15 11:38 Agostino Sarubbo
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 13:36 Sergei Trofimovich
2019-12-15 13:53 Agostino Sarubbo
2019-12-19 18:35 Sergei Trofimovich
2019-12-24 14:21 Mikle Kolyada
2020-01-26 17:21 Michał Górny
2020-05-25 19:48 Michał Górny
2020-07-10 6:30 Michał Górny
2020-09-08 19:11 Michał Górny
2020-09-08 22:46 Sam James
2020-09-18 14:48 Michał Górny
2020-09-20 15:38 Michał Górny
2020-10-16 18:22 Michał Górny
2020-11-28 15:26 Sam James
2021-05-06 18:45 Michał Górny
2022-05-10 10:07 Michał Górny
2022-05-10 10:07 Michał Górny
2022-06-10 3:09 Sam James
2022-06-10 6:54 Michał Górny
2022-12-25 9:43 Michał Górny
2023-02-01 13:18 Michał Górny
2023-03-03 17:37 Arthur Zamarin
2023-03-03 17:48 Michał Górny
2023-03-03 17:48 Michał Górny
2023-05-23 15:42 Michał Górny
2024-03-05 5:18 Michał Górny
2024-03-11 4:10 Michał Górny
2024-03-13 6:51 Michał Górny
2024-03-30 13:59 Michał Górny
2024-03-30 14:14 Michał Górny
2024-05-09 13:12 Michał Górny
2024-05-09 13:12 Michał Górny
2025-05-10 21:11 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446646515.9284e41dd85adc73c472aac4c4e8e8974def33ed.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox