1 |
commit: fc9c0547b768dde4e6cd35f14bd9b965e5a7a7aa |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon Aug 17 16:56:41 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 15 08:09:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9c0547 |
7 |
|
8 |
dev-python/pytest-ordering: move from ::guru |
9 |
|
10 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-python/pytest-ordering/Manifest | 1 + |
15 |
dev-python/pytest-ordering/metadata.xml | 17 +++++++++++ |
16 |
.../pytest-ordering/pytest-ordering-0.6.ebuild | 34 ++++++++++++++++++++++ |
17 |
3 files changed, 52 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/pytest-ordering/Manifest b/dev-python/pytest-ordering/Manifest |
20 |
new file mode 100644 |
21 |
index 00000000000..0036ecd18b9 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/pytest-ordering/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST pytest-ordering-0.6.tar.gz 11046 BLAKE2B 468ae5f04029b96ed3058b7f429aec0aaf96092453b229c3de5eab174702af2c1a9fe83171c68d282c4a144b3dd736daf9ed87b9e139a7bd175114f504049ebc SHA512 fd3aec83914f64d1295e1a1bf3fdc580c6824a749a1da8cebae275fef940d6ed6e5dcafad321d94f504a153e13e298b6544dc3c2db716a6b25d3148c2365fe15 |
26 |
|
27 |
diff --git a/dev-python/pytest-ordering/metadata.xml b/dev-python/pytest-ordering/metadata.xml |
28 |
new file mode 100644 |
29 |
index 00000000000..48b39a11911 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pytest-ordering/metadata.xml |
32 |
@@ -0,0 +1,17 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+ |
36 |
+<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>andrewammerlaan@××××××.net</email> |
39 |
+ <name>Andrew Ammerlaan</name> |
40 |
+ </maintainer> |
41 |
+ <maintainer type="project"> |
42 |
+ <email>proxy-maint@g.o</email> |
43 |
+ <name>Proxy Maintainers</name> |
44 |
+ </maintainer> |
45 |
+ <upstream> |
46 |
+ <remote-id type="github">https://github.com/ftobia/pytest-ordering</remote-id> |
47 |
+ <remote-id type="pypi">pytest-ordering</remote-id> |
48 |
+ </upstream> |
49 |
+</pkgmetadata> |
50 |
|
51 |
diff --git a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..a6fe80e2943 |
54 |
--- /dev/null |
55 |
+++ b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild |
56 |
@@ -0,0 +1,34 @@ |
57 |
+# Copyright 1999-2020 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
63 |
+ |
64 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
65 |
+ |
66 |
+inherit distutils-r1 |
67 |
+ |
68 |
+DESCRIPTION="pytest plugin to run your tests in a specific order" |
69 |
+HOMEPAGE=" |
70 |
+ https://github.com/ftobia/pytest-ordering |
71 |
+ https://pypi.org/project/pytest-ordering |
72 |
+" |
73 |
+SRC_URI="https://github.com/ftobia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
74 |
+ |
75 |
+LICENSE="MIT" |
76 |
+SLOT="0" |
77 |
+KEYWORDS="~amd64 ~x86" |
78 |
+ |
79 |
+DEPEND="test? ( dev-python/pytest-ordering[${PYTHON_USEDEP}] )" |
80 |
+ |
81 |
+distutils_enable_tests pytest |
82 |
+distutils_enable_sphinx docs/source |
83 |
+ |
84 |
+python_prepare_all() { |
85 |
+ # TypeError: `args` parameter expected to be a list or tuple of strings, got: '--markers' (type: <class 'str'>) |
86 |
+ sed -i -e 's:test_run_marker_registered:_&:' \ |
87 |
+ tests/test_ordering.py || die |
88 |
+ |
89 |
+ distutils-r1_python_prepare_all |
90 |
+} |