Ticket #32459: Portfile

File Portfile, 1.7 KB (added by juhauser@…, 12 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 87664 2011-12-01 01:18:46Z snc@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pytools
8version             2011.5
9revision            1
10python.versions     26 27
11python.default_version  27
12categories-append   science
13
14maintainers         snc openmaintainer
15license             MIT
16
17description         Python tools
18
19long_description    Pytools is a big bag of things that are "missing" from the \
20                    Python standard library. This is mainly a dependency of \
21                    other software packages e.g. pyopencl, and is probably \
22                    of little interest to you unless you use those.
23
24platforms           darwin
25
26
27homepage            http://mathema.tician.de/software/pytools
28master_sites        http://cheeseshop.python.org/packages/source/p/pytools/
29distname            pytools-${version}
30
31checksums           md5     90107519fee21eeb7e712afb2178a568 \
32                    rmd160  31250206a2026646dd293c888bf356307c90799c \
33                    sha256  0727353bc9bb2b1386505f85b43be97efeba4829327e09146a918b404d24057c \
34
35
36if {${subport} != ${name}} {
37    depends_build-append \
38                        port:py${python.version}-distribute \
39                        port:py${python.version}-numpy \
40                        port:py${python.version}-mako
41
42    depends_run-append  port:py${python.version}-decorator
43
44     livecheck.type      none
45} else {
46    livecheck.type      regex
47    livecheck.url       ${master_sites}
48    livecheck.regex     "pytools-(\\d+(?:\\.\\d+)*)${extract.suffix}"
49}