#44283 closed submission (fixed)
py-spectral @0.15.0 New port
Reported by: | lockhart (Thomas Lockhart) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | pixilla (Bradley Giesbrecht), petrrr | |
Port: | py-spectral |
Description
The Python Spectral module support hyperspectral image analysis. It does not seem to have a port available. This package is available in pypi.
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by petrrr
Cc: | petr@… added |
---|
comment:2 follow-up: 3 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | haspatch maintainer removed |
---|---|
Version: | 2.3.1 |
Observations:
- It looks like the license is "GPL-3", not any GPL version.
- Remove the line
depends_lib port:python${python.version
} because that already happens with the python portgroup. - revision 0 is default and should be removed.
python.default_version 27
can also be removed since that is the default.
Changed 10 years ago by lockhart (Thomas Lockhart)
Full portfile for python versions 2.6 and 2.7 using the github PortGroup
comment:3 Changed 10 years ago by lockhart (Thomas Lockhart)
Replying to mf2k@…:
Observations:
- It looks like the license is "GPL-3", not any GPL version.
- Remove the line
depends_lib port:python${python.version
} because that already happens with the python portgroup.- revision 0 is default and should be removed.
python.default_version 27
can also be removed since that is the default.
All issues addressed. Also included an explicit "name py-spectral" since otherwise the name defaulted to "spectral" which does not seem to be consistent with other MacPorts python packages. This solution was borrowed from the py-webpy Portfile.
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in r122474 with these changes:
- Removed line "
depends_lib port:python${python.version}
"; the python portgroup takes care of that. - Removed commented-out
master_sites
line; the github portgroup's defaultmaster_sites
seem to work. - Removed custom livecheck which didn't work; the github portgroup's default livecheck seems to work.
- Fixed checksums: you provided the checksums of the file downloaded from pypi, but the automatically-generated tarball at github has different checksums. Their contents are nearly identical so I stayed with the github tarball.
- Changed
supported_archs
tonoarch
.
comment:6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Failed to build on the buildslaves because:
ImportError: No module named numpy
Added py*-numpy dependency in r122475; now it builds.
Note: See
TracTickets for help on using
tickets.
Cc Me!