1 |
commit: feb73daa200c85da922eb8fbbcc28c303ca9f595 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 25 23:07:03 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 23:30:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb73daa |
7 |
|
8 |
dev-python/testfixtures: Bump to 6.18.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/testfixtures/Manifest | 1 + |
13 |
dev-python/testfixtures/testfixtures-6.18.4.ebuild | 51 ++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/testfixtures/Manifest b/dev-python/testfixtures/Manifest |
17 |
index 6925357657c3..67558de479e1 100644 |
18 |
--- a/dev-python/testfixtures/Manifest |
19 |
+++ b/dev-python/testfixtures/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST testfixtures-6.18.3.tar.gz 122142 BLAKE2B 014cc2245d5fbe0d39310c8e2c21cd5f289d6ec7a6a561d055e86d4cd25b79f1aa535067746219e2382df2aeec050dfa24cdae674636d92ee61016fa9861e705 SHA512 e556e7cb28f122526ef19550b1e593b61f01923d0be53951344f917f89b3d4cae29e525ceda3d0290bc18c3641b509dd7236e7b55ae50da0157fe11ca9f04cca |
22 |
+DIST testfixtures-6.18.4.tar.gz 124910 BLAKE2B 8c19672903d3b6ba5139b95f1d060c0d71ae8891e8c190a8891fded6d79af3549a91809b73a114f69cf2b0de49740e49a9e38e44981addcd09d7b4c343ea3ced SHA512 2643ddfd7c4be7b514070e2df8e52479ad51f50a8b69507faf36d90bd92aa0201f1c3033eb00e644bac194601b0a9190c02727f18d899629ab09abfa3546ecd7 |
23 |
|
24 |
diff --git a/dev-python/testfixtures/testfixtures-6.18.4.ebuild b/dev-python/testfixtures/testfixtures-6.18.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..8755772cbbc7 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/testfixtures/testfixtures-6.18.4.ebuild |
29 |
@@ -0,0 +1,51 @@ |
30 |
+# Copyright 1999-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..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A collection of helpers and mock objects for unit tests and doc tests" |
41 |
+HOMEPAGE="https://pypi.org/project/testfixtures/ https://github.com/Simplistix/testfixtures" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="MIT" |
46 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
47 |
+ |
48 |
+BDEPEND=" |
49 |
+ test? ( |
50 |
+ $(python_gen_impl_dep sqlite) |
51 |
+ dev-python/django[${PYTHON_USEDEP}] |
52 |
+ dev-python/pytest-django[${PYTHON_USEDEP}] |
53 |
+ dev-python/sybil[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/twisted-18[${PYTHON_USEDEP}] |
55 |
+ dev-python/zope-component[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+ |
59 |
+distutils_enable_sphinx docs |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ # kill weird way of declaring build deps |
64 |
+ sed -e '/build=/d' -i setup.py || die |
65 |
+ |
66 |
+ distutils-r1_python_prepare_all |
67 |
+} |
68 |
+ |
69 |
+python_test() { |
70 |
+ local -x PYTHONPATH="." |
71 |
+ local -x DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings |
72 |
+ |
73 |
+ local EPYTEST_DESELECT=( |
74 |
+ # TODO |
75 |
+ testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_missing |
76 |
+ testfixtures/tests/test_shouldwarn.py::ShouldWarnTests::test_filter_present |
77 |
+ ) |
78 |
+ |
79 |
+ epytest |
80 |
+} |