Revision
144351
Author
devans@macports.org
Date
2016-01-06 18:50:08 -0800 (Wed, 06 Jan 2016)

Log Message

py-keyczar: fix port parsing error, python.version python.bin undefined outside of subport.

Modified Paths

Diff

Modified: trunk/dports/python/py-keyczar/Portfile (144350 => 144351)


--- trunk/dports/python/py-keyczar/Portfile	2016-01-07 02:45:10 UTC (rev 144350)
+++ trunk/dports/python/py-keyczar/Portfile	2016-01-07 02:50:08 UTC (rev 144351)
@@ -32,13 +32,13 @@
 fetch.type          git
 worksrcdir          python-keyczar-Python_release_${version}
 
-build.cmd           cd python && ${python.bin} setup.py --no-user-cfg
-destroot.cmd        cd python && ${python.bin} setup.py --no-user-cfg
-
 if {${name} ne ${subport}} {
     depends_lib-append  port:py${python.version}-crypto \
                         port:py${python.version}-asn1 \
                         port:py${python.version}-simplejson
 
+    build.cmd           cd python && ${python.bin} setup.py --no-user-cfg
+    destroot.cmd        cd python && ${python.bin} setup.py --no-user-cfg
+
     livecheck.type      none
 }