[101494] trunk/dports/python/py-pow/Portfile
jmr at macports.org
jmr at macports.org
Fri Jan 11 13:47:03 PST 2013
Revision: 101494
https://trac.macports.org/changeset/101494
Author: jmr at macports.org
Date: 2013-01-11 13:47:03 -0800 (Fri, 11 Jan 2013)
Log Message:
-----------
py-pow: use unified portgroup, set license
Modified Paths:
--------------
trunk/dports/python/py-pow/Portfile
Modified: trunk/dports/python/py-pow/Portfile
===================================================================
--- trunk/dports/python/py-pow/Portfile 2013-01-11 21:37:59 UTC (rev 101493)
+++ trunk/dports/python/py-pow/Portfile 2013-01-11 21:47:03 UTC (rev 101494)
@@ -1,12 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-pow
version 0.7
revision 1
categories python security
+license BSD
platforms darwin
maintainers nomaintainer
description Python OpenSSL Wrappers is an interface to the openssl library
@@ -20,19 +21,23 @@
distname POW-${version}
checksums md5 e2d83a9f564cfd0ea1e1aa6488a05247
-#depends_lib-append lib:libssl:openssl
+python.versions 24
-build.env CFLAGS=-I/usr/include LDFLAGS=-L/usr/lib \
- CC=${configure.cc}
+if {$subport != $name} {
+ #depends_lib-append lib:libssl:openssl
-pre-test {
- system "cd ${worksrcpath} && ln -sf build/lib*/POW"
-}
-test.run no
-test.cmd ${python.bin} test/test.py
-test.target
+ build.env CFLAGS=-I/usr/include LDFLAGS=-L/usr/lib \
+ CC=${configure.cc}
-post-destroot {
- xinstall -m 644 ${worksrcpath}/README \
- ${destroot}${prefix}/share/doc/${name}
+ pre-test {
+ system "cd ${worksrcpath} && ln -sf build/lib*/POW"
+ }
+ test.run no
+ test.cmd ${python.bin} test/test.py
+ test.target
+
+ post-destroot {
+ xinstall -m 644 ${worksrcpath}/README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130111/73832070/attachment.html>
More information about the macports-changes
mailing list