Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-bdd/
Date: Fri, 15 Oct 2021 15:53:42
Message-Id: 1634312632.17686fcf42f5d7bcfc9fc256431b5eb6b4367efc.ionen@gentoo
1 commit: 17686fcf42f5d7bcfc9fc256431b5eb6b4367efc
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 01:18:30 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 15 15:43:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17686fcf
7
8 dev-python/pytest-bdd: initial 4.1.0 import
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 dev-python/pytest-bdd/Manifest | 1 +
13 dev-python/pytest-bdd/metadata.xml | 13 +++++++++++
14 dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild | 32 +++++++++++++++++++++++++++
15 3 files changed, 46 insertions(+)
16
17 diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest
18 new file mode 100644
19 index 00000000000..6a2dda08483
20 --- /dev/null
21 +++ b/dev-python/pytest-bdd/Manifest
22 @@ -0,0 +1 @@
23 +DIST pytest-bdd-4.1.0.tar.gz 61079 BLAKE2B 3bf7863b7244e0fa02de48f3c8d113427c9a9d546d1a5d95dbc025bcdf0bd60931fac55d7328c96a3b29b8b15da833c85c089cee19ee4f8a2bc639dd1b3c4e59 SHA512 54ce5ae2f7b3deff7d436d42f80fc47892707eb1e6e76469dda9753ff0b2d727bb47b5be300eadccadd87838aee43130fec5dff6441353eb07c0787c84d55afa
24
25 diff --git a/dev-python/pytest-bdd/metadata.xml b/dev-python/pytest-bdd/metadata.xml
26 new file mode 100644
27 index 00000000000..e5bcfe84640
28 --- /dev/null
29 +++ b/dev-python/pytest-bdd/metadata.xml
30 @@ -0,0 +1,13 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>ionen@g.o</email>
36 + <name>Ionen Wolkens</name>
37 + </maintainer>
38 + <stabilize-allarches/>
39 + <upstream>
40 + <remote-id type="github">pytest-dev/pytest-bdd</remote-id>
41 + <remote-id type="pypi">pytest-bdd</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
46 new file mode 100644
47 index 00000000000..c61e3a82d36
48 --- /dev/null
49 +++ b/dev-python/pytest-bdd/pytest-bdd-4.1.0.ebuild
50 @@ -0,0 +1,32 @@
51 +# Copyright 2021 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +PYTHON_COMPAT=( python3_{8..10} )
57 +inherit distutils-r1
58 +
59 +DESCRIPTION="BDD library for the pytest runner"
60 +HOMEPAGE="https://pypi.org/project/pytest-bdd/"
61 +SRC_URI="https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
62 +
63 +LICENSE="MIT"
64 +SLOT="0"
65 +KEYWORDS="~amd64 ~x86"
66 +
67 +RDEPEND="
68 + dev-python/glob2[${PYTHON_USEDEP}]
69 + dev-python/mako[${PYTHON_USEDEP}]
70 + dev-python/parse[${PYTHON_USEDEP}]
71 + dev-python/parse_type[${PYTHON_USEDEP}]
72 + dev-python/py[${PYTHON_USEDEP}]"
73 +BDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
74 +
75 +distutils_enable_tests --install pytest
76 +
77 +DOCS=( AUTHORS.rst CHANGES.rst README.rst )
78 +
79 +EPYTEST_DESELECT=(
80 + # result varies depending on current output terminal width
81 + tests/feature/test_gherkin_terminal_reporter.py::test_verbose_mode_should_preserve_displaying_regular_tests_as_usual
82 +)