Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2015 21:13:00 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Dmitry Sivachenko <demon@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r391233 - head/math/py-numpy
Message-ID:  <CAMHz58R0m4=oOGq9ZHgCH5ubYKR7n%2B6u5wD%2BK4D%2BJDwoOaY%2BXg@mail.gmail.com>
In-Reply-To: <201507031220.t63CKSOY079687@repo.freebsd.org>
References:  <201507031220.t63CKSOY079687@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 3, 2015 at 8:20 PM, Dmitry Sivachenko <demon@freebsd.org> wrote:

> Author: demon
> Date: Fri Jul  3 12:20:28 2015
> New Revision: 391233
> URL: https://svnweb.freebsd.org/changeset/ports/391233
>
> Log:
>   Depend on a particual file, not an executable so it picks up a correct
>   python version.
>
>   PR:           198989
>   Submitted by: John W. O'Brien <john@saltant.com>
>
> Modified:
>   head/math/py-numpy/Makefile
>
> Modified: head/math/py-numpy/Makefile
>
> ==============================================================================
> --- head/math/py-numpy/Makefile Fri Jul  3 12:14:08 2015        (r391232)
> +++ head/math/py-numpy/Makefile Fri Jul  3 12:20:28 2015        (r391233)
> @@ -40,7 +40,7 @@ ATLAS_USES=   blaslapack:atlas
>  NETLIB_USES=   blaslapack:netlib
>  OPENBLAS_USES= blaslapack:openblas
>  SUITESPARSE_LIB_DEPENDS=libumfpack.so:${PORTSDIR}/math/suitesparse
> -TESTS_RUN_DEPENDS=     nosetests:${PORTSDIR}/devel/py-nose
> +TESTS_RUN_DEPENDS=
>  ${PYTHON_SITELIBDIR}/nose/__init__.py:${PORTSDIR}/devel/py-nose
>
>  .include <bsd.port.pre.mk>
>
>
>
Why not use
TESTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}nose>=0:${PORTSDIR}/devel/py-nose?

Regards,
sunpoet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58R0m4=oOGq9ZHgCH5ubYKR7n%2B6u5wD%2BK4D%2BJDwoOaY%2BXg>