Ticket #27358: Portfile

File Portfile, 1.9 KB (added by marshall.perrin@…, 14 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 72493 2010-10-18 09:41:13Z stromnov@macports.org $
3
4PortSystem              1.0
5PortGroup               python27 1.0
6
7name                    py27-ipython
8set my_name             ipython
9version                 0.10.1
10categories              python
11platforms               darwin
12maintainers             akitada openmaintainer
13description             An enhanced Interactive Python shell
14long_description        Provide an interactive shell superior to Python's default. \
15                        Serve as an embeddable, ready to use interpreter for your own programs. \
16                        Offer a flexible framework which can be used as the base environment for \
17                        other systems with Python as the underlying language.  \
18                        Allow interactive testing of threaded graphical toolkits.
19
20homepage                http://ipython.scipy.org/
21master_sites            ${homepage}dist/
22distname                ${my_name}-${version}
23checksums               md5     54ae47079b0e9a0998593a99ce76ec1f \
24                        sha1    1e5cfde5ba6d704e0ccd414e633116e4199d0d7a \
25                        rmd160  c4f0177f466f6bfb32d98e73b5235885bc470871
26
27use_parallel_build      yes
28
29test.run                no
30
31post-destroot {
32    foreach f {ipython pycolor} {
33        ln -s ${python.prefix}/share/man/man1/${f}.1.gz ${destroot}${prefix}/share/man/man1/${f}${python.branch}.1.gz
34    }
35}
36
37variant scientific description "Use ScientificPython to provide physical quantities support" {
38    depends_lib-append      port:py27-scientific
39}
40
41default_variants        +scientific
42universal_variant       no
43
44livecheck.type          regex
45livecheck.url           ${homepage}/moin/Download
46livecheck.regex         ${my_name}-(\\d+(?:\\.\\d+)*)