source: trunk/dports/python/py-dnspython/Portfile @ 86881

Last change on this file since 86881 was 86881, checked in by ram@…, 8 years ago

python/py-dnspython: don't run livecheck on all subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 86881 2011-11-06 17:58:16Z ram@macports.org $
2
3PortSystem         1.0
4PortGroup          python 1.0
5
6name               py-dnspython
7version            1.9.4
8categories-append  net
9platforms          darwin
10maintainers        ram openmaintainer
11
12description        DNS toolkit for Python
13long_description \
14  dnspython is a DNS toolkit for Python. It supports almost all \
15  record types. It can be used for queries, zone transfers, and \
16  dynamic updates. It supports TSIG authenticated messages and EDNS0.
17
18homepage           http://www.dnspython.org/
19master_sites       ${homepage}kits/${version}
20distname           dnspython-${version}
21
22python.versions    24 25 26 27
23
24checksums          md5 8a89b7865251c4e9d8ec2f8cc9f8cd78 \
25                   sha1 41d00d0f81bc9aba02c5c62e1d4a8ee57810410e \
26                   rmd160 0ec0bb554208b215e8f70b7ebc41414387d6a178
27
28post-destroot {
29  if {${name} != ${subport}} {
30  xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples
31  xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
32    ${destroot}${prefix}/share/doc/${subport}
33  xinstall -m 644 -W ${worksrcpath}/examples ddns.py e164.py \
34    mx.py name.py reverse.py reverse_name.py xfr.py \
35    ${destroot}${prefix}/share/doc/${subport}/examples
36  }
37}
38
39if {${name} == ${subport}} {
40  livecheck.type     regex
41  livecheck.url      ${homepage}
42  livecheck.regex    {is (\d+(?:\.\d+)*),}
43} else {
44  livecheck.type     none
45}
Note: See TracBrowser for help on using the repository browser.