commit: 4d27eacd7c41e246b72dbd1d425f0e4f7aee816a Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Oct 17 09:40:04 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Oct 17 09:40:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d27eacd
dev-python/vdirsyncer: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/vdirsyncer/Manifest | 1 - .../files/vdirsyncer-0.16.8-click-7-compat.patch | 35 ------------- dev-python/vdirsyncer/vdirsyncer-0.16.8-r1.ebuild | 58 ---------------------- dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild | 53 -------------------- 4 files changed, 147 deletions(-) diff --git a/dev-python/vdirsyncer/Manifest b/dev-python/vdirsyncer/Manifest index 29341dd12fe..c4b5782242f 100644 --- a/dev-python/vdirsyncer/Manifest +++ b/dev-python/vdirsyncer/Manifest @@ -1,2 +1 @@ -DIST vdirsyncer-0.16.8.tar.gz 115819 BLAKE2B e0140718a1b41875421a7094e02cdeb865c500935e0c97bc18a614551586d79682641726df1a96e17a158604ed309f713f4caf4a484025eca5fbc6acbbe18f97 SHA512 12cb50f592085af37bd9c4207c0d31fdd38fc2a44712eb6288b12e7e7ee9af82070d1d405fa9579e935e545e6c92aafb6f8334ebde4976c4eb9412e78e7c5ada DIST vdirsyncer-0.18.0.tar.gz 115125 BLAKE2B d81bb9b51658d16a3b9ea044846561a1ce2dac3a839d7e0a165f0136069fcd0716525ab2b908be7cafed60846a1aed6fd72aa1d31fc2a38dbe6de8d0e6585226 SHA512 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd diff --git a/dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch b/dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch deleted file mode 100644 index c0ee62f959f..00000000000 --- a/dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch +++ /dev/null @@ -1,35 +0,0 @@ -commit 3eb9ce5ae4320d52e6c876874511ff96a8a45f51 -Author: Hugo Osvaldo Barrera <h...@barrera.io> -Date: Tue Jun 9 14:45:02 2020 +0200 - - Add compatibility with latest click - -diff --git a/setup.py b/setup.py -index 59549f16842a..d584b95dd297 100644 ---- a/setup.py -+++ b/setup.py -@@ -11,7 +11,7 @@ from setuptools import setup - - requirements = [ - # https://github.com/mitsuhiko/click/issues/200 -- 'click>=5.0,<6.0', -+ 'click>=5.0', - 'click-log>=0.3.0, <0.4.0', - - # https://github.com/pimutils/vdirsyncer/issues/478 -diff --git a/tests/system/cli/test_sync.py b/tests/system/cli/test_sync.py -index f242376417f3..43d35dd8541e 100644 ---- a/tests/system/cli/test_sync.py -+++ b/tests/system/cli/test_sync.py -@@ -123,7 +123,10 @@ def test_verbosity(tmpdir, runner): - runner.write_with_general('') - result = runner.invoke(['--verbosity=HAHA', 'sync']) - assert result.exception -- assert 'invalid value for "--verbosity"' in result.output.lower() -+ assert ( -+ 'invalid value for "--verbosity"' in result.output.lower() -+ or "invalid value for '--verbosity'" in result.output.lower() -+ ) - - - def test_collections_cache_invalidation(tmpdir, runner): diff --git a/dev-python/vdirsyncer/vdirsyncer-0.16.8-r1.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.16.8-r1.ebuild deleted file mode 100644 index 8888f31e1aa..00000000000 --- a/dev-python/vdirsyncer/vdirsyncer-0.16.8-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 - -DESCRIPTION="Synchronize calendars and contacts" -HOMEPAGE="https://github.com/pimutils/vdirsyncer" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -SLOT="0" - -PATCHES=( "${FILESDIR}/${PN}-0.16.8-click-7-compat.patch" ) - -RDEPEND="dev-python/click[${PYTHON_USEDEP}] - >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}] - <dev-python/click-log-0.4.0[${PYTHON_USEDEP}] - dev-python/click-threading[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - dev-python/atomicwrites[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - dev-python/setuptools_scm[${PYTHON_USEDEP}] - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pytest-subtesthack[${PYTHON_USEDEP}] - )" - -DOCS=( AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst config.example ) - -distutils_enable_tests pytest - -src_prepare() { - default - - # Replace getiterator with iter for python3.9. - # See https://github.com/pimutils/vdirsyncer/issues/880. - sed -i "s/rv.extend(item.getiterator())/rv.extend(iter(item))/" \ - vdirsyncer/storage/dav.py || die -} - -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 - pytest -vv || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild b/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild deleted file mode 100644 index d902fe2f289..00000000000 --- a/dev-python/vdirsyncer/vdirsyncer-0.18.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..9} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Synchronize calendars and contacts" -HOMEPAGE="https://github.com/pimutils/vdirsyncer" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -SLOT="0" - -RDEPEND="dev-python/click[${PYTHON_USEDEP}] - >=dev-python/click-log-0.3.0[${PYTHON_USEDEP}] - <dev-python/click-log-0.4.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}] - )" - -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 } -}