[MacPorts] #44283: py-spectral @0.15.0 New port
#44283: py-spectral @0.15.0 New port ----------------------------------+-------------------------------- Reporter: tlockhart1976@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: haspatch, maintainer | Port: py-spectral ----------------------------------+-------------------------------- The Python Spectral module support hyperspectral image analysis. It does not seem to have a port available. This package is available in pypi. -- Ticket URL: <https://trac.macports.org/ticket/44283> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------------- Reporter: tlockhart1976@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-spectral | ------------------------------+-------------------------------- Changes (by mf2k@…): * keywords: haspatch, maintainer => * version: 2.3.1 => Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/44283#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------------- Reporter: tlockhart1976@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-spectral | ------------------------------+-------------------------------- Comment (by tlockhart1976@…): Replying to [comment:2 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.
-- Ticket URL: <https://trac.macports.org/ticket/44283#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------- Reporter: tlockhart1976@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-spectral | ------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/44283#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------- Reporter: tlockhart1976@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-spectral | ------------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: 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 default `master_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` to `noarch`. -- Ticket URL: <https://trac.macports.org/ticket/44283#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------- Reporter: tlockhart1976@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-spectral | ------------------------------+-------------------------- Comment (by ryandesign@…): Failed to build on the buildslaves because: {{{ ImportError: No module named numpy }}} Added py*-numpy dependency in r122475; now it builds. -- Ticket URL: <https://trac.macports.org/ticket/44283#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44283: py-spectral @0.15.0 New port ------------------------------+-------------------------- Reporter: tlockhart1976@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-spectral | ------------------------------+-------------------------- Comment (by tlockhart1976@…): Thanks! -- Ticket URL: <https://trac.macports.org/ticket/44283#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts