# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set real_name sumy name py-${real_name} version 0.3.0 categories-append textproc platforms darwin supported_archs noarch license Apache-2 maintainers hum openmaintainer description Module for automatic summarization of text documents and HTML pages long_description ${description} homepage https://github.com/miso-belica/sumy master_sites pypi:s/${real_name}/ distname ${real_name}-${version} use_zip yes checksums rmd160 081d45a1d5aca397667aeabcc0e6d65d375fc345 \ sha256 f0755f044118fe95a7c5e01dae973a2a894b1a5975b7bb7a7e73e63faad8ab9c python.versions 27 34 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}" }