[106450] trunk/dports/python
jmr at macports.org
jmr at macports.org
Sun May 26 17:10:57 PDT 2013
Revision: 106450
https://trac.macports.org/changeset/106450
Author: jmr at macports.org
Date: 2013-05-26 17:10:57 -0700 (Sun, 26 May 2013)
Log Message:
-----------
py26-dispatcher: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-dispatcher/Portfile
Added Paths:
-----------
trunk/dports/python/py-dispatcher/
Removed Paths:
-------------
trunk/dports/python/py26-dispatcher/
Modified: trunk/dports/python/py-dispatcher/Portfile
===================================================================
--- trunk/dports/python/py26-dispatcher/Portfile 2013-05-26 22:24:45 UTC (rev 106446)
+++ trunk/dports/python/py-dispatcher/Portfile 2013-05-27 00:10:57 UTC (rev 106450)
@@ -2,12 +2,14 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-dispatcher
+name py-dispatcher
version 2.0.1
categories-append devel
+license BSD
platforms darwin
+supported_archs noarch
maintainers dh openmaintainer
description python dispatcher mechanism for creating event models
long_description PyDispatcher provides the Python programmer with a \
@@ -22,14 +24,18 @@
sha1 1ad6f2feb48ff2ff53d23faacfcc00cc627b078b \
rmd160 601836d7a6333043be8063f81e90573637cfd7e5
-depends_build port:py26-distribute
+python.versions 26
-test.run yes
-test.cmd ${python.bin} tests/test.py
-test.env PYTHONPATH=${worksrcpath}/build/lib
-test.target
+if {$subport != $name} {
+ depends_build port:py${python.version}-distribute
-post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
+ test.run yes
+ test.cmd ${python.bin} tests/test.py
+ test.env PYTHONPATH=${worksrcpath}/build/lib
+ test.target
+
+ post-destroot {
+ file delete -force ${destroot}${prefix}/share/doc/${subport}
+ file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130526/c489c4a4/attachment.html>
More information about the macports-changes
mailing list