# -*- 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 breadability name py-${real_name} version 0.1.20 categories-append textproc platforms darwin supported_archs noarch license BSD maintainers hum openmaintainer description Port of Readability HTML parser in Python long_description ${description} homepage https://github.com/bookieio/${real_name} master_sites pypi:b/${real_name}/ distname ${real_name}-${version} checksums rmd160 8d862c9606f2bee49df7eb8007ba6878006c8963 \ sha256 f1a7fdad1e58e295df80954879143824c706bbfb1826cdf4b1d15de1a86afe99 python.versions 27 34 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools depends_lib-append port:py${python.version}-docopt \ port:py${python.version}-chardet \ port:py${python.version}-lxml 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}" }