Diff vdirsyncer-0.18.0-r4 with a vdirsyncer-0.19.2

/usr/portage/dev-python/vdirsyncer/vdirsyncer-0.19.2.ebuild 2023-10-09 14:52:30.396368373 +0300
4 4
EAPI=8
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
7
PYTHON_COMPAT=( python3_{10..11} )
8 8
PYTHON_REQ_USE="sqlite"
9 9

  
10 10
inherit distutils-r1 pypi systemd
......
17 17

  
18 18
LICENSE="BSD"
19 19
SLOT="0"
20
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
20
KEYWORDS="~amd64"
21 21

  
22 22
RDEPEND="
23
	dev-python/click[${PYTHON_USEDEP}]
23
	<dev-python/click-9[${PYTHON_USEDEP}]
24
	>=dev-python/click-5.0[${PYTHON_USEDEP}]
25
	<dev-python/click-log-0.5.0[${PYTHON_USEDEP}]
24 26
	>=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
25
	>=dev-python/click-threading-0.5[${PYTHON_USEDEP}]
26
	dev-python/requests[${PYTHON_USEDEP}]
27
	dev-python/requests-toolbelt[${PYTHON_USEDEP}]
28
	dev-python/atomicwrites[${PYTHON_USEDEP}]
27
	>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
28
	>=dev-python/requests-toolbelt-0.4.0[${PYTHON_USEDEP}]
29
	>=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
30
	<dev-python/aiohttp-4[${PYTHON_USEDEP}]
31
	>=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
32
	<dev-python/aiostream-0.5.0[${PYTHON_USEDEP}]
33
	>=dev-python/aiostream-0.4.3[${PYTHON_USEDEP}]
29 34
"
30 35
BDEPEND="
31 36
	dev-python/setuptools-scm[${PYTHON_USEDEP}]
32 37
	test? (
33 38
		dev-python/hypothesis[${PYTHON_USEDEP}]
34
		dev-python/pytest-localserver[${PYTHON_USEDEP}]
35
		dev-python/pytest-subtesthack[${PYTHON_USEDEP}]
39
		dev-python/pytest-httpserver[${PYTHON_USEDEP}]
40
		dev-python/trustme[${PYTHON_USEDEP}]
41
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
42
		dev-python/aioresponses[${PYTHON_USEDEP}]
36 43
	)
37 44
"
38 45

  
39
PATCHES=(
40
	"${FILESDIR}/${PN}-0.18.0-no-cov.patch"
41
)
42

  
43 46
DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example )
44 47

  
45 48
distutils_enable_tests pytest
46 49

  
47
src_prepare() {
48
	# unpin click-log
49
	# https://github.com/pimutils/vdirsyncer/commit/ea640001d0ad6e56369102e02b949c865c48726f
50
	sed -i -e '/click-log/s:, <0.4.0::' setup.py || die
51
	distutils-r1_src_prepare
52
}
53

  
54 50
python_test() {
55 51
	# skip tests needing servers running
56 52
	local -x DAV_SERVER=skip
......
60 56
	local -x DETERMINISTIC_TESTS=false
61 57

  
62 58
	local EPYTEST_DESELECT=(
63
		# test CA is too weak for modern python
59
		# Internet
64 60
		tests/system/utils/test_main.py::test_request_ssl
65
		tests/system/utils/test_main.py::test_request_ssl_fingerprints
66 61
	)
67 62

  
68
	epytest
63
	epytest -o addopts=
69 64
}
70 65

  
71 66
src_install() {
Thank you!