Ticket #32191 (closed submission: fixed)
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
Change History
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@…
- Attachment Portfile.patch added
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:
- openmaintainer is not a valid maintainer by itself. Use nomaintainer.
- Your depends_lib-append statement must be inside of a if {$subport != $name} { block.
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:
- openmaintainer is not a valid maintainer by itself. Use nomaintainer.
- 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@…
- Attachment Portfile.v0.0.9.9 added
complete port file for v0.9.9
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.

