commit:     83c0f35894a01557e1176e1e01172573e1791f02
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  9 13:41:51 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec  9 13:56:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c0f358

dev-python/vdirsyncer: Bump to 0.19.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/vdirsyncer/Manifest                 |  1 +
 dev-python/vdirsyncer/vdirsyncer-0.19.0.ebuild | 76 ++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest
index c4b5782242fd..1173cae68ca4 100644
--- a/dev-python/vdirsyncer/Manifest
+++ b/dev-python/vdirsyncer/Manifest
@@ -1 +1,2 @@
 DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B 
d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226
 SHA512 
7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd
+DIST vdirsyncer-0.19.0.tar.gz 122533 BLAKE2B 
18e3359fb743a8ce71f80c46da21555c4984ca47791e1a4e899408050e4a4bbad184fa94026fede1168fa3a7695539d93f1985b85c640aa1c0ca4fdf52920766
 SHA512 
9b8e467bdc9daf6d50981bfec1f67a1c990b07bc62a6e2d3ede35712fde60206672af53d53aca6587daee132ab74bf74f04d8bb4dbaa804dfe97dca9370b323c

diff --git a/dev-python/vdirsyncer/vdirsyncer-0.19.0.ebuild 
b/dev-python/vdirsyncer/vdirsyncer-0.19.0.ebuild
new file mode 100644
index 000000000000..550f5ac348ee
--- /dev/null
+++ b/dev-python/vdirsyncer/vdirsyncer-0.19.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1 systemd
+
+DESCRIPTION="Synchronize calendars and contacts"
+HOMEPAGE="
+       https://github.com/pimutils/vdirsyncer/
+       https://pypi.org/project/vdirsyncer/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       <dev-python/click-9[${PYTHON_USEDEP}]
+       >=dev-python/click-5.0[${PYTHON_USEDEP}]
+       <dev-python/click-log-0.5.0[${PYTHON_USEDEP}]
+       >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-toolbelt-0.4.0[${PYTHON_USEDEP}]
+       >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
+       <dev-python/aiohttp-4[${PYTHON_USEDEP}]
+       >=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
+       <dev-python/aiostream-0.5.0[${PYTHON_USEDEP}]
+       >=dev-python/aiostream-0.4.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+               dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+               dev-python/trustme[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/aioresponses[${PYTHON_USEDEP}]
+       )
+"
+
+DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       sed -i -e '/cov/d' setup.cfg || die
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       # skip tests needing servers running
+       local -x DAV_SERVER=skip
+       local -x REMOTESTORAGE_SERVER=skip
+       # pytest dies hard if the envvars do not have any value...
+       local -x CI=false
+       local -x DETERMINISTIC_TESTS=false
+
+       local EPYTEST_DESELECT=(
+               # Internet
+               tests/system/utils/test_main.py::test_request_ssl
+       )
+
+       epytest
+}
+
+src_install() {
+       distutils-r1_src_install
+
+       systemd_douserunit contrib/vdirsyncer.{service,timer}
+}

Reply via email to