[Bug 198989] math/py-numpy: Fails to register dependency on devel/py-nose with non-default python version

2015-03-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198989

--- Comment #1 from Kubilay Kocak ko...@freebsd.org ---
Do we know why numpy *depends* on nose at runtime?

Are we sure its not just a TEST_DEPENDS?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org


[Bug 198989] math/py-numpy: Fails to register dependency on devel/py-nose with non-default python version

2015-03-28 Thread bugzilla-noreply
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-b...@freebsd.org
  Reporter: j...@saltant.com
CC: ko...@freebsd.org, pyt...@freebsd.org
CC: ko...@freebsd.org

Created attachment 154930
  -- https://bugs.freebsd.org/bugzilla/attachment.cgi?id=154930action=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.
___
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to freebsd-python-unsubscr...@freebsd.org