[117816] trunk/dports/python/py-blist/Portfile

stromnov at macports.org stromnov at macports.org
Thu Mar 13 12:16:42 PDT 2014


Revision: 117816
          https://trac.macports.org/changeset/117816
Author:   stromnov at macports.org
Date:     2014-03-13 12:16:42 -0700 (Thu, 13 Mar 2014)
Log Message:
-----------
py-blist: update to version 1.3.6

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

Modified: trunk/dports/python/py-blist/Portfile
===================================================================
--- trunk/dports/python/py-blist/Portfile	2014-03-13 17:58:19 UTC (rev 117815)
+++ trunk/dports/python/py-blist/Portfile	2014-03-13 19:16:42 UTC (rev 117816)
@@ -5,13 +5,13 @@
 PortGroup           python 1.0
 
 name                py-blist
-version             1.3.4
-revision            3
+version             1.3.6
+revision            0
 categories-append   devel
 platforms           darwin
 license             BSD
 
-python.versions     26 27 31 32 33
+python.versions     26 27 31 32 33 34
 
 maintainers         stromnov phw openmaintainer
 
@@ -24,15 +24,22 @@
 
 distname            blist-${version}
 
-checksums           rmd160  1409f817660b9c9b9bf814c8b629118b47542b0d \
-                    sha256  502e4fc7ebac04d5699f39c19ff2687ec32698d01252edafd28997db2d6d0a01
+checksums           rmd160  d94195d48b44bba1009ad7e27e6c2e431bef4559 \
+                    sha256  3a12c450b001bdf895b30ae818d4d6d3f1552096b8c995f0fe0c74bef04d1fc3
 
 if {${name} ne ${subport}} {
     depends_build-append \
                         port:py${python.version}-setuptools
 
-    post-patch {
-        file delete -force ${worksrcpath}/blist.egg-info
+    # Fix permissions
+    post-extract {
+        fs-traverse item ${worksrcpath} {
+            if {[file isdirectory ${item}]} {
+                file attributes ${item} -permissions a+rx
+            } elseif {[file isfile ${item}]} {
+                file attributes ${item} -permissions a+r
+            }
+        }
     }
 
     build.args-append   -f
@@ -46,5 +53,5 @@
 } else {
     livecheck.type      regex
     livecheck.url       ${master_sites}
-    livecheck.regex     "blist-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.regex     {blist-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140313/2a63e24b/attachment.html>


More information about the macports-changes mailing list