On Fri, Oct 22, 2021 at 08:08:54PM +0100, Stuart Henderson wrote:

> > > > +TESTLIBDIR =           lib.openbsd-${OSREV}-${ARCH}-${MODPY_VERSION}
> > > > +TEST_ENV +=            PYTHONPATH=${TESTLIBDIR}

> > > Do you think we might be able to do this by default in python.port.mk
> > > (at least for ports setting MODPY_PYTEST)?

> > Probably. I mainly haven't since not all ports put things in such a
> > directory. Many just use "lib" without the decorations.

> hmm, maybe lib.openbsd-${OSREV}-${ARCH}-${MODPY_VERSION}:lib would
> make sense, it would be pretty handy if we could automate this,
> the temptation to just self-depends is high if extra steps are
> needed!

That is an excellent point. I'll come up with something.

--Kurt

Reply via email to