1 |
commit: 728df4d2397f3e5ca325d5c90385b230afa89db2 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 01:41:54 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 01:41:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=728df4d2 |
7 |
|
8 |
dev-python/pytest-xdist: Initial version |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-python/pytest-xdist/Manifest | 1 + |
13 |
dev-python/pytest-xdist/metadata.xml | 8 ++++++ |
14 |
dev-python/pytest-xdist/pytest-xdist-1.13.1.ebuild | 33 ++++++++++++++++++++++ |
15 |
3 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..2a22275 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pytest-xdist/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pytest-xdist-1.13.1.tar.gz 110007 SHA256 4382d7a944c1e2b1dc17fee3fd3575495fb10236a3b6e95cc6955db04984bc3c SHA512 3bb295c0afbcb0f238bdd41dfd1a395f0ba16b8151643aecc25aae13ac7c58d36d26ff4bab197673a9679d1f3436acd05b5ff50107b3128e647de892a6d04e3f WHIRLPOOL 643b23c755eb43c7b6965e588b58547c9ef63d3c225cddb97868c659ab3234bc6bc204575bc48c7f18a498cb0e595b8550928ba92ec5945a936e959f773504b3 |
24 |
|
25 |
diff --git a/dev-python/pytest-xdist/metadata.xml b/dev-python/pytest-xdist/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..bfcb697 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytest-xdist/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer> |
35 |
+ <email>mrueg@g.o</email> |
36 |
+ <name>Manuel Rüger</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/dev-python/pytest-xdist/pytest-xdist-1.13.1.ebuild b/dev-python/pytest-xdist/pytest-xdist-1.13.1.ebuild |
41 |
new file mode 100644 |
42 |
index 0000000..1ac7b6a |
43 |
--- /dev/null |
44 |
+++ b/dev-python/pytest-xdist/pytest-xdist-1.13.1.ebuild |
45 |
@@ -0,0 +1,33 @@ |
46 |
+# Copyright 1999-2015 Gentoo Foundation |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+# $Id$ |
49 |
+ |
50 |
+EAPI=5 |
51 |
+PYTHON_COMPAT=(python{2_7,3_4}) |
52 |
+ |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="py.test plugin for distributed testing and loop-on-failing modes" |
56 |
+HOMEPAGE="https://bitbucket.org/pytest-dev/pytest-xdist" |
57 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64" |
62 |
+IUSE="test" |
63 |
+ |
64 |
+RDEPEND=">=dev-python/execnet-1.1[${PYTHON_USEDEP}] |
65 |
+ dev-python/py[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest[${PYTHON_USEDEP}]" |
67 |
+DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] |
68 |
+ test? ( ${RDEPEND} )" |
69 |
+ |
70 |
+RESTRICT="test" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ rm -r testing/__pycache__ testing/*.pyc || die |
74 |
+ distutils-r1_src_prepare |
75 |
+} |
76 |
+python_test() { |
77 |
+ py.test testing || die |
78 |
+} |