[MacPorts] #51391: Update pypi helpers and make python packages to use it

MacPorts noreply at macports.org
Tue May 24 00:57:04 PDT 2016


#51391: Update pypi helpers and make python packages to use it
----------------------------+--------------------------------
  Reporter:  xeron.oskom@…  |      Owner:  macports-tickets@…
      Type:  enhancement    |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:  fixed          |   Keywords:  haspatch
      Port:                 |
----------------------------+--------------------------------
Changes (by raimue@…):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Regarding the attached patch:

 1. `mirrors_sites` already has the new and old URL as of r148868
 1. The proposed livecheck does not seem for all ports
 1. Committed in r148976.

 About the livecheck:

 It seems to be a problem that sometimes JSON is returned instead of XML
 (case-sensitive? for example
 [https://pypi.python.org/pypi?:action=doap&name=abjad abjad] vs.
 [https://pypi.python.org/pypi?:action=doap&name=Abjad Abjad]). However,
 the proposed regex does not always work. For example, for the
 [https://pypi.python.org/pypi/diffoscope/json diffoscope] port, the JSON
 does not contain any "version:" key, so the regex does not match.

 Since the original issue of changed master_sites URLs has been resolved, I
 will close this ticket anyway.

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


More information about the macports-tickets mailing list