source: trunk/dports/python/py-pyregion/Portfile @ 129172

Last change on this file since 129172 was 129172, checked in by petr@…, 4 years ago

py-pyregion: update to 1.1.4, remove patch, replace py{26,33} subports with py{27,34} respectively

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
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: Portfile 129172 2014-12-08 14:34:46Z petr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           pyregion
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             1.1.4
12categories-append   science
13platforms           darwin
14maintainers         robitaille openmaintainer
15
16description         pyregion is a Python module to parse ds9 region files
17long_description    ${description}
18
19homepage            http://leejjoon.github.com/${_name}/
20master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
21distname            ${_name}-${version}
22
23checksums           md5     332f16542fbe1d6389c6cf27bd92c720 \
24                    rmd160  d174674119afa81b4fa16b38a4d3dcc106ab3346 \
25                    sha256  2d7d5ce46a3b4177978d4901c9c46ce402165113049006b923f5346b014973b9
26
27python.versions     27 34 
28
29if {${name} ne ${subport}} {
30    depends_build-append  port:py${python.version}-numpy
31
32    depends_run-append  port:py${python.version}-matplotlib \
33                        port:py${python.version}-parsing \
34                        port:py${python.version}-astropy
35
36    livecheck.type  none
37} else {
38    livecheck.type  regex
39    livecheck.url   [lindex ${master_sites} 0]
40    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
41}
Note: See TracBrowser for help on using the repository browser.