[100773] trunk/dports/python/py-unit/Portfile
jmr at macports.org
jmr at macports.org
Sun Dec 23 20:24:50 PST 2012
Revision: 100773
https://trac.macports.org/changeset/100773
Author: jmr at macports.org
Date: 2012-12-23 20:24:50 -0800 (Sun, 23 Dec 2012)
Log Message:
-----------
py-unit: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-unit/Portfile
Modified: trunk/dports/python/py-unit/Portfile
===================================================================
--- trunk/dports/python/py-unit/Portfile 2012-12-24 01:11:23 UTC (rev 100772)
+++ trunk/dports/python/py-unit/Portfile 2012-12-24 04:24:50 UTC (rev 100773)
@@ -1,14 +1,16 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-unit
version 1.4.1
revision 1
categories python devel
+license PSF
maintainers nomaintainer
platforms darwin freebsd
+supported_archs noarch
description python testing framework
long_description python testing framework, py-unit is the python \
language version of JUnit
@@ -18,10 +20,14 @@
distname pyunit-${version}
checksums md5 658ff16afc469a3898260cc72bbea993
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
- listtests.py manytests.py widget.py widgettests.py \
- withjpython.py ${destroot}${prefix}/share/doc/${name}/examples
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} doc/PyUnit.html CHANGES \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/examples README alltests.py \
+ listtests.py manytests.py widget.py widgettests.py \
+ withjpython.py ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121223/c0d0b438/attachment-0001.html>
More information about the macports-changes
mailing list