[99006] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Oct 23 09:38:17 PDT 2012


Revision: 99006
          http://trac.macports.org//changeset/99006
Author:   jmr at macports.org
Date:     2012-10-23 09:38:17 -0700 (Tue, 23 Oct 2012)
Log Message:
-----------
py*-ruledispatch: unify

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

Removed Paths:
-------------
    trunk/dports/python/py25-ruledispatch/

Modified: trunk/dports/python/py-ruledispatch/Portfile
===================================================================
--- trunk/dports/python/py-ruledispatch/Portfile	2012-10-23 16:21:14 UTC (rev 99005)
+++ trunk/dports/python/py-ruledispatch/Portfile	2012-10-23 16:38:17 UTC (rev 99006)
@@ -1,26 +1,33 @@
 # $Id$
 
 PortSystem			1.0
-PortGroup			python24 1.0
+PortGroup			python 1.0
 
 name				py-ruledispatch
 version				0.5a0.dev-r2306
 categories-append		devel
+license				{PSF ZPL}
 maintainers			akitada openmaintainer
 description			Rule-based Dispatching and Generic Functions
 long_description		Rule-based Dispatching and Generic Functions
 platforms			darwin
 
 homepage			http://www.turbogears.org/
-master_sites			http://files.turbogears.org/eggs/
+master_sites
+dist_subdir			python
 distname			RuleDispatch-${version}
 
 checksums			md5 fc716f2e2d6247fb8e3b50f0e6476bcd \
 				sha1 009fe952a3d469d31a656083ef951a61efa52dd6 \
 				rmd160 e109c1df8f164993c3236af60397d61029040259
-depends_lib			port:py-pyprotocols
 
-post-destroot {
-	xinstall -m 644 -W ${worksrcpath} \
-		TODO.txt ${destroot}${prefix}/share/doc/${name}
+python.versions		24 25
+
+if {$subport != $name} {
+	depends_lib			port:py${python.version}-pyprotocols
+
+	post-destroot {
+		xinstall -m 644 -W ${worksrcpath} \
+			TODO.txt ${destroot}${prefix}/share/doc/${subport}
+	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121023/bda1927d/attachment-0001.html>


More information about the macports-changes mailing list