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

Last change on this file since 100439 was 100439, checked in by jmr@…, 7 years ago

py-urlwatch: license, noarch

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