1 |
commit: c7ddf66e2865bb5d3da6d49398801c8e589b63e8 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 8 05:04:38 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 8 05:08:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7ddf66e |
7 |
|
8 |
dev-python/pytest-relaxed: initial import, new test dep for paramiko |
9 |
|
10 |
dev-python/pytest-relaxed/Manifest | 1 + |
11 |
dev-python/pytest-relaxed/metadata.xml | 12 +++++++++ |
12 |
.../pytest-relaxed/pytest-relaxed-1.1.0.ebuild | 31 ++++++++++++++++++++++ |
13 |
3 files changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pytest-relaxed/Manifest b/dev-python/pytest-relaxed/Manifest |
16 |
new file mode 100644 |
17 |
index 00000000000..0faad2d9e9a |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pytest-relaxed/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST pytest-relaxed-1.1.0.tar.gz 25942 BLAKE2B 6dd34044ec3ae0b5c85f0a76102aaeafe3dad8748c0cf34666dd3550162a2968191efb8415467259a4f072905af062aeabaaaeb475ab68d47aa8d79e3cadd3d0 SHA512 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff |
22 |
|
23 |
diff --git a/dev-python/pytest-relaxed/metadata.xml b/dev-python/pytest-relaxed/metadata.xml |
24 |
new file mode 100644 |
25 |
index 00000000000..2d23528854f |
26 |
--- /dev/null |
27 |
+++ b/dev-python/pytest-relaxed/metadata.xml |
28 |
@@ -0,0 +1,12 @@ |
29 |
+<?xml version="1.0" encoding="UTF-8"?> |
30 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
31 |
+<pkgmetadata> |
32 |
+ <maintainer type="project"> |
33 |
+ <email>python@g.o</email> |
34 |
+ <name>Python</name> |
35 |
+ </maintainer> |
36 |
+ <upstream> |
37 |
+ <remote-id type="pypi">pytest-relaxed</remote-id> |
38 |
+ <remote-id type="github">bitprophet/pytest-relaxed</remote-id> |
39 |
+ </upstream> |
40 |
+</pkgmetadata> |
41 |
|
42 |
diff --git a/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild |
43 |
new file mode 100644 |
44 |
index 00000000000..5264bf4fb7f |
45 |
--- /dev/null |
46 |
+++ b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild |
47 |
@@ -0,0 +1,31 @@ |
48 |
+# Copyright 1999-2018 Gentoo Foundation |
49 |
+# Distributed under the terms of the GNU General Public License v2 |
50 |
+ |
51 |
+EAPI=6 |
52 |
+ |
53 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
54 |
+ |
55 |
+inherit distutils-r1 |
56 |
+ |
57 |
+DESCRIPTION="py.test plugin for relaxed test discovery and organization" |
58 |
+HOMEPAGE="https://pypi.python.org/pypi/pytest-relaxed https://github.com/bitprophet/pytest-relaxed" |
59 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
60 |
+ |
61 |
+SLOT="0" |
62 |
+LICENSE="BSD-2" |
63 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
64 |
+IUSE="test" |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ >=dev-python/pytest-3[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/six-1[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/decorator-4[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+DEPEND="test? ( ${RDEPEND} )" |
72 |
+ |
73 |
+# various misc failures |
74 |
+RESTRICT="test" |
75 |
+ |
76 |
+python_test() { |
77 |
+ py.test || die "tests failed with ${EPYTHON}" |
78 |
+} |