[146496] trunk/dports/python/py-mpmath/Portfile

stromnov at macports.org stromnov at macports.org
Wed Mar 9 13:33:27 PST 2016


Revision: 146496
          https://trac.macports.org/changeset/146496
Author:   stromnov at macports.org
Date:     2016-03-09 13:33:27 -0800 (Wed, 09 Mar 2016)
Log Message:
-----------
py-mpmath: reformat, add livecheck, update homepage

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

Modified: trunk/dports/python/py-mpmath/Portfile
===================================================================
--- trunk/dports/python/py-mpmath/Portfile	2016-03-09 21:30:07 UTC (rev 146495)
+++ trunk/dports/python/py-mpmath/Portfile	2016-03-09 21:33:27 UTC (rev 146496)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -5,31 +6,33 @@
 
 name                py-mpmath
 version             0.18
+revision            0
 categories-append   math
+platforms           darwin
 license             BSD
+supported_archs     noarch
+
+python.versions     27
+
 maintainers         stromnov openmaintainer
 
 description         Arbitrary-precision floating-point library for Python
-long_description \
-   Mpmath is a pure-Python library for arbitrary-precision floating-point \
-   arithmetic that implements an extensive set of mathematical functions.
+long_description    ${description}
 
-platforms           darwin
-supported_archs     noarch
+homepage            http://mpmath.org
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-homepage            http://code.google.com/p/mpmath/
-master_sites        googlecode:mpmath
-distname            mpmath-${version}
+distname            ${python.rootname}-${version}
 
 checksums           rmd160  83979e4e4b9c11158d2a94c52302620ad94d63e5 \
                     sha256  12306dc2340f59178681fcb28ef4d727702c7ad3e64f81a2d970c4c91afe461e
 
-python.versions     27
-
 if {${name} ne ${subport}} {
     post-destroot {
        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE \
           ${destroot}${prefix}/share/doc/${subport}
     }
+} else {
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160309/ec9b6147/attachment.html>


More information about the macports-changes mailing list