[MacPorts] #38161: py-astropy: numpy should be a library dependency
MacPorts
noreply at macports.org
Fri Feb 22 00:08:19 PST 2013
#38161: py-astropy: numpy should be a library dependency
------------------------------+--------------------------------
Reporter: Deil.Christoph@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: py-astropy
------------------------------+--------------------------------
At the moment numpy is declared as a build dependency for astropy:
{{{
depends_build-append port:py${python.version}-numpy
}}}
What just happend to me was that
{{{
sudo port install py33-astropy
}}}
did get a binary astropy version and {{{py33-numpy}}} was not installed
(because no build was done on my machine), and {{{import astropy}}}
failed.
numpy should be a library dependency for astropy, i.e. change Portfile to:
{{{
depends_lib-append port:py${python.version}-numpy
}}}
This is also what e.g. {{{scipy}}} does.
--
Ticket URL: <https://trac.macports.org/ticket/38161>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list