[147514] trunk/dports/python/py-mitmproxy/Portfile

petr at macports.org petr at macports.org
Wed Apr 6 06:51:34 PDT 2016


Revision: 147514
          https://trac.macports.org/changeset/147514
Author:   petr at macports.org
Date:     2016-04-06 06:51:34 -0700 (Wed, 06 Apr 2016)
Log Message:
-----------
py-mitmproxy: bump version to 0.16, fetch from github, closes #50611 and #50991.

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

Modified: trunk/dports/python/py-mitmproxy/Portfile
===================================================================
--- trunk/dports/python/py-mitmproxy/Portfile	2016-04-06 12:17:13 UTC (rev 147513)
+++ trunk/dports/python/py-mitmproxy/Portfile	2016-04-06 13:51:34 UTC (rev 147514)
@@ -3,12 +3,12 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
-set _name           mitmproxy
-set _n              [string index ${_name} 0]
+github.setup        mitmproxy mitmproxy 0.16 v
 
-name                py-${_name}
-version             0.13
+name                py-${github.project}
+
 # Attention: 
 # It looks like package `netlib` is about to be merged into `mitmproxy`.
 # After update of mitmproxy > 0.16, this might cause a conflict with `netlib`.
@@ -28,12 +28,10 @@
     same functionality but without the user interface. Think tcpdump for HTTP.
 
 homepage            http://mitmproxy.org/
-master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
-distname            ${_name}-${version}
 
-checksums           md5     48dce26360c035e828c604911c9edb9d \
-                    rmd160  f5182c9e4c5f0b41bc91f87900f32c693718587b \
-                    sha256  7e165703a6adfac6f33406edf54bf0d27af480fbb416d526ec7bd1c9fb71f761
+checksums           md5     7bf51041907b0b3fb83d7dd909e5be1a \
+                    rmd160  94fe6ce1bd502f11e6aa0ee9616838434d7a7a8c \
+                    sha256  9a69e03e2b96a913d89c1548690bf24b7da97dddfd4661d9bc70e1005dcdd859
 
 python.versions     27
 
@@ -52,8 +50,4 @@
                         port:py${python.version}-urwid
 
     livecheck.type  none
-} else {
-    livecheck.type  regex
-    livecheck.url   https://pypi.python.org/pypi/${_name}/json
-    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
-}
+} 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160406/94ee5a2c/attachment.html>


More information about the macports-changes mailing list