[Bug 198989] math/py-numpy: Fails to register dependency on devel/py-nose with non-default python version
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 28 19:18:29 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198989
Bug ID: 198989
Summary: math/py-numpy: Fails to register dependency on
devel/py-nose with non-default python version
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: john at saltant.com
CC: koobs at FreeBSD.org, python at FreeBSD.org
CC: koobs at FreeBSD.org
Created attachment 154930
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154930&action=edit
Depend on nose module instead of executable
devel/py-nose allows concurrent installation, but tailors its plist based on
whether it is being built against the default version of python. For example,
with
DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.4
PYTHON_VERSION=python3.4
we see that
% pkg info -l -F py27-nose-1.3.4.txz | grep bin
/usr/local/bin/nosetests-2.7
/usr/local/bin/nosetests
% pkg info -l -F py34-nose-1.3.4.txz | grep bin
/usr/local/bin/nosetests-3.4
math/py-numpy depends on devel/py-nose like this:
RUN_DEPENDS=nosetests:${PORTSDIR}/devel/py-nose
So it cannot detect that the dependency is satisfied when
/usr/local/bin/nosetests is not installed.
Without the attached patch:
% pkg info -d -F py34-numpy-1.9.2,1.txz
py34-numpy-1.9.2,1:
blas-3.5.0_3
gcc-4.8.4_1
lapack-3.5.0
py34-setuptools34-5.5.1_1
python34-3.4.3
suitesparse-4.0.2_4
With the attached patch:
% pkg info -d -F py34-numpy-1.9.2_1,1.txz
py34-numpy-1.9.2_1,1:
blas-3.5.0_3
gcc-4.8.4_1
lapack-3.5.0
py34-nose-1.3.4
py34-setuptools34-5.5.1_1
python34-3.4.3
suitesparse-4.0.2_4
This may affect other ports too, though some may actually require a "nosetests"
executable without the version-specific suffix.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list