[99005] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Oct 23 09:21:14 PDT 2012


Revision: 99005
          http://trac.macports.org//changeset/99005
Author:   jmr at macports.org
Date:     2012-10-23 09:21:14 -0700 (Tue, 23 Oct 2012)
Log Message:
-----------
py*-pyprotocols: unify

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

Removed Paths:
-------------
    trunk/dports/python/py25-pyprotocols/
    trunk/dports/python/py26-pyprotocols/

Modified: trunk/dports/python/py-pyprotocols/Portfile
===================================================================
--- trunk/dports/python/py-pyprotocols/Portfile	2012-10-23 16:16:26 UTC (rev 99004)
+++ trunk/dports/python/py-pyprotocols/Portfile	2012-10-23 16:21:14 UTC (rev 99005)
@@ -1,11 +1,13 @@
 # $Id$
 
 PortSystem			1.0
-PortGroup			python24 1.0
+PortGroup			python 1.0
 
 name				py-pyprotocols
 version				1.0a0dev-r2302
+revision				1
 categories-append		devel
+license				{PSF ZPL}
 maintainers			akitada openmaintainer
 description			Protocol Definition, Declaration, \
 				and Adaptation
@@ -19,7 +21,8 @@
 platforms			darwin
 
 homepage			http://www.turbogears.org/
-master_sites			http://files.turbogears.org/eggs/
+master_sites
+dist_subdir			python
 distname			PyProtocols-${version}
 use_zip				yes
 
@@ -27,13 +30,17 @@
 				sha1 cb6925bb3186de87ff51ba194379d705d4ce9ec9 \
 				rmd160 580e78b65e819a3d74824fe6d9c32212749ae31e
 
-depends_lib			port:py-decoratortools
+python.versions		24 25 26
 
-post-destroot {
-	file delete -force ${destroot}${prefix}/share/doc/${name}
-	file copy ${worksrcpath}/docs/ref \
-		${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath} \
-		CHANGES.txt README.txt TODO.txt UPGRADING.txt \
-		${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+	depends_lib			port:py${python.version}-decoratortools
+
+	post-destroot {
+		file delete -force ${destroot}${prefix}/share/doc/${subport}
+		file copy ${worksrcpath}/docs/ref \
+			${destroot}${prefix}/share/doc/${subport}
+		xinstall -m 644 -W ${worksrcpath} \
+			CHANGES.txt README.txt TODO.txt UPGRADING.txt \
+			${destroot}${prefix}/share/doc/${subport}
+	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121023/93837071/attachment.html>


More information about the macports-changes mailing list