[101318] trunk/dports/python/py-radix/Portfile
jmr at macports.org
jmr at macports.org
Tue Jan 8 10:53:21 PST 2013
Revision: 101318
https://trac.macports.org/changeset/101318
Author: jmr at macports.org
Date: 2013-01-08 10:53:21 -0800 (Tue, 08 Jan 2013)
Log Message:
-----------
py-radix: use unified portgroup, set license
Modified Paths:
--------------
trunk/dports/python/py-radix/Portfile
Modified: trunk/dports/python/py-radix/Portfile
===================================================================
--- trunk/dports/python/py-radix/Portfile 2013-01-08 18:45:55 UTC (rev 101317)
+++ trunk/dports/python/py-radix/Portfile 2013-01-08 18:53:21 UTC (rev 101318)
@@ -1,11 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-radix
version 0.4
-categories python
+license BSD-old ISC
platforms darwin
maintainers nomaintainer
description radix tree data structure implementation for python
@@ -20,14 +20,18 @@
master_sites http://www2.mindrot.org/files/py-radix/
checksums md5 a3e7a2cb078c009e39633aa4034ad523
-pre-test {
- system "cd ${worksrcpath} && ln -sf build/lib*/radix.so"
-}
-test.run yes
-test.cmd ${python.bin}
-test.target test.py
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ pre-test {
+ system "cd ${worksrcpath} && ln -sf build/lib*/radix.so"
+ }
+ test.run yes
+ test.cmd ${python.bin}
+ test.target test.py
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130108/6e86380f/attachment.html>
More information about the macports-changes
mailing list