git: 32fd89bf6cc8 - main - www/py-caldav: Update to 0.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 May 2022 14:58:14 UTC
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=32fd89bf6cc88ad92374272e2b5194d783eee24d
commit 32fd89bf6cc88ad92374272e2b5194d783eee24d
Author: Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2022-04-26 17:12:19 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2022-05-19 14:55:20 +0000
www/py-caldav: Update to 0.9.0
https://github.com/python-caldav/caldav/releases
While here
- set the version specifications for RUN_DEPENDS to match any version,
since upstream does not make any requirements
- Enable tests.
Reviewed by: koobs
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35226
---
www/py-caldav/Makefile | 21 ++++++++++++++++-----
www/py-caldav/distinfo | 6 +++---
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/www/py-caldav/Makefile b/www/py-caldav/Makefile
index 6c5193476198..0e8f86ca60db 100644
--- a/www/py-caldav/Makefile
+++ b/www/py-caldav/Makefile
@@ -1,5 +1,5 @@
PORTNAME= caldav
-PORTVERSION= 0.8.2
+PORTVERSION= 0.9.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -10,14 +10,25 @@ COMMENT= CalDAV (RFC4791) client library
LICENSE= APACHE20 GPLv3
LICENSE_COMB= dual
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.6.0:devel/py-lxml@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=2.3.0:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}vobject>=0.8.1:deskutils/py-vobject@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}vobject>=0:deskutils/py-vobject@${PY_FLAVOR}
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=0:devel/py-icalendar@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}radicale>=0:www/radicale@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
+TEST_ENV= TZ=UTC
+
NO_ARCH= yes
+do-test:
+ cd ${WRKSRC}/.. && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+
.include <bsd.port.mk>
diff --git a/www/py-caldav/distinfo b/www/py-caldav/distinfo
index a95689ba20a3..c624867681a4 100644
--- a/www/py-caldav/distinfo
+++ b/www/py-caldav/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639187085
-SHA256 (caldav-0.8.2.tar.gz) = f37dfcecdb6753259a179794ba19ec0bdaf2d28fa745a8b2336c6ed252a0c777
-SIZE (caldav-0.8.2.tar.gz) = 117087
+TIMESTAMP = 1650990948
+SHA256 (caldav-0.9.0.tar.gz) = 6053493d1247fc28796cac58982677b21854dc05e14bb35190fcda4a3f4c6c51
+SIZE (caldav-0.9.0.tar.gz) = 166894