Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/vdirsyncer/
Date: Tue, 28 Feb 2023 05:06:54
Message-Id: 1677560801.b4afda7ce983db054e4e4320ce1a9666ea0ca1c8.mgorny@gentoo
1 commit: b4afda7ce983db054e4e4320ce1a9666ea0ca1c8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 04:52:00 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 05:06:41 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4afda7c
7
8 dev-python/vdirsyncer: Bump to 0.19.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/vdirsyncer/Manifest | 1 +
13 dev-python/vdirsyncer/vdirsyncer-0.19.1.ebuild | 70 ++++++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest
17 index 1173cae68ca4..972e67cc782d 100644
18 --- a/dev-python/vdirsyncer/Manifest
19 +++ b/dev-python/vdirsyncer/Manifest
20 @@ -1,2 +1,3 @@
21 DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226 SHA512 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd
22 DIST vdirsyncer-0.19.0.tar.gz 122533 BLAKE2B 18e3359fb743a8ce71f80c46da21555c4984ca47791e1a4e899408050e4a4bbad184fa94026fede1168fa3a7695539d93f1985b85c640aa1c0ca4fdf52920766 SHA512 9b8e467bdc9daf6d50981bfec1f67a1c990b07bc62a6e2d3ede35712fde60206672af53d53aca6587daee132ab74bf74f04d8bb4dbaa804dfe97dca9370b323c
23 +DIST vdirsyncer-0.19.1.tar.gz 122699 BLAKE2B 31fd6351046f5e668312594fa698a647e67f4b66e989a60c2bc6312748f09ea7971d3b5c04ceacbedbb7618e75febfdf175a82f286ca9425f14828ff044997d5 SHA512 2b0917bf69cfa298600b6b35b50db12ca57e1a963baf2ea9839a3c2f9f686f2f83f47c01e44ad2e12287ecfd470fe1a9ee4a756c0f8985236c2fe8d0454b6a15
24
25 diff --git a/dev-python/vdirsyncer/vdirsyncer-0.19.1.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.19.1.ebuild
26 new file mode 100644
27 index 000000000000..66223c31a60b
28 --- /dev/null
29 +++ b/dev-python/vdirsyncer/vdirsyncer-0.19.1.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{9..11} )
38 +PYTHON_REQ_USE="sqlite"
39 +
40 +inherit distutils-r1 pypi systemd
41 +
42 +DESCRIPTION="Synchronize calendars and contacts"
43 +HOMEPAGE="
44 + https://github.com/pimutils/vdirsyncer/
45 + https://pypi.org/project/vdirsyncer/
46 +"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +
52 +RDEPEND="
53 + <dev-python/click-9[${PYTHON_USEDEP}]
54 + >=dev-python/click-5.0[${PYTHON_USEDEP}]
55 + <dev-python/click-log-0.5.0[${PYTHON_USEDEP}]
56 + >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
57 + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
58 + >=dev-python/requests-toolbelt-0.4.0[${PYTHON_USEDEP}]
59 + >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
60 + <dev-python/aiohttp-4[${PYTHON_USEDEP}]
61 + >=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
62 + <dev-python/aiostream-0.5.0[${PYTHON_USEDEP}]
63 + >=dev-python/aiostream-0.4.3[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
67 + test? (
68 + dev-python/hypothesis[${PYTHON_USEDEP}]
69 + dev-python/pytest-httpserver[${PYTHON_USEDEP}]
70 + dev-python/trustme[${PYTHON_USEDEP}]
71 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
72 + dev-python/aioresponses[${PYTHON_USEDEP}]
73 + )
74 +"
75 +
76 +DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example )
77 +
78 +distutils_enable_tests pytest
79 +
80 +python_test() {
81 + # skip tests needing servers running
82 + local -x DAV_SERVER=skip
83 + local -x REMOTESTORAGE_SERVER=skip
84 + # pytest dies hard if the envvars do not have any value...
85 + local -x CI=false
86 + local -x DETERMINISTIC_TESTS=false
87 +
88 + local EPYTEST_DESELECT=(
89 + # Internet
90 + tests/system/utils/test_main.py::test_request_ssl
91 + )
92 +
93 + epytest -o addopts=
94 +}
95 +
96 +src_install() {
97 + distutils-r1_src_install
98 +
99 + systemd_douserunit contrib/vdirsyncer.{service,timer}
100 +}