[88789] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Wed Jan 11 12:15:36 PST 2012
Revision: 88789
http://trac.macports.org/changeset/88789
Author: stromnov at macports.org
Date: 2012-01-11 12:15:32 -0800 (Wed, 11 Jan 2012)
Log Message:
-----------
py2*-mhash: unify
Modified Paths:
--------------
trunk/dports/python/py-mhash/Portfile
Added Paths:
-----------
trunk/dports/python/py-mhash/
Removed Paths:
-------------
trunk/dports/python/py-mhash/
trunk/dports/python/py26-mhash/
Modified: trunk/dports/python/py-mhash/Portfile
===================================================================
--- trunk/dports/python/py26-mhash/Portfile 2012-01-11 18:12:56 UTC (rev 88788)
+++ trunk/dports/python/py-mhash/Portfile 2012-01-11 20:15:32 UTC (rev 88789)
@@ -2,10 +2,15 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
-name py26-mhash
+name py-mhash
version 1.4
+revision 1
+categories-append security
+license LGPL
+platforms darwin
+
maintainers stromnov openmaintainer
description A comprehensive Python interface to the mhash library.
@@ -19,18 +24,25 @@
homepage http://labix.org/python-mhash
master_sites http://labix.org/download/python-mhash/
+
distname python-mhash-${version}
checksums md5 b3536ef3474a6459b5f03dee69ab97b6 \
sha1 08bfb86bb51968e0f941181780570a80f08b4616 \
rmd160 dd3dcf019059d6eb24f3d8b55e29f1c7e690289b
-depends_build port:mhash
+python.versions 24 25 26 27
-patchfiles patch-setup.py.diff
+if {$subport != $name} {
+ depends_build-append port:py${python.version}-distribute
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ depends_lib-append port:mhash
+
+ patchfiles patch-setup.py.diff
+
+ post-patch {
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120111/052d3df7/attachment.html>
More information about the macports-changes
mailing list