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: updated to 0.18.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7eec9751a069
branches:  trunk
changeset: 454601:7eec9751a069
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 13 17:56:15 2021 +0000

description:
py-vdirsyncer: updated to 0.18.0

Version 0.18.0
==============

Note: Version 0.17 has some alpha releases but ultimately was never finalised.
0.18 actually continues where 0.16 left off.

- Support for Python 3.5 and 3.6 has been dropped. This release mostly focuses
  on keeping vdirsyncer compatible with newer environments.
- click 8 and click-threading 0.5.0 are now required.
- For those using ``pipsi``, we now recommend using ``pipx``, it's successor.
- Python 3.9 is now supported.
- Our Debian/Ubuntu build scripts have been updated. New versions should be
  pushed to those repositories soon.

diffstat:

 time/py-vdirsyncer/Makefile               |  38 ++++++++++++++++--------------
 time/py-vdirsyncer/distinfo               |  11 ++++----
 time/py-vdirsyncer/patches/patch-setup.py |  15 ------------
 3 files changed, 25 insertions(+), 39 deletions(-)

diffs (94 lines):

diff -r 466d5782a247 -r 7eec9751a069 time/py-vdirsyncer/Makefile
--- a/time/py-vdirsyncer/Makefile       Sun Jun 13 17:38:59 2021 +0000
+++ b/time/py-vdirsyncer/Makefile       Sun Jun 13 17:56:15 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.57 2020/12/05 10:06:39 wiz Exp $
+# $NetBSD: Makefile,v 1.58 2021/06/13 17:56:15 adam Exp $
 
-DISTNAME=      vdirsyncer-0.16.8
+DISTNAME=      vdirsyncer-0.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    time python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/vdirsyncer/}
 
@@ -13,26 +12,29 @@
 
 EXTRACT_USING= bsdtar  # gtar cannot handle pre-1970 timestamps
 
-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.2.0:../../devel/py-click-threading
-DEPENDS+=              ${PYPKGPREFIX}-requests>=2.9.1:../../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}-sqlite3-[0-9]*:../../databases/py-sqlite3
-BUILD_DEPENDS+=                ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-BUILD_DEPENDS+=                ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-# tests need DAV_SERVER and REMOTESTORAGE_SERVER environment variables set
-#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-#BUILD_DEPENDS+=       ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+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}-sqlite3-[0-9]*:../../databases/py-sqlite3
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.0.0:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
 
 USE_LANGUAGES=         # none
 INSTALLATION_DIRS=     share/examples/${PKGBASE} ${PKGMANDIR}/man1
 PLIST_SUBST+=          PKGBASE=${PKGBASE}
 
-PYTHON_VERSIONS_INCOMPATIBLE+= 27 # not supported any longer
-PYTHON_VERSIONS_INCOMPATIBLE+= 39 # does not work as of 0.16.8
+PYTHON_SELF_CONFLICT=  yes
+PYSETUPTESTTARGET=     pytest
+
+PYTHON_VERSIONS_INCOMPATIBLE+= 27 36
 
 USE_TOOLS+=    gmake
 
diff -r 466d5782a247 -r 7eec9751a069 time/py-vdirsyncer/distinfo
--- a/time/py-vdirsyncer/distinfo       Sun Jun 13 17:38:59 2021 +0000
+++ b/time/py-vdirsyncer/distinfo       Sun Jun 13 17:56:15 2021 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.43 2020/07/22 06:36:22 wiz Exp $
+$NetBSD: distinfo,v 1.44 2021/06/13 17:56:15 adam Exp $
 
-SHA1 (vdirsyncer-0.16.8.tar.gz) = dfa97e736c0ea085c023ff2b8b901f52291f5a1d
-RMD160 (vdirsyncer-0.16.8.tar.gz) = 7956dbf1f20bcce2ba98bcc51ee6acdd860d89b5
-SHA512 (vdirsyncer-0.16.8.tar.gz) = 12cb50f592085af37bd9c4207c0d31fdd38fc2a44712eb6288b12e7e7ee9af82070d1d405fa9579e935e545e6c92aafb6f8334ebde4976c4eb9412e78e7c5ada
-Size (vdirsyncer-0.16.8.tar.gz) = 115819 bytes
-SHA1 (patch-setup.py) = 4b573d05f7d0fc600f67d566d191e293e9af48b5
+SHA1 (vdirsyncer-0.18.0.tar.gz) = d5332aad4c29b4bbe27abdba93ab2c3b159d8759
+RMD160 (vdirsyncer-0.18.0.tar.gz) = 0fb6ab878d41feb0d98cb7bd04583f75c6bd2f52
+SHA512 (vdirsyncer-0.18.0.tar.gz) = 7fb3d0f7d982d8390d278de1a620231e6ead1ec64057c5dbac98dcff491fa3e6b9ed8ba953995458e393aab73b0b9ab8ba14010e06f90a04d8ee2c28c7c7fbfd
+Size (vdirsyncer-0.18.0.tar.gz) = 115125 bytes
diff -r 466d5782a247 -r 7eec9751a069 time/py-vdirsyncer/patches/patch-setup.py
--- a/time/py-vdirsyncer/patches/patch-setup.py Sun Jun 13 17:38:59 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.py,v 1.3 2020/07/22 06:36:22 wiz Exp $
-
-Remove upper bound for click to make pkgsrc versions be accepted.
-
---- setup.py.orig      2020-06-09 12:14:43.000000000 +0000
-+++ setup.py
-@@ -11,7 +11,7 @@ from setuptools import Command, find_pac
- 
- 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



Home | Main Index | Thread Index | Old Index