git: 9bb35850b380 - main - www/py-caldav: Update to 0.11.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:11:13 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9bb35850b3801640ce957ee12ce5ce003596a926 commit 9bb35850b3801640ce957ee12ce5ce003596a926 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-01-30 12:34:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-01-30 13:00:21 +0000 www/py-caldav: Update to 0.11.0 - Add LICENSE_FILE - Convert to USE_PYTHON=pytest - Take maintainership Changes: https://github.com/python-caldav/caldav/releases --- www/py-caldav/Makefile | 27 +++++++++++++-------------- www/py-caldav/distinfo | 6 +++--- www/py-caldav/files/patch-setup.py | 10 ++++++++++ 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/www/py-caldav/Makefile b/www/py-caldav/Makefile index deffe41aaa06..14e68035be1f 100644 --- a/www/py-caldav/Makefile +++ b/www/py-caldav/Makefile @@ -1,35 +1,34 @@ PORTNAME= caldav -PORTVERSION= 0.9.0 +PORTVERSION= 0.11.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= CalDAV (RFC4791) client library WWW= https://github.com/python-caldav/caldav LICENSE= APACHE20 GPLv3 LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/COPYING.APACHE +LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPL -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=0:devel/py-icalendar@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}recurring-ical-events>=1.1.0b:devel/py-recurring-ical-events@${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} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}radicale>=0:www/radicale@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xandikos>=0:www/py-xandikos@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist distutils - -TEST_ENV= TZ=UTC +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes - -do-test: - cd ${WRKSRC}/.. && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= +TEST_ENV= TZ=UTC .include <bsd.port.mk> diff --git a/www/py-caldav/distinfo b/www/py-caldav/distinfo index c624867681a4..90f25021ad32 100644 --- a/www/py-caldav/distinfo +++ b/www/py-caldav/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650990948 -SHA256 (caldav-0.9.0.tar.gz) = 6053493d1247fc28796cac58982677b21854dc05e14bb35190fcda4a3f4c6c51 -SIZE (caldav-0.9.0.tar.gz) = 166894 +TIMESTAMP = 1674590028 +SHA256 (caldav-0.11.0.tar.gz) = 00426ebb02f2328e43932216d1846ea9a12f8d715ada12bee4b39dc584d90b18 +SIZE (caldav-0.11.0.tar.gz) = 293649 diff --git a/www/py-caldav/files/patch-setup.py b/www/py-caldav/files/patch-setup.py new file mode 100644 index 000000000000..9bae64eb4227 --- /dev/null +++ b/www/py-caldav/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2022-11-21 23:44:22 UTC ++++ setup.py +@@ -30,7 +30,6 @@ if __name__ == "__main__": + + test_packages = [ + "pytest", +- "pytest-coverage", + "icalendar", + "coverage", + "tzlocal",