Skip to content

Commit

Permalink
py-gmpy2: Add py37 subport
Browse files Browse the repository at this point in the history
* Add py37 subport
* Add GitHub username to maintainer
* Add size to checksum
* Use "livecheck.type pypi"
  • Loading branch information
mndavidoff authored and pmetzger committed Aug 20, 2018
1 parent 42c6ae5 commit c17a17d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions python/py-gmpy2/Portfile
Expand Up @@ -7,7 +7,7 @@ name py-gmpy2
epoch 1
version 2.0.8
revision 1
maintainers alluvialsw.com:md14-macports openmaintainer
maintainers {@mndavidoff alluvialsw.com:md14-macports} openmaintainer
license LGPL-2.1+
platforms darwin
description General multiple precision arithmetic module for Python
Expand All @@ -22,9 +22,10 @@ master_sites pypi:g/gmpy2
distname gmpy2-${version}
use_zip yes
checksums rmd160 d7a4f6d8fe370e4565f0af00b903d6b6740e4718 \
sha256 dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f
sha256 dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f \
size 280551

python.versions 27 34 35 36
python.versions 27 34 35 36 37

if {${name} ne ${subport}} {
depends_lib-append port:gmp port:libmpc port:mpfr
Expand All @@ -42,7 +43,5 @@ if {${name} ne ${subport}} {

livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/gmpy2/json
livecheck.regex {gmpy2-(\d+(?:\.\d+)*)\.[tz]}
livecheck.type pypi
}

0 comments on commit c17a17d

Please sign in to comment.