Opened 12 years ago

Closed 12 years ago

#38161 closed defect (fixed)

py-astropy: numpy should be a library dependency

Reported by: cdeil (Christoph Deil) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: robitaille@…
Port: py-astropy

Description

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.

Change History (2)

comment:1 Changed 12 years ago by robitaille@…

Thanks! Fixed in r103343

comment:2 Changed 12 years ago by robitaille@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.