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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-gmpy2 |
---|
8 | version 2.0.0b3 |
---|
9 | maintainers nomaintainer |
---|
10 | license LGPL-2.1+ |
---|
11 | platforms darwin |
---|
12 | description General multiple precision arithmetic module for Python |
---|
13 | long_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 | |
---|
19 | homepage http://code.google.com/p/gmpy/ |
---|
20 | master_sites googlecode:gmpy |
---|
21 | distname gmpy2-${version} |
---|
22 | use_zip yes |
---|
23 | checksums rmd160 bf474feb22a8df8381e8b479195a1f43df3c879c \ |
---|
24 | sha256 357e726b88f1996ef55cc2e704dacb05efc00edf97d7c239b3c9f2b0af9c7ea6 |
---|
25 | |
---|
26 | python.versions 26 27 31 32 33 |
---|
27 | python.default_version 27 |
---|
28 | |
---|
29 | if {$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 | } |
---|