source: trunk/dports/python/py-mpmath/Portfile @ 146496

Last change on this file since 146496 was 146496, checked in by stromnov@…, 21 months ago

py-mpmath: reformat, add livecheck, update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
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: Portfile 146496 2016-03-09 21:33:27Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-mpmath
8version             0.18
9revision            0
10categories-append   math
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     27
16
17maintainers         stromnov openmaintainer
18
19description         Arbitrary-precision floating-point library for Python
20long_description    ${description}
21
22homepage            http://mpmath.org
23master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
24
25distname            ${python.rootname}-${version}
26
27checksums           rmd160  83979e4e4b9c11158d2a94c52302620ad94d63e5 \
28                    sha256  12306dc2340f59178681fcb28ef4d727702c7ad3e64f81a2d970c4c91afe461e
29
30if {${name} ne ${subport}} {
31    post-destroot {
32       xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
33       xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE \
34          ${destroot}${prefix}/share/doc/${subport}
35    }
36} else {
37    livecheck.type      pypi
38}
Note: See TracBrowser for help on using the repository browser.