Commits
Renee Otten authored 44bbbd03f81
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | |
6 - | set _name pyregion |
7 - | set _n [string index ${_name} 0] |
8 - | |
9 - | name py-${_name} |
6 + | name py-pyregion |
10 7 | version 2.0 |
11 8 | categories-append science |
12 9 | platforms darwin |
10 + | license MIT |
13 11 | maintainers nomaintainer |
14 12 | |
15 13 | description pyregion is a Python module to parse ds9 region files |
16 14 | long_description ${description} |
17 15 | |
18 16 | homepage https://github.com/astropy/pyregion |
19 - | master_sites pypi:${_n}/${_name}/ |
20 - | distname ${_name}-${version} |
17 + | master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
18 + | distname ${python.rootname}-${version} |
21 19 | |
22 - | checksums md5 c228b133a1573d2017e0857a9fbf23c5 \ |
23 - | rmd160 fb1bf3b692c799a05b39ba3b284af731502b8df0 \ |
24 - | sha256 a8ac5f764b53ec332f6bc43f6f2193ca13e8b7d5a3fb2e20ced6b2ea42a9d094 |
20 + | checksums rmd160 fb1bf3b692c799a05b39ba3b284af731502b8df0 \ |
21 + | sha256 a8ac5f764b53ec332f6bc43f6f2193ca13e8b7d5a3fb2e20ced6b2ea42a9d094 \ |
22 + | size 1104111 |
25 23 | |
26 - | python.versions 27 34 35 36 37 |
24 + | python.versions 27 35 36 37 |
27 25 | |
28 26 | if {${name} ne ${subport}} { |
29 27 | depends_build-append port:py${python.version}-numpy |
30 28 | |
31 29 | depends_run-append port:py${python.version}-matplotlib \ |
32 30 | port:py${python.version}-parsing \ |
33 31 | port:py${python.version}-astropy |
34 32 | |
35 33 | livecheck.type none |
36 - | } else { |
37 - | livecheck.type regex |
38 - | livecheck.url [lindex ${master_sites} 0] |
39 - | livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" |
40 34 | } |