[89519] trunk/dports/python

jwa at macports.org jwa at macports.org
Wed Feb 1 08:40:47 PST 2012


Revision: 89519
          http://trac.macports.org/changeset/89519
Author:   jwa at macports.org
Date:     2012-02-01 08:40:47 -0800 (Wed, 01 Feb 2012)
Log Message:
-----------
unify paramiko port, change checksum set, doesn't build for 3.x

Modified Paths:
--------------
    trunk/dports/python/py-paramiko/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-paramiko/
    trunk/dports/python/py26-paramiko/
    trunk/dports/python/py27-paramiko/

Modified: trunk/dports/python/py-paramiko/Portfile
===================================================================
--- trunk/dports/python/py-paramiko/Portfile	2012-02-01 16:39:34 UTC (rev 89518)
+++ trunk/dports/python/py-paramiko/Portfile	2012-02-01 16:40:47 UTC (rev 89519)
@@ -1,13 +1,15 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem        1.0
-PortGroup         python24 1.0
+PortGroup         python 1.0
 
 name              py-paramiko
 version           1.7.7.1
 categories        python net security
 license           LGPL-2.1+
 platforms         darwin
+python.versions		24 25 26 27
 supported_archs   noarch
 maintainers       jwa openmaintainer
 
@@ -22,17 +24,18 @@
 master_sites      ${homepage}download/
 distname          paramiko-${version}
 
-checksums           md5     ce8e2c254378312a264206f65c354d72 \
-                    sha1    9b40f1757743793e64c935192a474e7307445438 \
-                    rmd160  4b08451a9d73d3b62d1e4b43fbb92108a78ff527
+checksums           rmd160  4b08451a9d73d3b62d1e4b43fbb92108a78ff527 \
+                    sha256  101e7642cbb59574539eaef537d0ef0bb54f1f987cc950f0ada0b050ac245eae
 
-depends_lib-append  port:py-crypto
+if {$subport != $name} {
+    depends_lib-append  port:py${python.version}-crypto
 
-post-destroot {
-  file delete -force ${destroot}${prefix}/share/doc/${name}
-  file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
+    post-destroot {
+        file delete -force ${destroot}${prefix}/share/doc/${subport}
+        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
+    }
 }
 
 livecheck.type    regex
 livecheck.url     ${homepage}
-livecheck.regex   {paramiko ([0-9]+\.[0-9]+\.[0-9]+)}
+livecheck.regex   {paramiko (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120201/6737b96c/attachment-0001.html>


More information about the macports-changes mailing list