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

Last change on this file was 128723, checked in by larryv@…, 3 years ago

py{24,25,26}-dns: Replace with py27-dns

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 128723 2014-11-27 08:51:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-dns
8version             2.3.4
9categories-append   net
10platforms           darwin freebsd
11license             PSF
12maintainers         nomaintainer
13
14description         module for performing DNS queries from python
15long_description    py-dns provides a module for performing DNS \
16                    queries from python applications.
17homepage            http://pydns.sourceforge.net/
18
19supported_archs     noarch
20
21master_sites        sourceforge:pydns
22distname            pydns-${version}
23checksums           md5     f2cd357a101ad7dd2b3f353a8dad51b8 \
24                    sha1    5934e0f5c4d2fbb76011e5b6dcec9eee96b08652 \
25                    rmd160  77704bd8239d4fb67b83b586e70ccf7d43da612b
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    post-destroot {
31        xinstall -m 644 -W ${worksrcpath} \
32                CREDITS.txt README-guido.txt README.txt \
33                ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath}/tests \
35                test.py test2.py test4.py test5.py testPackers.py testsrv.py \
36                ${destroot}${prefix}/share/doc/${subport}/examples
37    }
38}
Note: See TracBrowser for help on using the repository browser.