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

Last change on this file was 153488, checked in by ram@…, 14 months ago

python/py-dnspython: remove README.md installation

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