[101102] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Jan 4 04:02:34 PST 2013


Revision: 101102
          https://trac.macports.org/changeset/101102
Author:   jmr at macports.org
Date:     2013-01-04 04:02:34 -0800 (Fri, 04 Jan 2013)
Log Message:
-----------
py*-dns: unify

Modified Paths:
--------------
    trunk/dports/python/py-dns/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-dns/
    trunk/dports/python/py26-dns/
    trunk/dports/python/py27-dns/

Modified: trunk/dports/python/py-dns/Portfile
===================================================================
--- trunk/dports/python/py-dns/Portfile	2013-01-04 11:55:26 UTC (rev 101101)
+++ trunk/dports/python/py-dns/Portfile	2013-01-04 12:02:34 UTC (rev 101102)
@@ -1,10 +1,10 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-dns
-version			2.3.3
+version			2.3.4
 categories		python net
 license			PSF
 maintainers		nomaintainer
@@ -16,15 +16,19 @@
 
 homepage		http://pydns.sourceforge.net/
 master_sites	sourceforge:pydns
-checksums		md5     40001fb178de5920e7d67c000a782d6a \
-				sha1    f34f125143b0db145e9d4c876b653db69a04f24a \
-				rmd160  948bc070d4fca6ba7d39296b088df939f8c58656
+checksums		md5    f2cd357a101ad7dd2b3f353a8dad51b8 \
+				sha1   5934e0f5c4d2fbb76011e5b6dcec9eee96b08652 \
+				rmd160 77704bd8239d4fb67b83b586e70ccf7d43da612b
 distname		pydns-${version}
 
-post-destroot   {
-	xinstall -m 644 -W ${worksrcpath} CREDITS.txt README-guido.txt \
-		README.txt ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/tests test.py test2.py test4.py \
-		test5.py testPackers.py testsrv.py \
-		${destroot}${prefix}/share/doc/${name}/examples
+python.versions	24 25 26 27
+
+if {$subport != $name} {
+    post-destroot   {
+        xinstall -m 644 -W ${worksrcpath} CREDITS.txt README-guido.txt \
+            README.txt ${destroot}${prefix}/share/doc/${subport}
+        xinstall -m 644 -W ${worksrcpath}/tests test.py test2.py test4.py \
+            test5.py testPackers.py testsrv.py \
+            ${destroot}${prefix}/share/doc/${subport}/examples
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130104/b39faa31/attachment-0001.html>


More information about the macports-changes mailing list