Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [update] vdirsyncer 0.19.3
To:
Remi Locherer <remi.locherer@relo.ch>
Cc:
ports@openbsd.org
Date:
Fri, 27 Dec 2024 22:01:27 +0000

Download raw body.

Thread
On 2024/12/27 22:46, Remi Locherer wrote:
> Hi,
> 
> I waited a long time updating vdirsyncer because digest auth was broken.
> This has been fixed now (or since a while ...).
> 
> The tests succeed if the user running them is allowed to communicate (pf). I 
> also verified that khal which has a dependency on vdirsyncer works.
> 
> The big change in version 0.19.0 was the change to asyncio as backend.
> More infos on changes are recorded in the changelog:
> https://github.com/pimutils/vdirsyncer/blob/main/CHANGELOG.rst

with a hackish port to 7.6 for a machine where I'm running this
regularly, no problems seen there either.

ok sthen, however if you don't think the html docs add much to the
package, you can also get rid of the BUILD_DEPENDS if you like with
this diff on top of yours:

--- Makefile-	Fri Dec 27 21:57:17 2024
+++ Makefile	Fri Dec 27 21:57:44 2024
@@ -1,6 +1,6 @@
 COMMENT =		synchronize calendars and contacts
 
-MODPY_DISTV =	0.19.3
+MODPY_DISTV =		0.19.3
 DISTNAME =		vdirsyncer-${MODPY_DISTV}
 
 CATEGORIES =		productivity
@@ -16,12 +16,7 @@ MODULES =		lang/python
 
 MODPY_PI =		Yes
 MODPY_PYBUILD =		setuptools_scm
-MODPY_PYTEST_ARGS =	tests/
 
-BUILD_DEPENDS =		textproc/py-sphinx>=4.0.2 \
-			textproc/py-sphinx_rtd_theme>=0.4.3 \
-			${RUN_DEPENDS}
-
 RUN_DEPENDS =		devel/py-atomicwrites \
 			www/py-aiohttp \
 			www/py-aiohttp-oauthlib \
@@ -40,18 +35,12 @@ TEST_DEPENDS =		devel/py-hypothesis \
 TEST_ENV +=		DAV_SERVER=skip \
 			DETERMINISTIC_TESTS=true
 
-post-build:
-	cd ${WRKSRC}/docs; ${MAKE_ENV} PYTHONPATH=${WRKSRC} \
-		sphinx-build -b html -d _build/doctrees . _build/html
-
 post-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vdirsyncer
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vdirsyncer
 	cd ${WRKSRC}; ${INSTALL_DATA} AUTHORS.rst CHANGELOG.rst \
 		CONTRIBUTING.rst ISSUE_TEMPLATE.md LICENSE README.rst \
 		${PREFIX}/share/doc/vdirsyncer
-	cd ${WRKSRC}/docs/_build/html && \
-		pax -rw * ${PREFIX}/share/doc/vdirsyncer
 	${INSTALL_DATA} ${WRKSRC}/config.example \
 		${PREFIX}/share/examples/vdirsyncer