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

devans at macports.org devans at macports.org
Fri Sep 7 15:11:38 PDT 2012


Revision: 97519
          https://trac.macports.org/changeset/97519
Author:   devans at macports.org
Date:     2012-09-07 15:11:34 -0700 (Fri, 07 Sep 2012)
Log Message:
-----------
gramps: noarch, remove python25 variant where many dependencies are not available, add missing dependencies for fuller functionality, add notes concerning backups.

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

Modified: trunk/dports/genealogy/gramps/Portfile
===================================================================
--- trunk/dports/genealogy/gramps/Portfile	2012-09-07 21:21:29 UTC (rev 97518)
+++ trunk/dports/genealogy/gramps/Portfile	2012-09-07 22:11:34 UTC (rev 97519)
@@ -5,11 +5,13 @@
 
 name                            gramps
 version                         3.3.1
+revision                        1
 license                         GPL-2
 categories                      genealogy python
 platforms                       darwin
+supported_archs                 noarch
 maintainers                     devans openmaintainer
-
+           
 description                     GRAMPS is a genealogy program
 
 long_description                GRAMPS is a genealogy program to store, edit, \
@@ -37,34 +39,27 @@
 depends_lib                     port:librsvg \
                                 port:aspell-dict-en
 
-#
-# aspell-dict-en is not universal
-#
-
-universal_variant               no
-
-variant python25 conflicts python26 python27 description {Use python 2.5} {
-    depends_lib-append        port:py25-gtkspell \
-                              port:py25-enchant \
-                              port:py25-webkitgtk
-    configure.python          ${prefix}/bin/python2.5
-}
-
-variant python26 conflicts python25 python27 description {Use python 2.6} {
+variant python26 conflicts python27 description {Use python 2.6} {
     depends_lib-append        port:py26-gtkspell \
                               port:py26-enchant \
-                              port:py26-webkitgtk
+                              port:py26-webkitgtk \
+                              port:py26-osmgpsmap \
+                              port:py26-exiv2 \
+                              port:py26-pil
     configure.python          ${prefix}/bin/python2.6
 }
 
-variant python27 conflicts python25 python26 description {Use python 2.7} {
+variant python27 conflicts python26 description {Use python 2.7} {
     depends_lib-append        port:py27-gtkspell \
                               port:py27-enchant \
-                              port:py27-webkitgtk
+                              port:py27-webkitgtk \
+                              port:py27-osmgpsmap \
+                              port:py27-exiv2 \
+                              port:py27-pil
     configure.python          ${prefix}/bin/python2.7
 }
 
-if {![variant_isset python25] && ![variant_isset python26]} {
+if {![variant_isset python26]} {
     default_variants +python27
 }
 
@@ -72,6 +67,26 @@
     system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
 }
 
+notes {
+
+When using GRAMPS, to be sure to backup your data regularly! The backups should be in XML format (the .gramps format).
+XML is machine- and human-readable. It is completely self-sufficient. It is also small.
+
+The following are good practices of backups:
+
+    Export to XML from time to time, especially after large edits.
+    Export 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.
+    Export to XML before upgrading GRAMPS to a newer version. Export to XML with the old version before you install the new one!
+    Export to XML before upgrading your OS.
+
+Also, use XML format for any data migration. Moving to another machine, sending data to grandma,
+copying to another user on the same machine -- all of these cases should use XML.
+
+For further detail, see the online GRAMPS documentation at http://www.gramps-project.org/
+
+}
+
 livecheck.type                  regex
 livecheck.url                   ${homepage}/category/releases/
 livecheck.regex                 (?i)${name} (\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120907/efe184bc/attachment.html>


More information about the macports-changes mailing list