Ticket #44283: Portfile

File Portfile, 1.5 KB (added by lockhart (Thomas Lockhart), 10 years ago)

Full portfile for python versions 2.6 and 2.7 using the github PortGroup

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6PortGroup           github 1.0
7
8github.setup        spectralpython spectral 0.15.0 v
9name                py-spectral
10
11categories-append   science
12license             GPL-3
13platforms           darwin
14supported_archs     i386 x86_64
15
16maintainers         gmail.com:tlockhart1976 openmaintainer
17
18description         Spectral Python (SPy) is a Python module for hyperspectral image processing.
19
20long_description    Spectral Python (SPy) is a pure Python module \
21                    for processing hyperspectral image data (imaging spectroscopy data). \
22                    It has functions for reading, displaying, manipulating, \
23                    and classifying hyperspectral imagery.
24
25homepage            http://spectralpython.net
26# master_sites        http://pypi.python.org/packages/source/s/spectral/ sourceforge:spectralpython
27
28checksums           rmd160  4d69363739d702c308c31b5f9ba27f58a7ae3b6e \
29                    sha256  6a9b56a3d11c659c2e29287bb74323044f70fdc3b0b2624bea0f40f4fae76865
30
31python.versions     26 27
32
33if {${name} ne ${subport}} {
34    depends_lib         port:python${python.version}
35    livecheck.type      none
36} else {
37    livecheck.type      regex
38    livecheck.url       http://sourceforge.net/projects/spectralpython/files/
39    livecheck.regex     "pythonspectral-(\\d+\\.\\d+(?:\\.\\d+)*)/"
40}