[146899] trunk/dports/graphics/vigra/Portfile

khindenburg at macports.org khindenburg at macports.org
Sat Mar 19 18:40:36 PDT 2016


Revision: 146899
          https://trac.macports.org/changeset/146899
Author:   khindenburg at macports.org
Date:     2016-03-19 18:40:35 -0700 (Sat, 19 Mar 2016)
Log Message:
-----------
vigra: update to 1-11-0; add py34/35 variants;  maintainer #50931

Modified Paths:
--------------
    trunk/dports/graphics/vigra/Portfile

Modified: trunk/dports/graphics/vigra/Portfile
===================================================================
--- trunk/dports/graphics/vigra/Portfile	2016-03-20 01:15:02 UTC (rev 146898)
+++ trunk/dports/graphics/vigra/Portfile	2016-03-20 01:40:35 UTC (rev 146899)
@@ -8,9 +8,8 @@
 PortGroup           cmake 1.0
 PortGroup           github 1.0
 
-github.setup        ukoethe vigra 1-10-0 Version-
+github.setup        ukoethe vigra 1-11-0 Version-
 version             [strsed ${github.version} {g/-/./}]
-revision            8
 categories          graphics
 platforms           darwin
 maintainers         gmail.com:benjamin.seppke
@@ -22,10 +21,10 @@
                     those in the C++ Standard Template Library, you can \
                     easily adapt any VIGRA component to the needs of your \
                     application, without thereby giving up execution speed.
-homepage            http://hci.iwr.uni-heidelberg.de/vigra/
+homepage            http://ukoethe.github.io/vigra/
 
-checksums           rmd160  f54b7742ab74592f404b2af9636ea28ffdbcde51 \
-                    sha256  5ac7d71c89b6a70e6be1b30a73b9f81f4373e933d9dede175d97ee8024807a8a
+checksums           rmd160  d9d1c20bdc3c930223aef29c66840434be294685 \
+                    sha256  61beb9c1a432ca666e80e11e85e4b8c875b9e2bfe954c6a9646465f9e0ad77dd
 
 depends_lib         port:jpeg \
                     port:tiff \
@@ -81,17 +80,10 @@
     configure.args-append -DWITH_VALGRIND=NO
 }
 
-variant python26 conflicts python27 description "Also build vigranumpy python26 bindings" {
-    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \
-                            -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.6
-    depends_lib-append  port:boost \
-                        port:python26 \
-                        port:py26-numpy \
-                        port:py26-sphinx
-    require_active_variants boost python26
-}
+# remove on 2017/03/19
+variant python26 requires python27 description {Legacy variant} {}
 
-variant python27 conflicts python26 description "Also build vigranumpy python27 bindings" {
+variant python27 conflicts python34 python35 description "Also build vigranumpy python27 bindings" {
     configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python2.7 \
                             -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-2.7
     depends_lib-append  port:boost \
@@ -101,11 +93,31 @@
     require_active_variants boost python27
 }
 
-if {![variant_isset python26]} {
+variant python34 conflicts python27 python35 description "Also build vigranumpy python34 bindings" {
+    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python3.4 \
+                            -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.4
+    depends_lib-append  port:boost \
+                        port:python34 \
+                        port:py34-numpy \
+                        port:py34-sphinx
+    require_active_variants boost python34
+}
+
+variant python35 conflicts python27 python34 description "Also build vigranumpy python35 bindings" {
+    configure.args-append   -DPYTHON_EXECUTABLE=${prefix}/bin/python3.5 \
+                            -DPYTHON_SPHINX=${prefix}/bin/sphinx-build-3.5
+    depends_lib-append  port:boost \
+                        port:python35 \
+                        port:py35-numpy \
+                        port:py35-sphinx
+    require_active_variants boost python35
+}
+
+if {![variant_isset python34] && ![variant_isset python35]} {
     default_variants +python27
 }
 
-if {![variant_isset python26] && ![variant_isset python27]} {
+if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} {
     configure.args-append -DWITH_VIGRANUMPY=NO
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160319/49ade376/attachment.html>


More information about the macports-changes mailing list