[MacPorts] #50874: python 1.0 portgroup should clear distfiles for main (stub) port

MacPorts noreply at macports.org
Fri Mar 11 15:27:53 PST 2016


#50874: python 1.0 portgroup should clear distfiles for main (stub) port
--------------------------+--------------------------
 Reporter:  ryandesign@…  |      Owner:  ryandesign@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.4
 Keywords:                |       Port:
--------------------------+--------------------------
 For example, py-htmldocs is a stub port -- it itself does not install
 anything (only its subports do) -- yet:

 {{{
 $ port distfiles py-htmldocs
 --->  Distfiles for py-htmldocs
 [py-htmldocs-1.0.tar.bz2] /opt/local/var/macports/distfiles/py-htmldocs
 /py-htmldocs-1.0.tar.bz2
   http://www.python.org/ftp/python/doc/py-htmldocs-1.0.tar.bz2
   http://distfiles.macports.org/py-htmldocs/py-htmldocs-1.0.tar.bz2
   http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/py-
 htmldocs/py-htmldocs-1.0.tar.bz2
   http://cjj.kr.distfiles.macports.org/py-htmldocs/py-htmldocs-1.0.tar.bz2
   http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-
 htmldocs/py-htmldocs-1.0.tar.bz2
   http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/py-
 htmldocs/py-htmldocs-1.0.tar.bz2
   http://jnb.za.distfiles.macports.org/distfiles/py-htmldocs/py-
 htmldocs-1.0.tar.bz2
   http://jog.id.distfiles.macports.org/macports/mpdistfiles/py-htmldocs
 /py-htmldocs-1.0.tar.bz2
   http://lil.fr.distfiles.macports.org/py-htmldocs/py-htmldocs-1.0.tar.bz2
   http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-
 htmldocs/py-htmldocs-1.0.tar.bz2
   http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org
 /py-htmldocs/py-htmldocs-1.0.tar.bz2
   http://nue.de.distfiles.macports.org/macports/distfiles/py-htmldocs/py-
 htmldocs-1.0.tar.bz2
   http://osl.no.distfiles.macports.org/py-htmldocs/py-htmldocs-1.0.tar.bz2
   http://sea.us.distfiles.macports.org/macports/distfiles/py-htmldocs/py-
 htmldocs-1.0.tar.bz2
   http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/py-htmldocs
 /py-htmldocs-1.0.tar.bz2
   http://svn.macports.org/repository/macports/distfiles/py-htmldocs/py-
 htmldocs-1.0.tar.bz2
 }}}

 Note that the file "py-htmldocs-1.0.tar.bz2" does not exist anywhere. The
 subports of py-htmldocs set different distnames.

 The consequence of this is that anyone trying to fetch distfiles for all
 ports -- such as our distfiles mirror -- repeatedly request nonexistent
 files from web servers -- both from our distfiles mirror itself as well as
 other listed upstream servers and MacPorts mirrors. This wastes bandwidth
 and time.

 The python portgroup should clear the distfiles variable for the stub
 port. The php 1.1 portgroup does this and can be used as an example.

-- 
Ticket URL: <https://trac.macports.org/ticket/50874>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list