1 |
commit: d479a718c46e159fb2372b2e5ded09d94142e07a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 29 15:38:24 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 29 18:09:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d479a718 |
7 |
|
8 |
dev-python/pytest-subtests: Bump to 0.5.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-subtests/Manifest | 1 + |
13 |
.../pytest-subtests/pytest-subtests-0.5.0.ebuild | 36 ++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-subtests/Manifest b/dev-python/pytest-subtests/Manifest |
17 |
index b75f934bdec..474eb1eb9d5 100644 |
18 |
--- a/dev-python/pytest-subtests/Manifest |
19 |
+++ b/dev-python/pytest-subtests/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-subtests-0.4.0.tar.gz 9673 BLAKE2B 780fbbdc6d4ac88c87002ee14323a0dd1036ab3dadc14b79ef11982459c60635add77e97575521ba0bda61317582e090353b427d945eca7198e294eb3d895240 SHA512 00302f47d1699e053314b6b4eee7c84a04fe0f51f287e338374bbd518c7d245d839ea0f1ccf50d4f35c86138cf6ea36da26e67bf41295205fb38323f2ad89f89 |
22 |
+DIST pytest-subtests-0.5.0.tar.gz 9793 BLAKE2B c671eb14189c0fd34180a636592b20c9e2b4225c5faf3b702103164e60bdbac4c9644e464f1e0c783da3da1263f7b841ea7a4149bcbf1de23325a8ef3ce5c030 SHA512 e3d7e90c3ab66950eb80d25049bc6f6f75b08b3da5ce0de5f3fc55d6a176a8d1fdcb19a19f7d9d137aeadcc82b214550474f76d5611bc5592ca649ddd8257a2a |
23 |
|
24 |
diff --git a/dev-python/pytest-subtests/pytest-subtests-0.5.0.ebuild b/dev-python/pytest-subtests/pytest-subtests-0.5.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0182bfadbb1 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-subtests/pytest-subtests-0.5.0.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="unittest subTest() support and subtests fixture" |
39 |
+HOMEPAGE=" |
40 |
+ https://github.com/pytest-dev/pytest-subtests/ |
41 |
+ https://pypi.org/project/pytest-subtests/" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/pytest-dev/pytest-subtests/archive/refs/tags/${PV}.tar.gz |
44 |
+ -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/pytest-5.3.0[${PYTHON_USEDEP}] |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/typing-extensions |
54 |
+ ' python3_7 pypy3) |
55 |
+" |
56 |
+# pytest-xdist is used to test compatibility |
57 |
+BDEPEND=" |
58 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
59 |
+ test? ( |
60 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
61 |
+ )" |
62 |
+ |
63 |
+distutils_enable_tests --install pytest |
64 |
+ |
65 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |