Skip to content
Permalink
Browse files

py-sumy: update to 0.7.0, add py37

- use python.rootname and default PyPI livecheck
  • Loading branch information
reneeotten authored and cjones051073 committed Apr 11, 2019
1 parent 4e30c65 commit 2f3c555a1f97127db37865d371387a1c5bc80355
Showing with 17 additions and 18 deletions.
  1. +17 −18 python/py-sumy/Portfile
@@ -3,9 +3,9 @@
PortSystem 1.0
PortGroup python 1.0

set real_name sumy
name py-${real_name}
version 0.3.0
name py-sumy
version 0.7.0
revision 0
categories-append textproc
platforms darwin
supported_archs noarch
@@ -17,23 +17,22 @@ description Module for automatic summarization of text documents and HTM
long_description ${description}

homepage https://github.com/miso-belica/sumy
master_sites pypi:s/${real_name}/
distname ${real_name}-${version}
use_zip yes
master_sites pypi:s/${python.rootname}/
distname ${python.rootname}-${version}

checksums rmd160 081d45a1d5aca397667aeabcc0e6d65d375fc345 \
sha256 f0755f044118fe95a7c5e01dae973a2a894b1a5975b7bb7a7e73e63faad8ab9c
checksums rmd160 bed1aeaabe31a972b4d91cd22eea9fd07a3e1856 \
sha256 c60ba25ed4ce10b4868676f611b147cb8866560d77ea4066ce7106a43ec08409 \
size 55947

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

if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-docopt \
port:py${python.version}-breadability \
port:py${python.version}-nltk

livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/${real_name}
livecheck.regex "${real_name}-(\\d+(?:\\.\\d+)*(-p\\d+)?)${extract.suffix}"
depends_lib-append \
port:py${python.version}-breadability \
port:py${python.version}-docopt \
port:py${python.version}-nltk \
port:py${python.version}-requests \
port:py${python.version}-setuptools

livecheck.type none
}

0 comments on commit 2f3c555

Please sign in to comment.
You can’t perform that action at this time.