diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-09 14:41:51 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-09 14:56:30 +0100 |
commit | 83c0f35894a01557e1176e1e01172573e1791f02 (patch) | |
tree | d3368797eae985f06be49bdca8b0361db8c19572 /dev-python/vdirsyncer | |
parent | dev-python/aioresponses: Enable py3.11 (diff) | |
download | gentoo-83c0f35894a01557e1176e1e01172573e1791f02.tar.gz gentoo-83c0f35894a01557e1176e1e01172573e1791f02.tar.bz2 gentoo-83c0f35894a01557e1176e1e01172573e1791f02.zip |
dev-python/vdirsyncer: Bump to 0.19.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/vdirsyncer')
-rw-r--r-- | dev-python/vdirsyncer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/vdirsyncer/vdirsyncer-0.19.0.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
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} +} |