From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 28 19:18:29 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 849BFEBC for ; Sat, 28 Mar 2015 19:18:29 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F269B6E for ; Sat, 28 Mar 2015 19:18:29 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2SJITGq072872 for ; Sat, 28 Mar 2015 19:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198989] math/py-numpy: Fails to register dependency on devel/py-nose with non-default python version Date: Sat, 28 Mar 2015 19:18:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: john@saltant.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2015 19:18:29 -0000 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@FreeBSD.org Reporter: john@saltant.com CC: koobs@FreeBSD.org, python@FreeBSD.org CC: koobs@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 the assignee for the bug.