# -*- 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 name py-urlwatch version 1.17 license BSD platforms darwin supported_archs noarch maintainers nomaintainer description a tool for monitoring webpages for updates long_description \ urlwatch helps you watch URLs and get notified \(via email or in your \ terminal\) of any changes. The change notification will include the URL \ that has changed and a unified diff of what has changed, and can also \ filter content via hooks, remove noise (always-changing website parts), \ etc. homepage http://thpinfo.com/2008/urlwatch/ master_sites ${homepage} distname urlwatch-${version} checksums md5 fb15ca7d3723e3a385ee149d9b19c262 \ rmd160 2630fefb7d1e50f49f3833ce4448f29f4ed458c6 \ sha256 006f04c124cf3dace3d071921e5ed452f6fbd463495bc8aa7879b915407c88f6 livecheck.type regex livecheck.url ${homepage} livecheck.regex "Current version: (\\d+(?:\\.\\d+)*)" python.versions 27 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools if { ${python.version} < 32 } { depends_lib-append port:py${python.version}-futures } pre-configure { if { ${python.version} >= 30 } { system "cd ${worksrcpath} && ${worksrcpath}/convert-to-python3.sh" } } }