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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pyinterval |
---|
8 | version 1.0b21 |
---|
9 | revision 0 |
---|
10 | categories-append math |
---|
11 | platforms darwin |
---|
12 | license ? |
---|
13 | supported_archs noarch |
---|
14 | |
---|
15 | python.versions 26 27 32 33 |
---|
16 | |
---|
17 | maintainers nomaintainer |
---|
18 | |
---|
19 | description Interval Arithmetic in Python |
---|
20 | |
---|
21 | long_description ${description} |
---|
22 | |
---|
23 | homepage http://pypi.python.org/pypi/pyinterval |
---|
24 | master_sites http://pypi.python.org/packages/source/p/pyinterval/ |
---|
25 | |
---|
26 | checksums rmd160 85b8849d8643e8db644b8d37ae41a8e93daf2e96 \ |
---|
27 | sha256 83434641a647c6913408f457ffca1fae90a9303b8d0bcc0816a1f5d0ddc1cd34 |
---|
28 | |
---|
29 | distname pyinterval-${version} |
---|
30 | |
---|
31 | depends_lib port:crlibm |
---|
32 | |
---|
33 | if {${name} ne ${subport}} { |
---|
34 | depends_build-append port:py${python.version}-setuptools |
---|
35 | |
---|
36 | livecheck.type none |
---|
37 | } else { |
---|
38 | livecheck.type regex |
---|
39 | livecheck.url ${master_sites} |
---|
40 | livecheck.regex "pyinterval-(\\d+(?:\\.\\d+)*\[a-z\]?\\d*)\.\[tz\]" |
---|
41 | } |
---|