Ticket #42504: Portfile

File Portfile, 1.2 KB (added by someuser12, 10 years ago)
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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pyinterval
8version             1.0b21
9revision            0
10categories-append   math
11platforms           darwin
12license             ?
13supported_archs     noarch
14
15python.versions     26 27 32 33
16
17maintainers         nomaintainer
18
19description         Interval Arithmetic in Python
20
21long_description    ${description}
22
23homepage            http://pypi.python.org/pypi/pyinterval
24master_sites        http://pypi.python.org/packages/source/p/pyinterval/
25
26checksums           rmd160  85b8849d8643e8db644b8d37ae41a8e93daf2e96 \
27                    sha256  83434641a647c6913408f457ffca1fae90a9303b8d0bcc0816a1f5d0ddc1cd34
28
29distname            pyinterval-${version}
30
31depends_lib         port:crlibm
32
33if {${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}