1 |
commit: d7f8b6660e716203546f7162d817dd6e021218e0 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 5 08:13:45 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 5 08:22:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7f8b666 |
7 |
|
8 |
dev-python/pytest-bdd: add 6.0.0 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-bdd/Manifest | 1 + |
13 |
dev-python/pytest-bdd/pytest-bdd-6.0.0.ebuild | 40 +++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest |
17 |
index 1383b79992bf..9d240d95d458 100644 |
18 |
--- a/dev-python/pytest-bdd/Manifest |
19 |
+++ b/dev-python/pytest-bdd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-bdd-5.0.0.gh.tar.gz 61174 BLAKE2B 6dd1d53614226d3515b0f61f71822363b559aa45789bab7f3416c75e603e87a1fe48627f36862f44bfa7ac6ec5023ad8afde6054ec67fc9a2e756be7de729fd1 SHA512 827e57d410b05207b6c646062ddb54b677e22441311820d3bd406df202b6e9344dedf59cd4868e89cfbf8606fe3f15559e4cc3958d100e4fa74f9b864e6faada |
22 |
+DIST pytest-bdd-6.0.0.gh.tar.gz 60475 BLAKE2B 48d09d5f5a4f274a27239a33f354aa52b1ebafc904ddc1dbb331d830f8cfabe0ba748d1fe6dadaf32f5b4848e1761d2dea1a06ac5b9d5f0c0e15e3248586cf42 SHA512 5223190a1b1d80761059cc34893b64eeca6c4d35b3a81aed186b5d1b4214ac67660cfa6cd39e1953a445c8ca7ceea74cb32b224435193febad35433c2eaf3266 |
23 |
|
24 |
diff --git a/dev-python/pytest-bdd/pytest-bdd-6.0.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-6.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..2e99002d0b45 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-bdd/pytest-bdd-6.0.0.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="BDD library for the pytest runner" |
40 |
+HOMEPAGE="https://pypi.org/project/pytest-bdd/" |
41 |
+SRC_URI="https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/glob2[${PYTHON_USEDEP}] |
49 |
+ dev-python/mako[${PYTHON_USEDEP}] |
50 |
+ dev-python/parse[${PYTHON_USEDEP}] |
51 |
+ dev-python/parse_type[${PYTHON_USEDEP}] |
52 |
+ dev-python/py[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytest[${PYTHON_USEDEP}]" |
54 |
+BDEPEND="test? ( dev-python/packaging[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+DOCS=( AUTHORS.rst CHANGES.rst README.rst ) |
59 |
+ |
60 |
+src_test() { |
61 |
+ # terminal_reporter test needs exact wrapping |
62 |
+ local -x COLUMNS=80 |
63 |
+ |
64 |
+ # hooks output parsing may be affected by other pytest-*, e.g. tornasync |
65 |
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
66 |
+ local -x PYTEST_PLUGINS=pytest_bdd.plugin |
67 |
+ |
68 |
+ distutils-r1_src_test |
69 |
+} |