[147513] trunk/dports/www/nghttp2/Portfile

khindenburg at macports.org khindenburg at macports.org
Wed Apr 6 05:17:13 PDT 2016


Revision: 147513
          https://trac.macports.org/changeset/147513
Author:   khindenburg at macports.org
Date:     2016-04-06 05:17:13 -0700 (Wed, 06 Apr 2016)
Log Message:
-----------
nghttp2: add python34 variant maintainer #51066

Modified Paths:
--------------
    trunk/dports/www/nghttp2/Portfile

Modified: trunk/dports/www/nghttp2/Portfile
===================================================================
--- trunk/dports/www/nghttp2/Portfile	2016-04-06 09:12:06 UTC (rev 147512)
+++ trunk/dports/www/nghttp2/Portfile	2016-04-06 12:17:13 UTC (rev 147513)
@@ -22,13 +22,14 @@
 checksums           rmd160 ef40a5c6782294116863e22890c0a74a54715fdb \
                     sha256 3d600ef8bfd151769559bc23806877b8b4eaf3d66776e6c1427b9c04cce8e853
 
-if {![variant_isset python35]} { default_variants +python27 }
+if {![variant_isset python34] && ![variant_isset python35] } { default_variants +python27 }
 
-if {![variant_isset python27] && ![variant_isset python35]} { 
+if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} {
     error "You must select one of the python variants."
 }
 
 if {[variant_isset python27]} { set PythonVersion   2.7 }
+if {[variant_isset python34]} { set PythonVersion   3.4 }
 if {[variant_isset python35]} { set PythonVersion   3.5 }
 set PythonBranch    [join [lrange [split ${PythonVersion} .] 0 1] ""]
 
@@ -62,8 +63,10 @@
     xinstall -d ${destroot}${prefix}/lib/python${PythonVersion}/site-packages/
 }
 
-variant python27 conflicts python35 description {Build using Python 2.7} {
+variant python27 conflicts python34 python35 description {Build using Python 2.7} {
     configure.env-append   PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python"
 }
 
-variant python35 conflicts python27 description {Build using Python 3.5} {}
+variant python34 conflicts python27 python35 description {Build using Python 3.4} {}
+
+variant python35 conflicts python27 python34 description {Build using Python 3.5} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160406/25c96932/attachment.html>


More information about the macports-changes mailing list