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: Mon, 14 Jun 2021 06:51:14
Message-Id: 1623653463.9531eeb262e56498ba9cc53c51c74c259a17d67f.mgorny@gentoo
1 commit: 9531eeb262e56498ba9cc53c51c74c259a17d67f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 06:35:10 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 06:51:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9531eeb2
7
8 dev-python/vdirsyncer: Bump to 0.18.0
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.18.0.ebuild | 49 ++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest
17 index 438496531cd..29341dd12fe 100644
18 --- a/dev-python/vdirsyncer/Manifest
19 +++ b/dev-python/vdirsyncer/Manifest
20 @@ -1 +1,2 @@
21 DIST vdirsyncer-0.16.8.tar.gz 115819 BLAKE2B e0140718a1b41875421a7094e02cdeb865c500935e0c97bc18a614551586d79682641726df1a96e17a158604ed309f713f4caf4a484025eca5fbc6acbbe18f97 SHA512 12cb50f592085af37bd9c4207c0d31fdd38fc2a44712eb6288b12e7e7ee9af82070d1d405fa9579e935e545e6c92aafb6f8334ebde4976c4eb9412e78e7c5ada
22 +DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226 SHA512 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd
23
24 diff --git a/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild
25 new file mode 100644
26 index 00000000000..05fd220b6b8
27 --- /dev/null
28 +++ b/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="7"
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +PYTHON_REQ_USE="sqlite"
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Synchronize calendars and contacts"
42 +HOMEPAGE="https://github.com/pimutils/vdirsyncer"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="BSD"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 +SLOT="0"
48 +
49 +PATCHES=( "${FILESDIR}/${PN}-0.16.8-click-7-compat.patch" )
50 +
51 +RDEPEND="dev-python/click[${PYTHON_USEDEP}]
52 + >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
53 + <dev-python/click-log-0.4.0[${PYTHON_USEDEP}]
54 + >=dev-python/click-threading-0.5[${PYTHON_USEDEP}]
55 + dev-python/requests[${PYTHON_USEDEP}]
56 + dev-python/requests-toolbelt[${PYTHON_USEDEP}]
57 + dev-python/atomicwrites[${PYTHON_USEDEP}]"
58 +BDEPEND="
59 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
60 + test? (
61 + dev-python/hypothesis[${PYTHON_USEDEP}]
62 + dev-python/pytest-localserver[${PYTHON_USEDEP}]
63 + dev-python/pytest-subtesthack[${PYTHON_USEDEP}]
64 + )"
65 +
66 +DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example )
67 +
68 +distutils_enable_tests pytest
69 +
70 +python_test() {
71 + # skip tests needing servers running
72 + local -x DAV_SERVER=skip
73 + local -x REMOTESTORAGE_SERVER=skip
74 + # pytest dies hard if the envvars do not have any value...
75 + local -x CI=false
76 + local -x DETERMINISTIC_TESTS=false
77 + epytest
78 +}