[127283] trunk/dports/genealogy/gramps3/Portfile

devans at macports.org devans at macports.org
Fri Oct 24 15:23:00 PDT 2014


Revision: 127283
          https://trac.macports.org/changeset/127283
Author:   devans at macports.org
Date:     2014-10-24 15:23:00 -0700 (Fri, 24 Oct 2014)
Log Message:
-----------
gramps3: drop python variants and build with python27, increment revision.

Modified Paths:
--------------
    trunk/dports/genealogy/gramps3/Portfile

Modified: trunk/dports/genealogy/gramps3/Portfile
===================================================================
--- trunk/dports/genealogy/gramps3/Portfile	2014-10-24 21:27:57 UTC (rev 127282)
+++ trunk/dports/genealogy/gramps3/Portfile	2014-10-24 22:23:00 UTC (rev 127283)
@@ -7,6 +7,7 @@
 conflicts               gramps
 set dname               gramps
 version                 3.4.8
+revision                1
 license                 GPL-2
 categories              genealogy python
 platforms               darwin
@@ -56,36 +57,17 @@
 
 configure.args          --disable-mime-install
 
-variant python26 conflicts python27 description {Use python 2.6} {
-    set python.version  26
-    set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
-    set python.sitepkgs ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
+set python.version      27
+set python.branch       "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
+set python.sitepkgs     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
                         depends_lib-append  port:py${python.version}-gtkspell \
-                        port:py${python.version}-webkitgtk \
-                        port:py${python.version}-osmgpsmap \
-                        port:py${python.version}-exiv2 \
-                        path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
-                        port:py${python.version}-pyicu
-    configure.python    ${prefix}/bin/python${python.branch}
-}
+                            port:py${python.version}-webkitgtk \
+                            port:py${python.version}-osmgpsmap \
+                            port:py${python.version}-exiv2 \
+                            path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
+                            port:py${python.version}-pyicu
+configure.python        ${prefix}/bin/python${python.branch}
 
-variant python27 conflicts python26 description {Use python 2.7} {
-    set python.version  27
-    set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]"
-    set python.sitepkgs ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages
-                        depends_lib-append  port:py${python.version}-gtkspell \
-                        port:py${python.version}-webkitgtk \
-                        port:py${python.version}-osmgpsmap \
-                        port:py${python.version}-exiv2 \
-                        path:${python.sitepkgs}/PIL:py${python.version}-Pillow \
-                        port:py${python.version}-pyicu
-    configure.python    ${prefix}/bin/python${python.branch}
-}
-
-if {![variant_isset python26]} {
-    default_variants +python27
-}
-
 post-activate {
     system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141024/c8b5c5e1/attachment-0001.html>


More information about the macports-changes mailing list