pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/py-vdirsyncer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Sep 12 09:21:03 UTC 2024

Modified Files:
        pkgsrc/time/py-vdirsyncer: Makefile PLIST distinfo

Log Message:
py-vdirsyncer: update to 0.19.3.

Version 0.19.3
==============

- Added a no_delete option to the storage configuration. :gh:`1090`
- Fix crash when running ``vdirsyncer repair`` on a collection. :gh:`1019`
- Add an option to request vCard v4.0.  :gh:`1066`
- Require matching ``BEGIN`` and ``END`` lines in vobjects. :gh:`1103`
- A Docker environment for Vdirsyncer has been added `Vdirsyncer DOCKERIZED <https://github.com/Bleala/Vdirsyncer-DOCKERIZED>`_.
- Implement digest auth. :gh:`1137`

Version 0.19.2
==============

- Improve the performance of ``SingleFileStorage``. :gh:`818`
- Properly document some caveats of the Google Contacts storage.
- Fix crash when using auth certs. :gh:`1033`
- The ``filesystem`` storage can be specified with ``type =
  "filesystem/icalendar"`` or ``type = "filesystem/vcard"``. This has not
  functional impact, and is merely for forward compatibility with the Rust
  implementation of vdirsyncer.
- Python 3.10 and 3.11 are officially supported.
- Instructions for integrating with Google CalDav/CardDav have changed.
  Applications now need to be registered as "Desktop applications". Using "Web
  application" no longer works due to changes on Google's side. :gh:`1078`

Version 0.19.1
==============

- Fixed crash when operating on Google Contacts. :gh:`994`
- The ``HTTP_PROXY`` and ``HTTPS_PROXY`` are now respected. :gh:`1031`
- Instructions for integrating with Google CalDav/CardDav have changed.
  Applications now need to be registered as "Web Application". :gh:`975`
- Various documentation updates.

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.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/time/py-vdirsyncer/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/time/py-vdirsyncer/PLIST
cvs rdiff -u -r1.50 -r1.51 pkgsrc/time/py-vdirsyncer/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-vdirsyncer/Makefile
diff -u pkgsrc/time/py-vdirsyncer/Makefile:1.69 pkgsrc/time/py-vdirsyncer/Makefile:1.70
--- pkgsrc/time/py-vdirsyncer/Makefile:1.69     Sat Aug 10 07:48:30 2024
+++ pkgsrc/time/py-vdirsyncer/Makefile  Thu Sep 12 09:21:03 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.69 2024/08/10 07:48:30 adam Exp $
+# $NetBSD: Makefile,v 1.70 2024/09/12 09:21:03 wiz Exp $
 
-DISTNAME=      vdirsyncer-0.18.0
+DISTNAME=      vdirsyncer-0.19.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/vdirsyncer/}
 
@@ -13,33 +12,37 @@ LICENSE=    modified-bsd
 
 EXTRACT_USING= bsdtar  # gtar cannot handle pre-1970 timestamps
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 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}-aiohttp>=3.8.0:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiostream>=0.4.3:../../devel/py-aiostream
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp-oauthlib-[0-9]*:../../www/py-aiohttp-oauthlib
 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
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.0.0:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-aioresponses>=0:../../net/py-aioresponses
+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 38 39 # py-sphinx
-
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  38 39 # py-sphinx
 
 USE_TOOLS+=    gmake
 
+# test status as of 0.19.3
+# 409 passed, 160 skipped, 2 xfailed, 7 warnings
+
 post-build:
        cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC} ${GMAKE} man SPHINXBUILD=sphinx-build-${PYVERSSUFFIX}
 
@@ -47,7 +50,5 @@ post-install:
        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/vdirsyncer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../lang/python/batteries-included.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
-# needed due to py-click
-TEST_ENV+=      LC_ALL=en_US.UTF-8

Index: pkgsrc/time/py-vdirsyncer/PLIST
diff -u pkgsrc/time/py-vdirsyncer/PLIST:1.20 pkgsrc/time/py-vdirsyncer/PLIST:1.21
--- pkgsrc/time/py-vdirsyncer/PLIST:1.20        Mon Aug  7 18:16:15 2023
+++ pkgsrc/time/py-vdirsyncer/PLIST     Thu Sep 12 09:21:03 2024
@@ -1,11 +1,12 @@
-@comment $NetBSD: PLIST,v 1.20 2023/08/07 18:16:15 adam Exp $
+@comment $NetBSD: PLIST,v 1.21 2024/09/12 09:21:03 wiz Exp $
 bin/vdirsyncer
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/vdirsyncer/__init__.py
 ${PYSITELIB}/vdirsyncer/__init__.pyc
 ${PYSITELIB}/vdirsyncer/__init__.pyo
@@ -51,15 +52,15 @@ ${PYSITELIB}/vdirsyncer/storage/base.pyo
 ${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

Index: pkgsrc/time/py-vdirsyncer/distinfo
diff -u pkgsrc/time/py-vdirsyncer/distinfo:1.50 pkgsrc/time/py-vdirsyncer/distinfo:1.51
--- pkgsrc/time/py-vdirsyncer/distinfo:1.50     Mon Aug  7 18:16:15 2023
+++ pkgsrc/time/py-vdirsyncer/distinfo  Thu Sep 12 09:21:03 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.50 2023/08/07 18:16:15 adam Exp $
+$NetBSD: distinfo,v 1.51 2024/09/12 09:21:03 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.3.tar.gz) = 640a1d4a30b0f7d7f46656af63160ab67bb539598845be6eef77cc6823553c58
+SHA512 (vdirsyncer-0.19.3.tar.gz) = 8651282302ad62b2bb6f7655429492dcff959cedc25e932d2e72deb2bb54406c6b5333fecdb14ae8c08ba3c20602856e8466198e24caee298fc9a08545fd3751
+Size (vdirsyncer-0.19.3.tar.gz) = 125478 bytes



Home | Main Index | Thread Index | Old Index