Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [maintainer update] topydo 0.14 -> 0.16
To:
Martin Ziemer <horrad@horrad.de>, ports@openbsd.org
Date:
Thu, 19 Feb 2026 09:58:13 +0000

Download raw body.

Thread
On 2026/02/19 09:18, Jeremie Courreges-Anglas wrote:
> On Thu, Feb 12, 2026 at 03:15:57PM +0100, Martin Ziemer wrote:
> > This patch updates topydo from 0.14 to 0.16.
> 
> This appears to require devel/py-test-runner at build time:
> 
>   ERROR Missing dependencies:
>           pytest-runner
> 
> and indeed:
> 
>   pyproject.toml
>   2:requires = ["setuptools", "wheel", "pytest-runner"]
> 
> For now I have locally added
> 
>   BUILD_DEPENDS =	devel/py-test-runner
> 
> since I doubt that the port actually needs that dep at runtime.  But I
> did not look closely.
> 
> Thoughts?

I don't understand why they added it, it doesn't seem to be needed at
all. Maybe it was done for running tests via "python3 setup.py" with old
versions of setuptools, but that doesn't work any more anyway.

I think this is a reasonable fix:

Index: Makefile
===================================================================
RCS file: /cvs/ports/productivity/topydo/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile	18 Feb 2026 15:29:30 -0000	1.4
+++ Makefile	19 Feb 2026 09:51:17 -0000
@@ -13,8 +13,7 @@ MAINTAINER=	Martin Ziemer <horrad@horrad
 # GPLv3+
 PERMIT_PACKAGE=	Yes
 
-TEST_DEPENDS =	devel/py-freezegun \
-		devel/py-test-runner
+TEST_DEPENDS =	devel/py-freezegun
 
 RUN_DEPENDS =	devel/py-arrow \
 		devel/py-urwid  \
Index: patches/patch-pyproject_toml
===================================================================
RCS file: patches/patch-pyproject_toml
diff -N patches/patch-pyproject_toml
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-pyproject_toml	19 Feb 2026 09:51:17 -0000
@@ -0,0 +1,10 @@
+Index: pyproject.toml
+--- pyproject.toml.orig
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "pytest-runner"]
++requires = ["setuptools", "wheel"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.black]