pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/py-vdirsyncer py-vdirsyncer: update to 0.19.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3f23e25cac55
branches: trunk
changeset: 389623:3f23e25cac55
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Dec 06 20:40:08 2022 +0000
description:
py-vdirsyncer: update to 0.19.0.
Version 0.19.0
==============
- Add "shell" password fetch strategy to pass command string to a shell.
- Add "description" and "order" as metadata. These fetch the CalDAV:
calendar-description, ``CardDAV:addressbook-description`` and
``apple-ns:calendar-order`` properties respectively.
- Add a new ``showconfig`` status. This prints *some* configuration values as
JSON. This is intended to be used by external tools and helpers that interact
with ``vdirsyncer``, and considered experimental.
- Update TLS-related tests that were failing due to weak MDs. :gh:`903`
- ``pytest-httpserver`` and ``trustme`` are now required for tests.
- ``pytest-localserver`` is no longer required for tests.
- Multithreaded support has been dropped. The ``"--max-workers`` has been removed.
- A new ``asyncio`` backend is now used. So far, this shows substantial speed
improvements in ``discovery`` and ``metasync``, but little change in `sync`.
This will likely continue improving over time. :gh:`906`
- The ``google`` storage types no longer require ``requests-oauthlib``, but
require ``python-aiohttp-oauthlib`` instead.
- Vdirsyncer no longer includes experimental support for `EteSync
<https://www.etesync.com/>`_. The existing integration had not been supported
for a long time and no longer worked. Support for external storages may be
added if anyone is interested in maintaining an EteSync plugin. EteSync
users should consider using `etesync-dav`_.
- The ``plist`` for macOS has been dropped. It was broken and homebrew
generates their own based on package metadata. macOS users are encouraged to
use that as a reference.
.. _etesync-dav: https://github.com/etesync/etesync-dav
Changes to SSL configuration
----------------------------
Support for ``md5`` and ``sha1`` certificate fingerprints has been dropped. If
you're validating certificate fingerprints, use ``sha256`` instead.
When using a custom ``verify_fingerprint``, CA validation is always disabled.
If ``verify_fingerprint`` is unset, CA verification is always active. Disabling
both features is insecure and no longer supported.
The ``verify`` parameter no longer takes boolean values, it is now optional and
only takes a string to a custom CA for verification.
The ``verify`` and ``verify_fingerprint`` will likely be merged into a single
parameter in future.
diffstat:
time/py-vdirsyncer/Makefile | 18 +++++++++++-------
time/py-vdirsyncer/PLIST | 8 ++++----
time/py-vdirsyncer/distinfo | 8 ++++----
3 files changed, 19 insertions(+), 15 deletions(-)
diffs (94 lines):
diff -r 45bf3b46e1c2 -r 3f23e25cac55 time/py-vdirsyncer/Makefile
--- a/time/py-vdirsyncer/Makefile Tue Dec 06 20:39:38 2022 +0000
+++ b/time/py-vdirsyncer/Makefile Tue Dec 06 20:40:08 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2022/01/05 15:41:28 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2022/12/06 20:40:08 wiz Exp $
-DISTNAME= vdirsyncer-0.18.0
+DISTNAME= vdirsyncer-0.19.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vdirsyncer/}
@@ -18,22 +17,24 @@
DEPENDS+= ${PYPKGPREFIX}-atomicwrites>=0.1.7:../../devel/py-atomicwrites
DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-click-log>=0.3.0:../../devel/py-click-log
-DEPENDS+= ${PYPKGPREFIX}-click-threading>=0.5:../../devel/py-click-threading
DEPENDS+= ${PYPKGPREFIX}-requests>=2.20.0:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-requests-oauthlib-[0-9]*:../../security/py-requests-oauthlib
DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.4.0:../../devel/py-requests-toolbelt
+DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.8.0:../../www/py-aiohttp
+DEPENDS+= ${PYPKGPREFIX}-aiostream>=0.4.3:../../devel/py-aiostream
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.0.0:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-aioresponses-[0-9]*:../../net/py-aioresponses
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio-[0-9]*:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpserver-[0-9]*:../../devel/py-test-httpserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
USE_LANGUAGES= # none
INSTALLATION_DIRS= share/examples/${PKGBASE} ${PKGMANDIR}/man1
PLIST_SUBST+= PKGBASE=${PKGBASE}
PYTHON_SELF_CONFLICT= yes
-PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
@@ -47,6 +48,9 @@
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/_build/man/vdirsyncer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
# needed due to py-click
diff -r 45bf3b46e1c2 -r 3f23e25cac55 time/py-vdirsyncer/PLIST
--- a/time/py-vdirsyncer/PLIST Tue Dec 06 20:39:38 2022 +0000
+++ b/time/py-vdirsyncer/PLIST Tue Dec 06 20:40:08 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2018/04/14 20:21:51 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/12/06 20:40:08 wiz Exp $
bin/vdirsyncer
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -51,15 +51,15 @@
${PYSITELIB}/vdirsyncer/storage/dav.py
${PYSITELIB}/vdirsyncer/storage/dav.pyc
${PYSITELIB}/vdirsyncer/storage/dav.pyo
-${PYSITELIB}/vdirsyncer/storage/etesync.py
-${PYSITELIB}/vdirsyncer/storage/etesync.pyc
-${PYSITELIB}/vdirsyncer/storage/etesync.pyo
${PYSITELIB}/vdirsyncer/storage/filesystem.py
${PYSITELIB}/vdirsyncer/storage/filesystem.pyc
${PYSITELIB}/vdirsyncer/storage/filesystem.pyo
${PYSITELIB}/vdirsyncer/storage/google.py
${PYSITELIB}/vdirsyncer/storage/google.pyc
${PYSITELIB}/vdirsyncer/storage/google.pyo
+${PYSITELIB}/vdirsyncer/storage/google_helpers.py
+${PYSITELIB}/vdirsyncer/storage/google_helpers.pyc
+${PYSITELIB}/vdirsyncer/storage/google_helpers.pyo
${PYSITELIB}/vdirsyncer/storage/http.py
${PYSITELIB}/vdirsyncer/storage/http.pyc
${PYSITELIB}/vdirsyncer/storage/http.pyo
diff -r 45bf3b46e1c2 -r 3f23e25cac55 time/py-vdirsyncer/distinfo
--- a/time/py-vdirsyncer/distinfo Tue Dec 06 20:39:38 2022 +0000
+++ b/time/py-vdirsyncer/distinfo Tue Dec 06 20:40:08 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.46 2021/10/26 11:24:36 nia Exp $
+$NetBSD: distinfo,v 1.47 2022/12/06 20:40:08 wiz Exp $
-BLAKE2s (vdirsyncer-0.18.0.tar.gz) = 75ef21cdefe1b91319bdcef6e783ad2ab26d21d6cb4c0db7e1300f2c0237e0a5
-SHA512 (vdirsyncer-0.18.0.tar.gz) = 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd
-Size (vdirsyncer-0.18.0.tar.gz) = 115125 bytes
+BLAKE2s (vdirsyncer-0.19.0.tar.gz) = f2bcb41a8d77b327676e65c85524f3faa7e6d7de28a3774cc07600fa3ea27f19
+SHA512 (vdirsyncer-0.19.0.tar.gz) = 9b8e467bdc9daf6d50981bfec1f67a1c990b07bc62a6e2d3ede35712fde60206672af53d53aca6587daee132ab74bf74f04d8bb4dbaa804dfe97dca9370b323c
+Size (vdirsyncer-0.19.0.tar.gz) = 122533 bytes
Home |
Main Index |
Thread Index |
Old Index