1 |
commit: f11bfef6e9a2e6d01a42be507be96b3dbd89e265 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 11:17:30 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 11:18:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11bfef6 |
7 |
|
8 |
dev-python/pytest-describe: Bump to 1.0.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/719992 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/pytest-describe/Manifest | 1 + |
14 |
.../pytest-describe/pytest-describe-1.0.0.ebuild | 31 ++++++++++++++++++++++ |
15 |
2 files changed, 32 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytest-describe/Manifest b/dev-python/pytest-describe/Manifest |
18 |
index eda2cbd4f15..bdb57c92540 100644 |
19 |
--- a/dev-python/pytest-describe/Manifest |
20 |
+++ b/dev-python/pytest-describe/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pytest-describe-0.11.1.tar.gz 7226 BLAKE2B 5cbe722d1187fa67424e5c932eee7fc90335e6811d7493372515b44d4210d0de4b4d8f33f1583ac1ae400d91d9fb9795b2952a56fc6c2865ab450af279e45c09 SHA512 0634f17ca36f8fa346a6001338827d70dda410376660f370ba04b8857d37e009c5e33f06baee51d1c23a13094c88850668028f5d44a09c31b40baff0bfdaf1ef |
23 |
+DIST pytest-describe-1.0.0.tar.gz 8917 BLAKE2B 8608a00151273ebb22da6a297580295abbd64c7d9e90bfba9611eac3be64247be20ee43bb64ead1a3f74e65719112a94535506f4402cb7084802360609ab0173 SHA512 1cefa2911e598063b3b9dce381750d204c925cb0dde890b79745c8b4f1cf6d0349f85dc9eaf895000a6f15f45a84fb920f27c01b0af1959125fbe3716cbebbbc |
24 |
|
25 |
diff --git a/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..30f9e69afae |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Describe-style plugin for pytest" |
42 |
+HOMEPAGE="https://github.com/pytest-dev/pytest-describe |
43 |
+ https://pypi.org/project/pytest-describe" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+RDEPEND=">=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]" |
53 |
+BDEPEND=" |
54 |
+ test? ( ${RDEPEND} )" |
55 |
+ |
56 |
+python_test() { |
57 |
+ # We need to disable some plugins because tests don't like unexpected |
58 |
+ # output |
59 |
+ PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" pytest -vv || |
60 |
+ die "Tests failed under ${EPYTHON}" |
61 |
+} |