Last change
on this file was
132210,
checked in by petr@…, 3 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 petr@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-urlwatch |
---|
8 | version 1.17 |
---|
9 | license BSD |
---|
10 | platforms darwin |
---|
11 | supported_archs noarch |
---|
12 | maintainers nomaintainer |
---|
13 | |
---|
14 | description a tool for monitoring webpages for updates |
---|
15 | long_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 | |
---|
22 | homepage http://thpinfo.com/2008/urlwatch/ |
---|
23 | master_sites ${homepage} |
---|
24 | distname urlwatch-${version} |
---|
25 | |
---|
26 | checksums md5 fb15ca7d3723e3a385ee149d9b19c262 \ |
---|
27 | rmd160 2630fefb7d1e50f49f3833ce4448f29f4ed458c6 \ |
---|
28 | sha256 006f04c124cf3dace3d071921e5ed452f6fbd463495bc8aa7879b915407c88f6 |
---|
29 | |
---|
30 | livecheck.type regex |
---|
31 | livecheck.url ${homepage} |
---|
32 | livecheck.regex "Current version: (\\d+(?:\\.\\d+)*)" |
---|
33 | |
---|
34 | python.versions 27 34 |
---|
35 | |
---|
36 | if {${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.