[151209] trunk/dports/python/py-netlib/Portfile

petr at macports.org petr at macports.org
Wed Aug 10 08:19:27 PDT 2016


Revision: 151209
          https://trac.macports.org/changeset/151209
Author:   petr at macports.org
Date:     2016-08-10 08:19:27 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
py-netlib: update netlib vs. mitmproxy comment, set conflicts and default python version

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

Modified: trunk/dports/python/py-netlib/Portfile
===================================================================
--- trunk/dports/python/py-netlib/Portfile	2016-08-10 15:06:41 UTC (rev 151208)
+++ trunk/dports/python/py-netlib/Portfile	2016-08-10 15:19:27 UTC (rev 151209)
@@ -9,11 +9,6 @@
 
 name                py-${_name}
 version             0.16
-# Attention:
-# It looks like package `netlib` is about to be merged into `mitmproxy`.
-# After update of mitmproxy > 0.16, this might cause a conflict and this
-# port would become obsolete.
-
 categories-append   net
 platforms           darwin
 supported_archs     noarch
@@ -39,9 +34,20 @@
                     rmd160  77b0605f59143e6591a7d17e0ecaee88c4beb768 \
                     sha256  c70ed1915a5662c9ffce4dc97d143209e009cf0035a2f692031a6c47e87e6002
 
-python.versions     27 34 35
+python.versions         27 34 35
+python.default_version  35
 
 if {${name} ne ${subport}} {
+    # Attention:
+    # The package `netlib` was merged into `mitmproxy` in version 0.17.
+    # It is now conflicting with mitmproxy.
+    # If mitmproxy is updated/installed netlib will be disactivated.
+    # This port is still kept because mitmproxy is not yet Py3 compatible.
+
+    if ${python.version} == 27 {
+        conflicts   py${python.version}-mitmproxy
+    }
+
     depends_build-append    port:py${python.version}-setuptools
 
     depends_lib-append      port:py${python.version}-asn1 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/995120de/attachment.html>


More information about the macports-changes mailing list