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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-pytools |
---|
8 | version 2011.5 |
---|
9 | revision 1 |
---|
10 | python.versions 26 27 |
---|
11 | python.default_version 27 |
---|
12 | categories-append science |
---|
13 | |
---|
14 | maintainers snc openmaintainer |
---|
15 | license MIT |
---|
16 | |
---|
17 | description Python tools |
---|
18 | |
---|
19 | long_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 | |
---|
24 | platforms darwin |
---|
25 | |
---|
26 | |
---|
27 | homepage http://mathema.tician.de/software/pytools |
---|
28 | master_sites http://cheeseshop.python.org/packages/source/p/pytools/ |
---|
29 | distname pytools-${version} |
---|
30 | |
---|
31 | checksums md5 90107519fee21eeb7e712afb2178a568 \ |
---|
32 | rmd160 31250206a2026646dd293c888bf356307c90799c \ |
---|
33 | sha256 0727353bc9bb2b1386505f85b43be97efeba4829327e09146a918b404d24057c \ |
---|
34 | |
---|
35 | |
---|
36 | if {${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 | } |
---|