[129134] trunk/dports/python/py-pudb/Portfile

petr at macports.org petr at macports.org
Sun Dec 7 09:12:49 PST 2014


Revision: 129134
          https://trac.macports.org/changeset/129134
Author:   petr at macports.org
Date:     2014-12-07 09:12:49 -0800 (Sun, 07 Dec 2014)
Log Message:
-----------
py-pudb: update to 2014.1, add livecheck, use PyPI pattern

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

Modified: trunk/dports/python/py-pudb/Portfile
===================================================================
--- trunk/dports/python/py-pudb/Portfile	2014-12-07 17:00:27 UTC (rev 129133)
+++ trunk/dports/python/py-pudb/Portfile	2014-12-07 17:12:49 UTC (rev 129134)
@@ -4,9 +4,16 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
-name                py-pudb
-version             0.92.15
+set _name           pudb
+set _n              [string index ${_name} 0]
 
+name                py-${_name}
+version             2014.1
+categories-append   devel
+platforms           darwin
+license             MIT
+maintainers         nomaintainer
+
 description         A full-screen, console-based Python debugger
 long_description    PuDB is a full-screen, console-based visual debugger for \
                     Python. Its goal is to provide all the niceties of \
@@ -17,21 +24,24 @@
                     DOS-based Turbo Pascal or C tools, PuDB's UI might look \
                     familiar.
 
-license             MIT
-maintainers         nomaintainer
-platforms           darwin
+homepage            https://pypi.python.org/pypi/${_name}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
 
-homepage            http://pypi.python.org/pypi/pudb
-master_sites        http://pypi.python.org/packages/source/p/pudb
-distname            pudb-${version}
+checksums           md5     8104db184c9553c568966cd67a7b1b2f \
+                    rmd160  f8aa896f9433aacd304c8df82ba533908bf4bec6 \
+                    sha256  75453feb20a29c6b40132af658dd58a9eb6e22e27c11babd5b5828bbaf1f2137
 
-checksums           md5     e0b469099b8ab67a4b75e4266b9e659c \
-                    sha1    3948d9a28e70964dddf5bb6f63e32e13b38115d2 \
-                    rmd160  542ae3f6b005fe69aedce1325497c9f02acb5a05
-
 python.versions     27 34
 
 if {${name} ne ${subport}} {
     depends_lib     port:py${python.version}-urwid \
                     port:py${python.version}-pygments
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141207/0df689e0/attachment.html>


More information about the macports-changes mailing list