[101283] trunk/dports/python/py-rijndael/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 7 08:27:55 PST 2013
Revision: 101283
https://trac.macports.org/changeset/101283
Author: jmr at macports.org
Date: 2013-01-07 08:27:55 -0800 (Mon, 07 Jan 2013)
Log Message:
-----------
py-rijndael: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-rijndael/Portfile
Modified: trunk/dports/python/py-rijndael/Portfile
===================================================================
--- trunk/dports/python/py-rijndael/Portfile 2013-01-07 16:18:42 UTC (rev 101282)
+++ trunk/dports/python/py-rijndael/Portfile 2013-01-07 16:27:55 UTC (rev 101283)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-rijndael
version 1.3
categories python security
+license BSD
maintainers nomaintainer
platforms darwin freebsd
+supported_archs noarch
description Rijndael encryption algorithm for python
long_description A pure python implementation of the Rijndael \
encryption algorithm. Useful for quick string encryption in \
@@ -21,12 +23,16 @@
worksrcdir pyrijndael-${version}
-post-extract {
- file copy ${filespath}/setup.py ${worksrcpath}
- reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
-}
+python.versions 24
-post-destroot {
- xinstall -m 644 -W ${worksrcpath} LICENSE.BSD project.xml readme.html \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ post-extract {
+ file copy ${filespath}/setup.py ${worksrcpath}
+ reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
+ }
+
+ post-destroot {
+ xinstall -m 644 -W ${worksrcpath} LICENSE.BSD project.xml readme.html \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130107/d57488f7/attachment.html>
More information about the macports-changes
mailing list