Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 17:34:06 +0000 (UTC)
From:      =?UTF-8?Q?Alexandre_C=2e_Guimar=c3=a3es?= <rigoletto@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540535 - in head/deskutils/py-vdirsyncer: . files
Message-ID:  <202006261734.05QHY6PO000301@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rigoletto
Date: Fri Jun 26 17:34:05 2020
New Revision: 540535
URL: https://svnweb.freebsd.org/changeset/ports/540535

Log:
  deskutils/py-vdirsyncer: Add compatibility with latest py-click.
  
  - vdirsyncer was failing at runtime due to requering
    a outdated py-click version.
  
  PR:		247191
  Reported by:	Simeon Simeonov <sgs@pichove.org>

Added:
  head/deskutils/py-vdirsyncer/files/
  head/deskutils/py-vdirsyncer/files/patch-github_3eb9ce5.patch   (contents, props changed)
Modified:
  head/deskutils/py-vdirsyncer/Makefile

Modified: head/deskutils/py-vdirsyncer/Makefile
==============================================================================
--- head/deskutils/py-vdirsyncer/Makefile	Fri Jun 26 16:57:29 2020	(r540534)
+++ head/deskutils/py-vdirsyncer/Makefile	Fri Jun 26 17:34:05 2020	(r540535)
@@ -2,6 +2,7 @@
 
 PORTNAME=	vdirsyncer
 DISTVERSION=	0.16.8
+PORTREVISION=	1
 CATEGORIES=	deskutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/deskutils/py-vdirsyncer/files/patch-github_3eb9ce5.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/py-vdirsyncer/files/patch-github_3eb9ce5.patch	Fri Jun 26 17:34:05 2020	(r540535)
@@ -0,0 +1,39 @@
+From 3eb9ce5ae4320d52e6c876874511ff96a8a45f51 Mon Sep 17 00:00:00 2001
+From: Hugo Osvaldo Barrera <hugo@barrera.io>
+Date: Tue, 9 Jun 2020 14:45:02 +0200
+Subject: [PATCH] Add compatibility with latest click
+
+---
+ setup.py                      | 2 +-
+ tests/system/cli/test_sync.py | 5 ++++-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 59549f16..d584b95d 100644
+--- setup.py
++++ setup.py
+@@ -11,7 +11,7 @@
+ 
+ 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 f2423764..43d35dd8 100644
+--- tests/system/cli/test_sync.py
++++ 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):



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006261734.05QHY6PO000301>