[93518] trunk/dports/python/py-gmpy/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Fri May 25 07:52:11 PDT 2012


Revision: 93518
          https://trac.macports.org/changeset/93518
Author:   macsforever2000 at macports.org
Date:     2012-05-25 07:52:11 -0700 (Fri, 25 May 2012)
Log Message:
-----------
py-gmpy: Update to version 1.15. Unify and remove py24 and add py25, py26, py27, py31 and py32 versions. (#34515)

Modified Paths:
--------------
    trunk/dports/python/py-gmpy/Portfile

Modified: trunk/dports/python/py-gmpy/Portfile
===================================================================
--- trunk/dports/python/py-gmpy/Portfile	2012-05-25 14:24:34 UTC (rev 93517)
+++ trunk/dports/python/py-gmpy/Portfile	2012-05-25 14:52:11 UTC (rev 93518)
@@ -1,32 +1,38 @@
+# -*- 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
 # $Id$
 
-PortSystem 1.0
-PortGroup python24 1.0
+PortSystem          1.0
+PortGroup           python 1.0
 
-name			py-gmpy
-version			1.01
-categories		python
-platforms		darwin
-maintainers		nomaintainer
-description		general MultiPrecision arithmetic module for Python
-long_description	gmpy is a general MultiPrecision arithmetic module for \
-				Python wrapping the GNU arbitrary precision arithmetic \
-				library 'gmp'.
+name                py-gmpy
+version             1.15
+categories          python
+maintainers         nomaintainer
+license             LGPL-2.1+
+platforms           darwin
+description         General multiple precision arithmetic module for Python
+long_description \
+    GMPY is a C-coded Python extension module that supports fast \
+    integer and rational multiple-precision arithmetic using the \
+    GMP library.
 
-homepage		http://gmpy.sourceforge.net/
-master_sites		sourceforge:gmpy
-distname		gmpy-sources-101
-checksums		md5 7b2e951912d4bee9613c35244ca32673
-use_zip			yes
+homepage            http://code.google.com/p/gmpy/
+master_sites        googlecode:gmpy
+distname            gmpy-${version}
+use_zip             yes
+checksums           md5     65b6f19cc414c936e82d189f9b3e4bd2 \
+                    rmd160  a0fcf5639ad66f1b88c937fbef5893d9ed25b079 \
+                    sha1    59147d4307fddceae0b63ca0f8677dc73fa03fb8 \
+                    sha256  6adcffaa2cc0d339b5f69e8891b06f0299a14d90249dd89c37edc82cc4fff24f
 
-depends_lib-append	port:gmp
+python.versions     25 26 27 31 32
+python.default_version 27
 
-worksrcdir		gmpy
+if {$subport != $name} {
+    depends_lib-append  port:gmp
 
-build.env		CFLAGS="-I${prefix}/include" \
-				LDFLAGS="-L${prefix}/lib"
-
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} doc/gmpydoc.txt doc/index.html \
-		README ${destroot}${prefix}/share/doc/${name}
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath} doc/gmpydoc.txt doc/index.html \
+            README ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120525/fb7eaecb/attachment.html>


More information about the macports-changes mailing list