Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: biology/py-biopython: fake needed for tests?
To:
Stuart Cassoff <exokoide@yahoo.ca>
Cc:
Martin Reindl <martin@catai.org>, OpenBSD Ports <ports@openbsd.org>
Date:
Mon, 08 Dec 2025 20:31:17 +0000

Download raw body.

Thread
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 <exokoide@yahoo.ca> 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)
>>