From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/vdirsyncer/Manifest | 2 +- dev-python/vdirsyncer/vdirsyncer-0.18.0-r2.ebuild | 63 ------------------- dev-python/vdirsyncer/vdirsyncer-0.18.0-r4.ebuild | 76 +++++++++++++++++++++++ 3 files changed, 77 insertions(+), 64 deletions(-) delete mode 100644 dev-python/vdirsyncer/vdirsyncer-0.18.0-r2.ebuild create mode 100644 dev-python/vdirsyncer/vdirsyncer-0.18.0-r4.ebuild (limited to 'dev-python/vdirsyncer') diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest index 6e040b1ee089..8c5e35b9cd56 100644 --- a/dev-python/vdirsyncer/Manifest +++ b/dev-python/vdirsyncer/Manifest @@ -1,4 +1,4 @@ AUX vdirsyncer-0.18.0-no-cov.patch 533 BLAKE2B 08f6d9dd09aeeb057bfa17fcd8a590ccef68bb9bed8c84c6682471ba53886bc80011990086c9b51673e272ce15fd9096847dab6bb9a6087670e5b01417cbc981 SHA512 00d4f334e1def6295f2b1aacfc2a7fd33f250a0bee39957288fe83a5179c0461f71273051687b53435b0cdd78a3ece618b1dec5a8e253cec3f3c3733528dba10 DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226 SHA512 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd -EBUILD vdirsyncer-0.18.0-r2.ebuild 1671 BLAKE2B 072eb0a183166206ed3999275c4f86299ffd1f6328ab9ff9850363335b0164c5186981172a1c96a18a80e74622c806e9a5e8bf38505d2a719c64bffc9afdb30e SHA512 3043ac90a62d25a8c9e8c29407996dd9b80239d3de47cab4d9036d35b2ff83970c2e5cef06e8e6d585636b263da069c8dd7c91635958e1551879600b1a497c68 +EBUILD vdirsyncer-0.18.0-r4.ebuild 1888 BLAKE2B fa68609647879e119364897ef7888ef1a426b060a039f443b5d42873663d1bf31baa255f66b4e09e6b0cab50dc86e9965efee8ed9380eeba7a3dd399ddb3ac7d SHA512 e204d9d7f6f255fde83c3c76c4395a88541c75e5f19ec9a47c077735d72eecf15a3900fb2797fd37fe093f8d8832c6eefde0e86e1e61dc933d397b5ae942d4ee MISC metadata.xml 475 BLAKE2B 368524aa96e63a09f0bb25a2d2cfd0a20fd80a7723faa3c076e0a3a10f4fc0e06be1c0521afedbcfd39fc99e2e726627c7ad13622ceefa2fd90d317756386e3e SHA512 5a4150a6e7f0ad92c1b80291e5700f875e619b6b155903189a97ca7f820fff2b656309a27fcd7bae94d5fe6a7cd36cb93633ff0cc0ae7fcaac1399a3f132bb99 diff --git a/dev-python/vdirsyncer/vdirsyncer-0.18.0-r2.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.18.0-r2.ebuild deleted file mode 100644 index 3b59e15c6a33..000000000000 --- a/dev-python/vdirsyncer/vdirsyncer-0.18.0-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 systemd - -DESCRIPTION="Synchronize calendars and contacts" -HOMEPAGE="https://github.com/pimutils/vdirsyncer" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" - -RDEPEND="dev-python/click[${PYTHON_USEDEP}] - >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}] - =dev-python/click-threading-0.5[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - dev-python/atomicwrites[${PYTHON_USEDEP}]" -BDEPEND=" - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pytest-subtesthack[${PYTHON_USEDEP}] - )" - -PATCHES=( - "${FILESDIR}/${PN}-0.18.0-no-cov.patch" -) - -DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example ) - -distutils_enable_tests pytest - -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 deselect=( - # test CA is too weak for modern python - tests/system/utils/test_main.py::test_request_ssl - tests/system/utils/test_main.py::test_request_ssl_fingerprints - ) - - epytest ${deselect[@]/#/--deselect } -} - -src_install() { - distutils-r1_src_install - - systemd_douserunit contrib/vdirsyncer.{service,timer} -} diff --git a/dev-python/vdirsyncer/vdirsyncer-0.18.0-r4.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.18.0-r4.ebuild new file mode 100644 index 000000000000..8dea04b86044 --- /dev/null +++ b/dev-python/vdirsyncer/vdirsyncer-0.18.0-r4.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 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}] + >=dev-python/click-threading-0.5[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/atomicwrites[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + dev-python/pytest-subtesthack[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.18.0-no-cov.patch" +) + +DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example ) + +distutils_enable_tests pytest + +src_prepare() { + # unpin click-log + # https://github.com/pimutils/vdirsyncer/commit/ea640001d0ad6e56369102e02b949c865c48726f + sed -i -e '/click-log/s:, <0.4.0::' setup.py || 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=( + # test CA is too weak for modern python + tests/system/utils/test_main.py::test_request_ssl + tests/system/utils/test_main.py::test_request_ssl_fingerprints + ) + + epytest +} + +src_install() { + distutils-r1_src_install + + systemd_douserunit contrib/vdirsyncer.{service,timer} +} -- cgit v1.2.3