source: trunk/dports/python/py-urlwatch/Portfile

Last change on this file was 132210, checked in by petr@…, 2 years ago

py-urlwatch: update to 1.17, solves #46673.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 132210 2015-01-26 13:42:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-urlwatch
8version             1.17
9license             BSD
10platforms           darwin
11supported_archs     noarch
12maintainers         nomaintainer
13
14description         a tool for monitoring webpages for updates
15long_description        \
16    urlwatch helps you watch URLs and get notified \(via email or in your \
17    terminal\) of any changes. The change notification will include the URL \
18    that has changed and a unified diff of what has changed, and can also \
19    filter content via hooks, remove noise (always-changing website parts), \
20    etc.
21
22homepage            http://thpinfo.com/2008/urlwatch/
23master_sites        ${homepage}
24distname            urlwatch-${version}
25
26checksums           md5     fb15ca7d3723e3a385ee149d9b19c262 \
27                    rmd160  2630fefb7d1e50f49f3833ce4448f29f4ed458c6 \
28                    sha256  006f04c124cf3dace3d071921e5ed452f6fbd463495bc8aa7879b915407c88f6
29
30livecheck.type      regex
31livecheck.url       ${homepage}
32livecheck.regex     "Current version: (\\d+(?:\\.\\d+)*)"
33
34python.versions     27 34
35
36if {${name} ne ${subport}} {
37    depends_build-append  port:py${python.version}-setuptools
38
39    if { ${python.version} < 32 } {
40        depends_lib-append    port:py${python.version}-futures
41    }
42
43    pre-configure {
44        if { ${python.version} >= 30 } {
45            system "cd ${worksrcpath} && ${worksrcpath}/convert-to-python3.sh"
46        }
47    }
48}
Note: See TracBrowser for help on using the repository browser.