Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zeep/
Date: Fri, 04 Nov 2022 08:23:35
Message-Id: 1667550196.34fb33a1812bb4cb6033fad3e0e7f79f74bbd38c.arthurzam@gentoo
1 commit: 34fb33a1812bb4cb6033fad3e0e7f79f74bbd38c
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 4 08:21:08 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 4 08:23:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fb33a1
7
8 dev-python/zeep: add 4.2.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/zeep/Manifest | 1 +
13 dev-python/zeep/zeep-4.2.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/zeep/Manifest b/dev-python/zeep/Manifest
17 index 9077172fa6e2..eb8227a4e8fa 100644
18 --- a/dev-python/zeep/Manifest
19 +++ b/dev-python/zeep/Manifest
20 @@ -1 +1,2 @@
21 DIST zeep-4.1.0.tar.gz 160333 BLAKE2B d29db92efe048ba854ff14cde062993c3f334cab6cfc122f6db9aa7a1a490c82f93a50ca5028a5f86e316d9ecf567ac40aef10f3e7d8db89376c7d8dea2a2e23 SHA512 acc54f99d21fe401e06418223591bcf8e7f8819e225f892beb0f6e2a1ee359a0da6f9d0aa4212899197c084af37cc56126879b93a22cdad2458e57674bf66ed5
22 +DIST zeep-4.2.0.tar.gz 161102 BLAKE2B e6d25ec10c1e50d6d3e029d65e0ec28ca70524b82ba67c261099fa970cbb0af320e9085539316ae64736600acce0e69793c081314c01e2de34a026208d8a5bef SHA512 dd7ea6fb80e41ae0ed81ebc26b9d0498685c9801baf0c46c124b0341e78127f521e429c7b55a2056018f3229128294f2715f8794ae8c00f313435cd8663c63f6
23
24 diff --git a/dev-python/zeep/zeep-4.2.0.ebuild b/dev-python/zeep/zeep-4.2.0.ebuild
25 new file mode 100644
26 index 000000000000..adcaf749a07b
27 --- /dev/null
28 +++ b/dev-python/zeep/zeep-4.2.0.ebuild
29 @@ -0,0 +1,53 @@
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 modern/fast Python SOAP client based on lxml / requests"
41 +HOMEPAGE="https://docs.python-zeep.org/"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="async"
48 +
49 +RDEPEND="
50 + >=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
51 + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}]
52 + >=dev-python/lxml-4.6.0[${PYTHON_USEDEP}]
53 + >=dev-python/platformdirs-1.4.0[${PYTHON_USEDEP}]
54 + >=dev-python/requests-file-1.5.1[${PYTHON_USEDEP}]
55 + >=dev-python/requests-2.7.0[${PYTHON_USEDEP}]
56 + >=dev-python/requests-toolbelt-0.7.1[${PYTHON_USEDEP}]
57 + dev-python/pytz[${PYTHON_USEDEP}]
58 + async? ( >=dev-python/aiohttp-1.0[${PYTHON_USEDEP}] )
59 +"
60 +BDEPEND="
61 + test? (
62 + dev-python/aiohttp[${PYTHON_USEDEP}]
63 + dev-python/aioresponses[${PYTHON_USEDEP}]
64 + dev-python/freezegun[${PYTHON_USEDEP}]
65 + dev-python/mock[${PYTHON_USEDEP}]
66 + dev-python/pretend[${PYTHON_USEDEP}]
67 + dev-python/python-xmlsec[${PYTHON_USEDEP}]
68 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
69 + dev-python/pytest-httpx[${PYTHON_USEDEP}]
70 + dev-python/requests-mock[${PYTHON_USEDEP}]
71 + )
72 +"
73 +
74 +distutils_enable_tests pytest
75 +
76 +EPYTEST_DESELECT=(
77 + # broken by new pytest-httpx?
78 + tests/test_async_transport.py::test_load
79 + tests/test_async_transport.py::test_load_cache
80 + tests/test_async_transport.py::test_post
81 + tests/test_async_transport.py::test_http_error
82 +)