git: 2487abc9b2ee - main - www/py-webdavclient3: new port

From: Michael Osipov <michaelo_at_FreeBSD.org>
Date: Thu, 17 Sep 2026 09:41:57 UTC
The branch main has been updated by michaelo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2487abc9b2ee2e2acce0116319424a3cc3a3f0e3

commit 2487abc9b2ee2e2acce0116319424a3cc3a3f0e3
Author:     Michael Osipov <michaelo@FreeBSD.org>
AuthorDate: 2026-09-17 09:31:55 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-09-17 09:41:16 +0000

    www/py-webdavclient3:  new port
    
    WebDAV client library based on requests, providing a Webdav API
    (check, free, info, list, mkdir, clean, copy, move, download,
    upload, publish, unpublish) and a higher-level Resource API.
---
 www/Makefile                   |  1 +
 www/py-webdavclient3/Makefile  | 28 ++++++++++++++++++++++++++++
 www/py-webdavclient3/distinfo  |  3 +++
 www/py-webdavclient3/pkg-descr |  7 +++++++
 4 files changed, 39 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 20c3a089f639..40ba0270832a 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2026,6 +2026,7 @@
     SUBDIR += py-wcag-contrast-ratio
     SUBDIR += py-webargs
     SUBDIR += py-webassets
+    SUBDIR += py-webdavclient3
     SUBDIR += py-webdriver_manager
     SUBDIR += py-webob
     SUBDIR += py-websocket-client
diff --git a/www/py-webdavclient3/Makefile b/www/py-webdavclient3/Makefile
new file mode 100644
index 000000000000..d4d1e9ffc924
--- /dev/null
+++ b/www/py-webdavclient3/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	webdavclient3
+PORTVERSION=	3.14.7
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	michaelo@FreeBSD.org
+COMMENT=	WebDAV client library based on requests
+WWW=		https://github.com/ezhov-evgeny/webdav-client-python-3
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e '/^script-files = /d' ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/www/py-webdavclient3/distinfo b/www/py-webdavclient3/distinfo
new file mode 100644
index 000000000000..dde0e4795e8a
--- /dev/null
+++ b/www/py-webdavclient3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789636573
+SHA256 (webdavclient3-3.14.7.tar.gz) = 6c04252b579bc015cec78081480c63eadf1030f382768248777c6203f059b3f5
+SIZE (webdavclient3-3.14.7.tar.gz) = 30836
diff --git a/www/py-webdavclient3/pkg-descr b/www/py-webdavclient3/pkg-descr
new file mode 100644
index 000000000000..c202366ed2b9
--- /dev/null
+++ b/www/py-webdavclient3/pkg-descr
@@ -0,0 +1,7 @@
+Package webdavclient3 provides an easy way to work with WebDAV servers.
+It implements a Webdav API (check, free, info, list, mkdir, clean, copy,
+move, download, upload, publish, unpublish) and a higher-level, object-
+oriented Resource API for working with cloud storage resources.
+
+Based on the original webdav-client-python but uses requests instead
+of PyCURL.