[MacPorts] #45337: py-graveyard: avoid useless binary package download and buildbot errors

MacPorts noreply at macports.org
Sat Oct 11 21:57:44 PDT 2014


#45337: py-graveyard: avoid useless binary package download and buildbot errors
---------------------------+----------------------
  Reporter:  petr@…        |      Owner:  larryv@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.1
Resolution:                |   Keywords:
      Port:  py-graveyard  |
---------------------------+----------------------

Comment (by larryv@…):

 Could we filter out graveyards specifically? Something like this?
 {{{
 Index: master.cfg
 ===================================================================
 --- master.cfg  (revision 126498)
 +++ master.cfg  (working copy)
 @@ -189,7 +189,8 @@
              # paths should be dports/category/portdir(/...)
              for f in self.build.allFiles():
                  comps = f.split('/')
 -                if len(comps) >= 3 and comps[0] == 'dports' and comps[1]
 != '_resources':
 +                if (len(comps) >= 3 and comps[0] == 'dports' and comps[1]
 != '_resources' and
 +                        !comps[2].endswith('-graveyard')):
                      portset.add(comps[2])
              portlist += ' ' + ' '.join(portset)
              self.setProperty('portlist', portlist)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45337#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list