Files
2021-03-05 11:27:30 -05:00

48 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-mpmath
version 1.2.1
revision 0
categories-append math
platforms darwin
license BSD
supported_archs noarch
python.versions 27 35 36 37 38 39
maintainers {stromnov @stromnov} openmaintainer
description Arbitrary-precision floating-point library for Python
long_description ${description}
homepage http://mpmath.org
checksums rmd160 868453f4c96cf7f55334d6e5c7df94297723d617 \
sha256 79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a \
size 2144222
if {${name} ne ${subport}} {
if {${python.version} < 36} {
version 1.1.0
revision 0
distname ${python.rootname}-${version}
checksums rmd160 7b0ea9200d2b5f9d6a139e8d5b67ecd07e967952 \
sha256 fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6 \
size 512600
} else {
depends_build-append port:py${python.version}-setuptools_scm
}
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE \
${destroot}${prefix}/share/doc/${subport}
}
livecheck.type none
}