Changeset 97519


Ignore:
Timestamp:
Sep 7, 2012, 10:11:34 PM (8 years ago)
Author:
devans@…
Message:

gramps: noarch, remove python25 variant where many dependencies are not available, add missing dependencies for fuller functionality, add notes concerning backups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/genealogy/gramps/Portfile

    r85146 r97519  
    66name                            gramps
    77version                         3.3.1
     8revision                        1
    89license                         GPL-2
    910categories                      genealogy python
    1011platforms                       darwin
     12supported_archs                 noarch
    1113maintainers                     devans openmaintainer
    12 
     14           
    1315description                     GRAMPS is a genealogy program
    1416
     
    3840                                port:aspell-dict-en
    3941
    40 #
    41 # aspell-dict-en is not universal
    42 #
    43 
    44 universal_variant               no
    45 
    46 variant python25 conflicts python26 python27 description {Use python 2.5} {
    47     depends_lib-append        port:py25-gtkspell \
    48                               port:py25-enchant \
    49                               port:py25-webkitgtk
    50     configure.python          ${prefix}/bin/python2.5
    51 }
    52 
    53 variant python26 conflicts python25 python27 description {Use python 2.6} {
     42variant python26 conflicts python27 description {Use python 2.6} {
    5443    depends_lib-append        port:py26-gtkspell \
    5544                              port:py26-enchant \
    56                               port:py26-webkitgtk
     45                              port:py26-webkitgtk \
     46                              port:py26-osmgpsmap \
     47                              port:py26-exiv2 \
     48                              port:py26-pil
    5749    configure.python          ${prefix}/bin/python2.6
    5850}
    5951
    60 variant python27 conflicts python25 python26 description {Use python 2.7} {
     52variant python27 conflicts python26 description {Use python 2.7} {
    6153    depends_lib-append        port:py27-gtkspell \
    6254                              port:py27-enchant \
    63                               port:py27-webkitgtk
     55                              port:py27-webkitgtk \
     56                              port:py27-osmgpsmap \
     57                              port:py27-exiv2 \
     58                              port:py27-pil
    6459    configure.python          ${prefix}/bin/python2.7
    6560}
    6661
    67 if {![variant_isset python25] && ![variant_isset python26]} {
     62if {![variant_isset python26]} {
    6863    default_variants +python27
    6964}
     
    7368}
    7469
     70notes {
     71
     72When using GRAMPS, to be sure to backup your data regularly! The backups should be in XML format (the .gramps format).
     73XML is machine- and human-readable. It is completely self-sufficient. It is also small.
     74
     75The following are good practices of backups:
     76
     77    Export to XML from time to time, especially after large edits.
     78    Export to XML before making big changes, such as importing new data into an existing database from e.g. GEDCOM,
     79        merging records, running tools that may heavily modify the data, etc.
     80    Export to XML before upgrading GRAMPS to a newer version. Export to XML with the old version before you install the new one!
     81    Export to XML before upgrading your OS.
     82
     83Also, use XML format for any data migration. Moving to another machine, sending data to grandma,
     84copying to another user on the same machine -- all of these cases should use XML.
     85
     86For further detail, see the online GRAMPS documentation at http://www.gramps-project.org/
     87
     88}
     89
    7590livecheck.type                  regex
    7691livecheck.url                   ${homepage}/category/releases/
Note: See TracChangeset for help on using the changeset viewer.