From: Stuart Cassoff Subject: Re: biology/py-biopython: fake needed for tests? To: Stuart Henderson Cc: Martin Reindl , OpenBSD Ports Date: Mon, 8 Dec 2025 16:30:30 -0500 It would have saved me time. But I guess I know now. On Mon, 8 Dec 2025, Stuart Henderson wrote: > it's pretty common for python ports to need "make fake" so not sure this really adds much > > --ᅵ > ᅵ Sent from a phone, apologies for poor formatting. > > > On 8 December 2025 20:06:34 Stuart Cassoff wrote: > > 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) > > > >