New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #32191 (closed submission: fixed)

Opened 18 months ago

Last modified 9 months ago

new port: py-netcdf4

Reported by: jswhit@… Owned by: dports@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jason-macports@…, Peter.Danecek@…
Port: py-netcdf4

Description

python interface to the netcdf library (netcdf4-python.google.com)

Attachments

Portfile (1022 bytes) - added by jswhit@… 18 months ago.
Portfile.patch (927 bytes) - added by jason-macports@… 14 months ago.
Portfile patch for v0.9.9
Portfile.v0.0.9.9 (1.1 KB) - added by jason-macports@… 11 months ago.
complete port file for v0.9.9
Portfile.v1.0fix1 (1.2 KB) - added by jason-macports@… 11 months ago.

Change History

Changed 18 months ago by jswhit@…

comment:1 Changed 14 months ago by jason-macports@…

  • I can confirm that this port, in addition to installing netcdf4, resolves problems getting netcdf4 dependent Matplotlib Basemap examples to work, in particular the day-night terminator map example at the bottom, which has a hidden import netcdftime.
  • +1 for getting this in, since it really is a basemap requirement; see ticket #27222 for previous feature request
  • py-matplotlib-basemap will need dep added for py-netcdf4 at least this issue would provide instructions to get things working until py-matplotlib-basemap could be updated

comment:2 Changed 14 months ago by jason-macports@…

  • v0.9.9 was released 2011/12/12
  • mod'd Portfile, built, tested => worked
  • patch file attached

Changed 14 months ago by jason-macports@…

Portfile patch for v0.9.9

comment:3 Changed 14 months ago by macsforever2000@…

  • Version 2.0.3 deleted
  • Port set to py-netcdf4

@jason: Please submit the complete portfile for the 0.9.9 version. We only needs patches for portfiles that are currently in macports.

comment:4 follow-up: ↓ 7 Changed 12 months ago by macsforever2000@…

I see a few issues that need to be corrected:

  1. openmaintainer is not a valid maintainer by itself. Use nomaintainer.
  2. Your depends_lib-append statement must be inside of a if {$subport != $name} { block.

comment:5 Changed 12 months ago by Peter.Danecek@…

  • Cc Peter.Danecek@… added

Cc Me!

comment:6 Changed 11 months ago by jmr@…

  • Cc jason-macports@… added

comment:7 in reply to: ↑ 4 Changed 11 months ago by jason-macports@…

Replying to macsforever2000@…:

I see a few issues that need to be corrected:

  1. openmaintainer is not a valid maintainer by itself. Use nomaintainer.
  2. Your depends_lib-append statement must be inside of a if {$subport != $name} { block.

Sorry for the delay. I only received the last 'Cc me!' email:

  • v0.9.9
    • updated per request
    • added livecheck
  • v1.0fix1
    • changes for v0.9.9, plus version update (requires change worksrcdir as version doesn't match tarball dir

Will re-upload both, as I forgot to take out some of my comments.

Changed 11 months ago by jason-macports@…

complete port file for v0.9.9

Changed 11 months ago by jason-macports@…

comment:8 Changed 9 months ago by dports@…

  • Owner changed from macports-tickets@… to dports@…
  • Status changed from new to assigned

comment:9 Changed 9 months ago by dports@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thanks! Committed in r96477.

I took the worksrcdir line out of the if {$version == "1.0fix1"} block because that will always evaluate to true with this version of the portfile, and should be removed entirely when the version changes.

Note: See TracTickets for help on using tickets.