diff options
author | Christopher Head <chead@chead.ca> | 2020-05-12 20:54:32 -0700 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-16 09:02:51 +0300 |
commit | ece0fd03e7c87d36cb4dbcb016fb927ab31ff955 (patch) | |
tree | 8038f558f37ad1f04cec1f38e562a1ea334346aa /dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch | |
parent | media-gfx/viewnior: Update metainfo location; Revbump. (diff) | |
download | gentoo-ece0fd03e7c87d36cb4dbcb016fb927ab31ff955.tar.gz gentoo-ece0fd03e7c87d36cb4dbcb016fb927ab31ff955.tar.bz2 gentoo-ece0fd03e7c87d36cb4dbcb016fb927ab31ff955.zip |
dev-python/vdirsyncer: 0.16.8 bump
Bump to EAPI 7. Support Python 3.7 and 3.8. Fix incorrect LICENSE.
Closes: https://bugs.gentoo.org/719654
Signed-off-by: Christopher Head <chead@chead.ca>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch')
-rw-r--r-- | dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch | 35 |
1 files changed, 35 insertions, 0 deletions
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 new file mode 100644 index 000000000000..c0ee62f959f9 --- /dev/null +++ b/dev-python/vdirsyncer/files/vdirsyncer-0.16.8-click-7-compat.patch @@ -0,0 +1,35 @@ +commit 3eb9ce5ae4320d52e6c876874511ff96a8a45f51 +Author: Hugo Osvaldo Barrera <hugo@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): |