Index | Thread | Search

From:
Stuart Cassoff <exokoide@yahoo.ca>
Subject:
Re: biology/py-biopython: fake needed for tests?
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
Martin Reindl <martin@catai.org>, OpenBSD Ports <ports@openbsd.org>
Date:
Mon, 8 Dec 2025 15:05:50 -0500

Download raw body.

Thread
Add a note?


--- /usr/ports/biology/py-biopython/Makefile	Sun Nov 23 17:01:01 2025
+++ Makefile	Mon Dec  8 15:01:55 2025
@@ -30,6 +30,7 @@ post-install:
 	cd ${WRKSRC}/Doc/examples; tar cf - * | \
 		tar xf - -C ${PREFIX}/share/examples/py-biopython
 
+# Tests need "fake"; "make fake" before "make test".
 do-test:
 	@cd ${WRKSRC}/Tests && \
 		PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \


On Mon, 8 Dec 2025, Stuart Henderson wrote:

> On 2025/12/08 13:55, Stuart Cassoff wrote:
> > Hi,
> > 
> > I'm unable to get the tests to run without doing 'make fake' beforehand.
> > 
> > Changed in r1.33: Update biopython to 1.79.
> > -do-test: fake
> > +do-test:
> > 
> > Am I doing missing something?
> > Is it wrong to have target dependencies like that?
> 
> it's broken with PORTS_PRIVSEP=Yes (which is strongly recommended)
>