1 |
commit: 1fa6ed980d2b8cde2a6df4124cee346e9aa9ee4d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 26 11:28:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 26 11:39:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa6ed98 |
7 |
|
8 |
dev-python/zeep: Migrate to PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zeep/zeep-4.1.0-r2.ebuild | 57 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 57 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/zeep/zeep-4.1.0-r2.ebuild b/dev-python/zeep/zeep-4.1.0-r2.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..081164474d79 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/zeep/zeep-4.1.0-r2.ebuild |
20 |
@@ -0,0 +1,57 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A modern/fast Python SOAP client based on lxml / requests" |
32 |
+HOMEPAGE="https://docs.python-zeep.org/" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="MIT" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+IUSE="async" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/lxml-4.6.0[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/platformdirs-1.4.0[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/requests-file-1.5.1[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/requests-2.7.0[${PYTHON_USEDEP}] |
47 |
+ >=dev-python/requests-toolbelt-0.7.1[${PYTHON_USEDEP}] |
48 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
49 |
+ async? ( >=dev-python/aiohttp-1.0[${PYTHON_USEDEP}] ) |
50 |
+" |
51 |
+BDEPEND=" |
52 |
+ test? ( |
53 |
+ dev-python/aiohttp[${PYTHON_USEDEP}] |
54 |
+ dev-python/aioresponses[${PYTHON_USEDEP}] |
55 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
56 |
+ dev-python/mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/pretend[${PYTHON_USEDEP}] |
58 |
+ dev-python/python-xmlsec[${PYTHON_USEDEP}] |
59 |
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-httpx[${PYTHON_USEDEP}] |
61 |
+ dev-python/requests-mock[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}"/${P}-cached-prop.patch |
69 |
+) |
70 |
+ |
71 |
+EPYTEST_DESELECT=( |
72 |
+ # broken by new pytest-httpx? |
73 |
+ tests/test_async_transport.py::test_load |
74 |
+ tests/test_async_transport.py::test_load_cache |
75 |
+ tests/test_async_transport.py::test_post |
76 |
+ tests/test_async_transport.py::test_http_error |
77 |
+) |