[102008] trunk/dports/python/py-ezpycrypto/Portfile
jmr at macports.org
jmr at macports.org
Thu Jan 24 03:08:53 PST 2013
Revision: 102008
https://trac.macports.org/changeset/102008
Author: jmr at macports.org
Date: 2013-01-24 03:08:53 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
py-ezpycrypto: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-ezpycrypto/Portfile
Modified: trunk/dports/python/py-ezpycrypto/Portfile
===================================================================
--- trunk/dports/python/py-ezpycrypto/Portfile 2013-01-24 10:52:00 UTC (rev 102007)
+++ trunk/dports/python/py-ezpycrypto/Portfile 2013-01-24 11:08:53 UTC (rev 102008)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-ezpycrypto
version 0.1.1
revision 1
categories python security
+license GPL
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description high-level encryption python module building upon py-crypto
long_description ezPyCrypto is a high-level encryption library for \
@@ -18,22 +20,26 @@
the ground up for absolute ease of use, without \
compromising security.
-homepage http://www.freenet.org.nz/ezPyCrypto/
+homepage http://freenet.mcnabhosting.com/python/ezPyCrypto/
master_sites ${homepage}
distname ezPyCrypto-${version}
checksums md5 6e30f9e6a16aca849431568e1a5b0ee1
-depends_lib-append port:py24-crypto
+python.versions 24
-test.run yes
-test.cmd ${python.bin}
-test.env PYTHONPATH=${worksrcpath}/build/lib
-test.target example?.py
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-crypto
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} example1.py example2.py example3.py \
- example4.py example5.py example6.py example7.py example8.py \
- ${destroot}${prefix}/share/doc/${name}/examples
+ test.run yes
+ test.cmd ${python.bin}
+ test.env PYTHONPATH=${worksrcpath}/build/lib
+ test.target example?.py
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} example1.py example2.py example3.py \
+ example4.py example5.py example6.py example7.py example8.py \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/ab5dedb6/attachment.html>
More information about the macports-changes
mailing list