Ticket #34462: Portfile

File Portfile, 1.3 KB (added by mndavidoff (Monte Davidoff), 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$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-gmpy2
8version             2.0.0b3
9maintainers         nomaintainer
10license             LGPL-2.1+
11platforms           darwin
12description         General multiple precision arithmetic module for Python
13long_description \
14    GMPY2 is a C-coded Python extension module that supports fast \
15    multiple-precision arithmetic.  GMPY2 supports the GMP library \
16    for integer and rational arithmetic and multiple-precision real \
17    and complex arithmetic as provided by the MPFR and MPC libraries.
18
19homepage            http://code.google.com/p/gmpy/
20master_sites        googlecode:gmpy
21distname            gmpy2-${version}
22use_zip             yes
23checksums           rmd160  bf474feb22a8df8381e8b479195a1f43df3c879c \
24                    sha256  357e726b88f1996ef55cc2e704dacb05efc00edf97d7c239b3c9f2b0af9c7ea6
25
26python.versions     26 27 31 32 33
27python.default_version 27
28
29if {$subport != $name} {
30    depends_lib-append  port:gmp port:libmpc port:mpfr
31
32    post-destroot {
33        xinstall -m 644 -W ${worksrcpath} README \
34            ${destroot}${prefix}/share/doc/${subport}
35    }
36}