Skip to content

Commit

Permalink
py-future: fix setuptools dependency type
Browse files Browse the repository at this point in the history
- modernize checksums
- use default PyPI livecheck
  • Loading branch information
reneeotten authored and pmetzger committed Sep 7, 2018
1 parent c6f49c2 commit aa740fe
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions python/py-future/Portfile
Expand Up @@ -8,6 +8,7 @@ set _n [string index ${_name} 0]

name py-${_name}
version 0.16.0
revision 1
categories-append devel
platforms darwin
supported_archs noarch
Expand All @@ -27,14 +28,14 @@ homepage http://python-future.org/
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}

checksums md5 3e8e88a2bda48d54b1da7634d04760d7 \
rmd160 69456fbc593b4ae123fafca1afb8d58062f44b97 \
sha256 e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb
checksums rmd160 69456fbc593b4ae123fafca1afb8d58062f44b97 \
sha256 e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb \
size 824484

python.versions 27 34 35 36 37

if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-setuptools

# Adding documentation
post-destroot {
Expand All @@ -49,8 +50,4 @@ if {${name} ne ${subport}} {
}

livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
}

0 comments on commit aa740fe

Please sign in to comment.