[144554] trunk/dports/genealogy/gramps/Portfile

devans at macports.org devans at macports.org
Tue Jan 12 08:35:28 PST 2016


Revision: 144554
          https://trac.macports.org/changeset/144554
Author:   devans at macports.org
Date:     2016-01-12 08:35:28 -0800 (Tue, 12 Jan 2016)
Log Message:
-----------
gramps: update to version 4.2.2, add +python35 variant.

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

Modified: trunk/dports/genealogy/gramps/Portfile
===================================================================
--- trunk/dports/genealogy/gramps/Portfile	2016-01-12 16:14:41 UTC (rev 144553)
+++ trunk/dports/genealogy/gramps/Portfile	2016-01-12 16:35:28 UTC (rev 144554)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 PortGroup               github 1.0
 
-github.setup            gramps-project gramps 4.2.1 v
+github.setup            gramps-project gramps 4.2.2 v
 
 PortGroup               python 1.0
 
@@ -26,8 +26,8 @@
 
 homepage                http://www.gramps-project.org/
 
-checksums               rmd160  0d162899c41266e8ca8d37e10af44c5e23bc6a12 \
-                        sha256  be4d342e7a6b1dd72ba142ada8756ed6fb60d9bdec30bcbb24fbbff798020176
+checksums               rmd160  f32329600c300de9cdbcab0c0daea82f2bb6c0f6 \
+                        sha256  11bbdcfdb823cbb4ba31ac484b611f6e0fcda272f02b69ea17b6a3f395aedf40
 
 depends_build-append    port:intltool
 
@@ -47,12 +47,9 @@
 patchfiles              patch-gramps-gen-utils-resourcepath.py.diff \
                         patch-pygi-require-version.diff
 
-#
 # versions 4.2.0+ only support python 3
-# TODO
-# Add python35 variant when possible
 
-variant python34 conflicts python27 description {Use Python 3.4} {
+variant python34 conflicts python35 description {Use Python 3.4} {
     python.default_version  34
     depends_lib-append  port:py34-gobject3 \
                         port:py34-pyicu \
@@ -60,8 +57,18 @@
                         port:py34-bsddb3
 }
 
-default_variants    +python34
+variant python35 conflicts python34 description {Use Python 3.5} {
+    python.default_version  35
+    depends_lib-append  port:py35-gobject3 \
+                        port:py35-pyicu \
+                        port:py35-Pillow \
+                        port:py35-bsddb3
+}
 
+if {![variant_isset python35]} {
+    default_variants    +python34
+}
+
 post-destroot {
     reinplace "s|${destroot}${python.prefix}|${prefix}|" ${destroot}${python.pkgd}/gramps/gen/utils/resource-path
     delete ${destroot}${prefix}/share
@@ -83,7 +90,7 @@
     Backup to XML from time to time, especially after large edits.
     Backup to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM,
         merging records, running tools that may heavily modify the data, etc.
-    Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install 
+    Backup to XML before upgrading GRAMPS to a newer version. Backup to XML with the old version before you install
         the new one!
     Backup to XML before upgrading your OS.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160112/d6cb94db/attachment.html>


More information about the macports-changes mailing list