[MacPorts] #33707: py-novas_py fetches files during its build phase

MacPorts noreply at macports.org
Thu Mar 22 15:50:34 PDT 2012


#33707: py-novas_py fetches files during its build phase
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  aronnax@…           
     Type:  defect                   |      Status:  new                 
 Priority:  Normal                   |   Milestone:                      
Component:  ports                    |     Version:  2.0.4               
 Keywords:                           |        Port:  py-novas_py         
-------------------------------------+--------------------------------------

Comment(by ryandesign@…):

 Each file that needs to be downloaded would be listed in the port's
 distfiles line, and checksums for each file would be listed as well. Then
 if necessary in post-extract you would move these files into places where
 the build script will recognize them, perhaps even needing to patch the
 build script to not download the files.

 If the distfile names do not contain the novas_py version number (and
 these don't), then you have a problem with [wiki:PortfileRecipes
 #unversioned-distfiles unversioned distfiles] and need to set dist_subdir,
 but that would then cause unnecessary re-downloading and re-mirroring of
 all those files when the novas_py version is increased but those other
 files don't change.

 How are these files used by novas_py? Are they merely installed into a
 particular location and used at runtime? If so, perhaps a separate port
 could be created that only installs these data files, and novas_py could
 then depend on it. That new port (novas_py-data?) could set dist_subdir,
 but wouldn't need to be updated until those files actually change.

-- 
Ticket URL: <https://trac.macports.org/ticket/33707#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list