git: a74ad6ba3a21 - main - deskutils/py-vdirsyncer: Update to 0.19.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:19:14 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a74ad6ba3a21fdcc34c50cb599e8086f08d2b671

commit a74ad6ba3a21fdcc34c50cb599e8086f08d2b671
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:56:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:11 +0000

    deskutils/py-vdirsyncer: Update to 0.19.3
    
    - Update WWW
    - Convert to USE_PYTHON=pep517
    - Update pkg-descr
    - Take maintainership
    
    Changes:        https://github.com/pimutils/vdirsyncer/blob/main/CHANGELOG.rst
---
 deskutils/py-vdirsyncer/Makefile             | 28 +++++++++++++++-------------
 deskutils/py-vdirsyncer/distinfo             |  6 +++---
 deskutils/py-vdirsyncer/files/patch-setup.py | 11 +++++++++++
 deskutils/py-vdirsyncer/pkg-descr            | 15 +++++++++++----
 4 files changed, 40 insertions(+), 20 deletions(-)

diff --git a/deskutils/py-vdirsyncer/Makefile b/deskutils/py-vdirsyncer/Makefile
index be0187138c91..cc30401ddcf9 100644
--- a/deskutils/py-vdirsyncer/Makefile
+++ b/deskutils/py-vdirsyncer/Makefile
@@ -1,34 +1,36 @@
 PORTNAME=	vdirsyncer
-DISTVERSION=	0.19.2
+PORTVERSION=	0.19.3
 CATEGORIES=	deskutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Synchronize calendars and contacts
-WWW=		https://vdirsyncer.readthedocs.org/
+WWW=		https://vdirsyncer.pimutils.org/en/stable/ \
+		https://github.com/pimutils/vdirsyncer
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>=1.10.1:devel/py-setuptools-scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.0:www/py-aiohttp@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}aiostream>=0.4.5:www/py-aiostream@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8.0<4.0.0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiostream>=0.4.3:www/py-aiostream@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}atomicwrites>=0.1.7:devel/py-atomicwrites@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click-log<0.4.0:devel/py-click-log@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click-threading>=0.2:devel/py-click-threading@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=5.0<9.0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-log>=0.3.0<0.5.0:devel/py-click-log@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.4.0:www/py-requests-toolbelt@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist concurrent pep517
+
 NO_ARCH=	yes
 
 OPTIONS_DEFINE=	GOOGLE
+GOOGLE_DESC=	Google Calendar support
 
-GOOGLE_DESC=	Enable Google Calendar support
 GOOGLE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp-oauthlib>=0:www/py-aiohttp-oauthlib@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/deskutils/py-vdirsyncer/distinfo b/deskutils/py-vdirsyncer/distinfo
index 209d03ff9be6..f0fc3e36f838 100644
--- a/deskutils/py-vdirsyncer/distinfo
+++ b/deskutils/py-vdirsyncer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1689353228
-SHA256 (vdirsyncer-0.19.2.tar.gz) = fd058ceeab8293459a0466cd9b0e4ab3b39462c6e089a0f0ac37c307420d82ba
-SIZE (vdirsyncer-0.19.2.tar.gz) = 123389
+TIMESTAMP = 1726487338
+SHA256 (vdirsyncer-0.19.3.tar.gz) = e437851feb985dec3544654f8f9cf6dd109b0b03f7e19956086603092ffeb28f
+SIZE (vdirsyncer-0.19.3.tar.gz) = 125478
diff --git a/deskutils/py-vdirsyncer/files/patch-setup.py b/deskutils/py-vdirsyncer/files/patch-setup.py
new file mode 100644
index 000000000000..412c1e423470
--- /dev/null
+++ b/deskutils/py-vdirsyncer/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2024-09-11 15:26:58 UTC
++++ setup.py
+@@ -19,7 +19,7 @@ requirements = [
+     # https://github.com/untitaker/python-atomicwrites/commit/4d12f23227b6a944ab1d99c507a69fdbc7c9ed6d  # noqa
+     "atomicwrites>=0.1.7",
+     "aiohttp>=3.8.0,<4.0.0",
+-    "aiostream>=0.4.3,<0.5.0",
++    "aiostream>=0.4.3",
+ ]
+ 
+ 
diff --git a/deskutils/py-vdirsyncer/pkg-descr b/deskutils/py-vdirsyncer/pkg-descr
index 62ddf0ce1415..867e5a5eecbd 100644
--- a/deskutils/py-vdirsyncer/pkg-descr
+++ b/deskutils/py-vdirsyncer/pkg-descr
@@ -1,4 +1,11 @@
-Vdirsyncer synchronizes your calendars and addressbooks between two storages.
-The most popular purpose is to synchronize CalDAV and CardDAV with a local
-folder or file. The local data can then be accessed via a variety of programs,
-none of which have to know or worry about syncing to a server.
+Vdirsyncer is a command-line tool for synchronizing calendars and addressbooks
+between a variety of servers and the local filesystem. The most popular usecase
+is to synchronize a server with a local folder and use a set of other programs
+to change the local events and contacts. Vdirsyncer can then synchronize those
+changes back to the server.
+
+However, vdirsyncer is not limited to synchronizing between clients and servers.
+It can also be used to synchronize calendars and/or addressbooks between two
+servers directly.
+
+It aims to be for calendars and contacts what OfflineIMAP is for emails.