[110072] trunk/dports/python/py-logbook/Portfile

stromnov at macports.org stromnov at macports.org
Sun Aug 25 14:48:51 PDT 2013


Revision: 110072
          https://trac.macports.org/changeset/110072
Author:   stromnov at macports.org
Date:     2013-08-25 14:48:51 -0700 (Sun, 25 Aug 2013)
Log Message:
-----------
py-logbook: update to version 0.5.0

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

Modified: trunk/dports/python/py-logbook/Portfile
===================================================================
--- trunk/dports/python/py-logbook/Portfile	2013-08-25 21:40:25 UTC (rev 110071)
+++ trunk/dports/python/py-logbook/Portfile	2013-08-25 21:48:51 UTC (rev 110072)
@@ -5,11 +5,14 @@
 PortGroup           python 1.0
 
 name                py-logbook
-version             0.4.2
+version             0.5.0
+revision            0
 categories-append   devel
 platforms           darwin
 license             BSD
 
+python.versions     26 27 32 33
+
 maintainers         stromnov openmaintainer
 
 description         Python logging replacement module.
@@ -20,16 +23,24 @@
 
 distname            Logbook-${version}
 
-checksums           rmd160  52b76fb224b6809c0280efe0c31eb5c0c7a34182 \
-                    sha256  60a373b06d3a0700a2311f35aef296f89de96e65dc45a0b3c6c4d4033bb457bc
+checksums           rmd160  affbf1f85346a3c1e58a21fbdd9548b4f0a91c9f \
+                    sha256  63265dcc3fed2bbd730a7aeadf8865245455145ec0f7be1b842c7c0713e72b26
 
-python.versions     26 27 32 33
+if {$subport == "py32-logbook"} {
+    version             0.4.2
+    revision            0
+    distname            Logbook-${version}
+    checksums           rmd160  52b76fb224b6809c0280efe0c31eb5c0c7a34182 \
+                        sha256  60a373b06d3a0700a2311f35aef296f89de96e65dc45a0b3c6c4d4033bb457bc
+}
 
 if {$subport != $name} {
-    depends_build       port:py${python.version}-setuptools
+    depends_build-append \
+                        port:py${python.version}-setuptools
+
     livecheck.type      none
 } else {
     livecheck.type      regex
     livecheck.url       ${master_sites}
-    livecheck.regex     "Logbook-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+    livecheck.regex     {Logbook-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130825/92d9c179/attachment.html>


More information about the macports-changes mailing list