1 |
commit: 9df1bc51d536d8257ec42cf2649b2b7e8511e891 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 6 20:00:44 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 6 20:14:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df1bc51 |
7 |
|
8 |
dev-python/flexmock: add 0.11.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/flexmock/Manifest | 1 + |
13 |
dev-python/flexmock/flexmock-0.11.2.ebuild | 31 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flexmock/Manifest b/dev-python/flexmock/Manifest |
17 |
index 4f8612d4df04..4f416d984ee8 100644 |
18 |
--- a/dev-python/flexmock/Manifest |
19 |
+++ b/dev-python/flexmock/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flexmock-0.11.1.tar.gz 48331 BLAKE2B b4a670530050098706133d531f162516163e8bed5fe867277d8d729c3afbd21747d53f17e8cd0f2f087550137c864aa8ac912cb404103426e3fdb17e98d79645 SHA512 6b5ce669e29dc24313e94b0c0c24d75e25c99343c33d787987c6707532598fb0d28df751148a4f7183d4bbdb54822c07d88ded394358545fe8d822564e1408e6 |
22 |
+DIST flexmock-0.11.2.tar.gz 51330 BLAKE2B 3ebeea60c19a9234a362117009610802f10c68c55885ae9dd72c16b19af19fdfbf18634bbc56a80efb0c985f0c339bab234304088dc482b0ccf937c1d7c2fd0f SHA512 208876131155dd0febc9e6aad7a6e98082fccf52573758ac9280f9f767d81ece7af425c901a4a094b3eb56bd711219a55dcfc0d7747f9060b3ad6630c37e6618 |
23 |
|
24 |
diff --git a/dev-python/flexmock/flexmock-0.11.2.ebuild b/dev-python/flexmock/flexmock-0.11.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..db8b214775f5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flexmock/flexmock-0.11.2.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Testing library to create mocks, stubs and fakes" |
39 |
+HOMEPAGE="https://flexmock.readthedocs.io/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv" |
45 |
+ |
46 |
+distutils_enable_tests pytest |
47 |
+ |
48 |
+python_test() { |
49 |
+ local EPYTEST_IGNORE=( |
50 |
+ tests/test_teamcity.py |
51 |
+ tests/test_testtools.py |
52 |
+ tests/test_unittest.py |
53 |
+ ) |
54 |
+ epytest -p no:flaky |
55 |
+} |
56 |
+ |
57 |
+python_install_all() { |
58 |
+ distutils-r1_python_install_all |
59 |
+ dodoc -r docs |
60 |
+} |