Opened 10 years ago

Closed 9 years ago

#47009 closed defect (fixed)

Update github url for open source data in py-cartopy

Reported by: essandess (Steve Smith) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: py-cartopy

Description

The github structure has changed for open source zip files used by this project.

Use this edit to the file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cartopy/io/shapereader.py

    # https://github.com/nvkelso/natural-earth-vector/blob/v2.0/zips/110m_physical/ne_110m_ocean.zip
    # _NE_URL_TEMPLATE = ('https://github.com/nvkelso/natural-earth-vector/'
                        # 'raw/master/zips/{resolution}_{category}/'
                        # 'ne_{resolution}_{name}.zip')
    _NE_URL_TEMPLATE = ('https://github.com/nvkelso/natural-earth-vector/'
                        'blob/v2.0/zips/{resolution}_{category}/'
                        'ne_{resolution}_{name}.zip?raw=true')

Change History (3)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to petr@…

Thanks. In future tickets, please Cc relevant port maintainers (port info --maintainers py-cartopy).

comment:2 Changed 10 years ago by petrrr

Thanks for the report.

Note that here we only maintain the port of this software not cartopy itself. It is somewhat difficulties to evaluate your fix. If we need to apply a patch, it would be very helpful to completely understand what change makes this fix necessary and if the patch is appropriate.

Probably your fix would be best handled upstream and we then can update to the new release. You may reference the report here, so we can understand how to handle this in the meantime.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

This appears to have been changed to a different URL in 0.12.0 (or earlier).

Note: See TracTickets for help on using tickets.