[100886] trunk/dports/python/py-tarfile/Portfile
jmr at macports.org
jmr at macports.org
Sun Dec 30 21:06:47 PST 2012
Revision: 100886
https://trac.macports.org/changeset/100886
Author: jmr at macports.org
Date: 2012-12-30 21:06:47 -0800 (Sun, 30 Dec 2012)
Log Message:
-----------
py-tarfile: use unified portgroup, set license
Modified Paths:
--------------
trunk/dports/python/py-tarfile/Portfile
Modified: trunk/dports/python/py-tarfile/Portfile
===================================================================
--- trunk/dports/python/py-tarfile/Portfile 2012-12-31 04:14:09 UTC (rev 100885)
+++ trunk/dports/python/py-tarfile/Portfile 2012-12-31 05:06:47 UTC (rev 100886)
@@ -1,11 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-tarfile
version 0.7.5
-categories python
+license MIT
platforms darwin freebsd
maintainers nomaintainer
description implementation of the tar format as modules for Python
@@ -21,14 +21,18 @@
distname tarfile-${version}
checksums md5 56b67b2706e27898b2e7434356139701
-test.run yes
-test.cmd ${python.bin} test_tarfile.py
-test.target
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath}/doc lib.css module-tarfile.html \
- tar-examples.html tarfile-objects.html tarinfo-objects.html \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} HISTORY README README.python-2.x \
- TODO ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ test.run yes
+ test.cmd ${python.bin} test_tarfile.py
+ test.target
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath}/doc lib.css module-tarfile.html \
+ tar-examples.html tarfile-objects.html tarinfo-objects.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} HISTORY README README.python-2.x \
+ TODO ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121230/4e45b73c/attachment.html>
More information about the macports-changes
mailing list