On Mon, Mar 18, 2019 at 12:58:28AM +0000, Stuart Henderson wrote:
> On 2019/03/17 20:52, Kurt Mosiejczuk wrote:
> > On Sun, Mar 17, 2019 at 07:35:52PM -0400, Kurt Mosiejczuk wrote:
> >
> > > So here is the first part adding MODPY_TESTDEP.
> >
> > Here's a version that has a comment as to why MODPY_TEST_DEPENDS is
> > empty
>
> Great, this is OK with me.
I committed this one. Thanks!
Remi
>
> > --Kurt
> >
> > Index: python.port.mk
> > ===================================================================
> > RCS file: /cvs/ports/lang/python/python.port.mk,v
> > retrieving revision 1.100
> > diff -u -p -r1.100 python.port.mk
> > --- python.port.mk 4 Dec 2018 05:57:31 -0000 1.100
> > +++ python.port.mk 17 Mar 2019 23:23:11 -0000
> > @@ -68,6 +68,7 @@ MODPY_WANTLIB = python${MODPY_VERSION}${
> > MODPY_RUN_DEPENDS = lang/python/${MODPY_VERSION}
> > MODPY_LIB_DEPENDS = lang/python/${MODPY_VERSION}
> > _MODPY_BUILD_DEPENDS = lang/python/${MODPY_VERSION}
> > +MODPY_TEST_DEPENDS = # empty, appended by MODPY_PYTEST
> >
> > .if ${NO_BUILD:L} == "no"
> > MODPY_BUILDDEP ?= Yes
> > @@ -75,6 +76,7 @@ MODPY_BUILDDEP ?= Yes
> > MODPY_BUILDDEP ?= No
> > .endif
> > MODPY_RUNDEP ?= Yes
> > +MODPY_TESTDEP ?= Yes
> >
> > .if ${MODPY_BUILDDEP:L} == "yes"
> > BUILD_DEPENDS += ${_MODPY_BUILD_DEPENDS}
> > @@ -82,6 +84,10 @@ BUILD_DEPENDS += ${_MODPY_BUILD_DEPENDS}
> >
> > .if ${MODPY_RUNDEP:L} == "yes"
> > RUN_DEPENDS += ${MODPY_RUN_DEPENDS}
> > +.endif
> > +
> > +.if ${MODPY_TESTDEP:L} == "yes"
> > +TEST_DEPENDS += ${MODPY_TEST_DEPENDS}
> > .endif
> >
> > _MODPY_PRE_BUILD_STEPS = :
> >
>