Martynas Venckus [2007-05-21, 22:07:12]:
> Index: python.port.mk
> ===================================================================
> RCS file: /cvs/ports/lang/python/python.port.mk,v
> retrieving revision 1.14
> diff -u -r1.14 python.port.mk
> --- python.port.mk 26 Nov 2006 10:16:22 -0000 1.14
> +++ python.port.mk 21 May 2007 18:55:03 -0000
> @@ -13,12 +13,14 @@
> .endif
> RUN_DEPENDS+= ${MODPY_RUN_DEPENDS}
>
> +.if defined(MODPY_SETUPTOOLS) && ${MODPY_SETUPTOOLS:U} == YES
> # The setuptools module provides a package locator (site.py) that is
> # required at runtime for the pkg_resources stuff to work
> -.if defined(MODPY_SETUPTOOLS) && ${MODPY_SETUPTOOLS:U} == YES
> MODPY_SETUPUTILS_DEPEND?=:py-setuptools-*:devel/py-setuptools
> MODPY_RUN_DEPENDS+= ${MODPY_SETUPUTILS_DEPEND}
> BUILD_DEPENDS+= ${MODPY_SETUPUTILS_DEPEND}
> +# The setuptools uses test target
> +REGRESS_TARGET?= test
> .endif
>
> .if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:U} != YES
> @@ -70,7 +72,7 @@
> . if !target(do-regress) && \
> defined(MODPY_SETUPTOOLS) && ${MODPY_SETUPTOOLS:U} == YES
> do-regress:
> - ${_MODPY_CMD} test
> + ${_MODPY_CMD} ${REGRESS_TARGET}
> . endif
>
> .endif
looks fine to me.
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm