Date: Thu, 2 Jan 2025 02:51:07 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 513ffd57ad83 - main - www/py-caldav: Update to 1.4.0 Message-ID: <202501020251.5022p7Eo015363@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=513ffd57ad83e8b72d1622aa66b2c235d495371f commit 513ffd57ad83e8b72d1622aa66b2c235d495371f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-02 02:45:08 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-01-02 02:45:08 +0000 www/py-caldav: Update to 1.4.0 Changes: https://github.com/python-caldav/caldav/releases --- www/py-caldav/Makefile | 19 ++++++++++++------- www/py-caldav/distinfo | 6 +++--- www/py-caldav/files/patch-pyproject.toml | 9 +++++++++ www/py-caldav/files/patch-setup.py | 10 ---------- 4 files changed, 24 insertions(+), 20 deletions(-) diff --git a/www/py-caldav/Makefile b/www/py-caldav/Makefile index 98008e587068..090e4dd29fa2 100644 --- a/www/py-caldav/Makefile +++ b/www/py-caldav/Makefile @@ -1,6 +1,5 @@ PORTNAME= caldav -PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTVERSION= 1.4.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +13,8 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/COPYING.APACHE LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING.GPL -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=0:devel/py-icalendar@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ @@ -22,15 +22,20 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}icalendar>=0:devel/py-icalendar@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}vobject>=0:deskutils/py-vobject@${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 +USES= python:3.9+ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes TEST_ENV= TZ=UTC -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/www/py-caldav/distinfo b/www/py-caldav/distinfo index 7a4f1a4b863e..f46eb25268ac 100644 --- a/www/py-caldav/distinfo +++ b/www/py-caldav/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1684104562 -SHA256 (caldav-1.2.1.tar.gz) = 934d7169d6e51b6e6ed4beef579b3d4008e2e6edac326a70225a32400ead86c9 -SIZE (caldav-1.2.1.tar.gz) = 431692 +TIMESTAMP = 1735705205 +SHA256 (caldav-1.4.0.tar.gz) = 4317131127d8793f740cff2fd256f369321fa49ad750f83d6f31780f7c16c67b +SIZE (caldav-1.4.0.tar.gz) = 141012 diff --git a/www/py-caldav/files/patch-pyproject.toml b/www/py-caldav/files/patch-pyproject.toml new file mode 100644 index 000000000000..5be0c911ad2f --- /dev/null +++ b/www/py-caldav/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2024-11-05 13:34:56 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64", "setuptools-scm[toml]>=7.0"] ++requires = ["setuptools>=61", "setuptools-scm[toml]>=7.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/www/py-caldav/files/patch-setup.py b/www/py-caldav/files/patch-setup.py deleted file mode 100644 index 9bae64eb4227..000000000000 --- a/www/py-caldav/files/patch-setup.py +++ /dev/null @@ -1,10 +0,0 @@ ---- 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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501020251.5022p7Eo015363>