summaryrefslogtreecommitdiff
path: root/app-misc/gramps
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/gramps
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/Manifest6
-rw-r--r--app-misc/gramps/files/gramps-4.2.8-uncompressed-docs.patch33
-rw-r--r--app-misc/gramps/gramps-4.2.5.ebuild45
-rw-r--r--app-misc/gramps/gramps-4.2.8.ebuild57
-rw-r--r--app-misc/gramps/metadata.xml103
5 files changed, 244 insertions, 0 deletions
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest
new file mode 100644
index 000000000000..95248535a4bd
--- /dev/null
+++ b/app-misc/gramps/Manifest
@@ -0,0 +1,6 @@
+AUX gramps-4.2.8-uncompressed-docs.patch 1261 BLAKE2B 48ebdddf13e9f29f01a3f5456686fce3d93e89437264c96918b39800f95a0bf65ed05802a74c6061aa3a375d710fdfe484c8a8afffd4a6805487453f4ebc96b7 SHA512 422338a2b6aa7865c59c5238728be95e7852097a464d328fc5d75c93305c05a1a05dc077c0a20838d66d67984d1cb9d9482fc92763f022f08a88d2dc414c5b0d
+DIST gramps-4.2.5.tar.gz 18694912 BLAKE2B f91bc665ab4a970e7de193ba3bea4250e99b692cb92e76fae4a37cfa2c46280e6a45ff6712c7a68213735b6e7016f2caa3180971976c92aaa7e61d73ad2e3d5a SHA512 20a8ebff7ea2e3a80248830e55d58ebe0b5a350e1ac31efb3f2b900af38c134037bae91a58fb441be54f9fac8226555a3f5771cc358d3a4a92e89af911433b9c
+DIST gramps-4.2.8.tar.gz 18704769 BLAKE2B 795febcc2c93a0c9b72aceeba1ac4c4f10953c2bf3b23dd8d38f662a231e21967e6f263e14d2344ef2f422e170617b7b80be4fafc2cb20c4a659366836b0e641 SHA512 c814914eb3a650dd5753d83e492d91d5db11b55321f63bd460e4eb8d80a36dd727a3792a203e3061dfaa89fd13549f51809bb83cc65b2a494c1fb8f42dcb4b8f
+EBUILD gramps-4.2.5.ebuild 1336 BLAKE2B fbf43f646f953dc31e245f29e2efb6c0cbccceac8272162819aaab5363d284a821ec7220c022563085e3540c2ff23e57e766a88e74bf0dece8e7188fd5b3b4b8 SHA512 4eb326bcf7909cdf56ed57d0d97203003b34472e4c6a5c774c8b55f09afcec64ef1e3ae93acb21fff40343e78179cf5fafaa6b7d3e587636b4dfca481435cb27
+EBUILD gramps-4.2.8.ebuild 1606 BLAKE2B 8a147903eb6ae7c9d75328977b6fbab798a40ae3bb9d51fb600488f780bd3194213e949f257039c87dc8d2180bf5523dae567bb54feffa09ed36d009c02d1bd4 SHA512 f324c0791d404b280784e77edd660b313e647d3bd6d8849568b7ef13816d6329f6f340c7c4ff000f7d88c054e64511b0313cd24b492319341fa35d2babd96b7b
+MISC metadata.xml 5730 BLAKE2B 0f0915a541ef3aebaa124fcd3914db315b0d0ab72ed50af26fa9010a28b5bf5f8514dfe280041d4c7fb7aecc904ccf6d32708074048e05f68efc75c2c7dc7163 SHA512 2b5bdbffe1c49e83a5df03d2158dfe3bce9a746c1ac07b15f6421c3c18ee6a5b24998e59b942482ce788820afc9f508d956f06a1472b65cebb36044dd648e48d
diff --git a/app-misc/gramps/files/gramps-4.2.8-uncompressed-docs.patch b/app-misc/gramps/files/gramps-4.2.8-uncompressed-docs.patch
new file mode 100644
index 000000000000..8d43447027dc
--- /dev/null
+++ b/app-misc/gramps/files/gramps-4.2.8-uncompressed-docs.patch
@@ -0,0 +1,33 @@
+diff --git a/setup.py b/setup.py
+index 0177ce7..7aaa681 100644
+--- a/setup.py
++++ b/setup.py
+@@ -160,27 +160,8 @@ def build_man(build_cmd):
+ subst_vars = (('@VERSION@', VERSION), )
+ substitute_variables(filename, newfile, subst_vars)
+
+- import gzip
+- man_file_gz = os.path.join(newdir, 'gramps.1.gz')
+- if os.path.exists(man_file_gz):
+- if newer(filename, man_file_gz):
+- os.remove(man_file_gz)
+- else:
+- filename = False
+- os.remove(newfile)
+-
+- if filename:
+- #Binary io, so open is OK
+- with open(newfile, 'rb') as f_in,\
+- gzip.open(man_file_gz, 'wb') as f_out:
+- f_out.writelines(f_in)
+- log.info('Compiling %s >> %s', filename, man_file_gz)
+-
+- os.remove(newfile)
+- filename = False
+-
+ lang = man_dir[8:]
+- src = build_cmd.build_base + '/data/man/' + lang + '/gramps.1.gz'
++ src = build_cmd.build_base + '/data/man/' + lang + '/gramps.1'
+ target = 'share/man/' + lang + '/man1'
+ data_files.append((target, [src]))
+
diff --git a/app-misc/gramps/gramps-4.2.5.ebuild b/app-misc/gramps/gramps-4.2.5.ebuild
new file mode 100644
index 000000000000..bc0c6b1ef46b
--- /dev/null
+++ b/app-misc/gramps/gramps-4.2.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="Genealogical Research and Analysis Management Programming System"
+HOMEPAGE="https://gramps-project.org/"
+SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+reports exif geo spell"
+
+RDEPEND="
+ dev-python/bsddb3[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}]
+ dev-python/pyicu[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2
+ >x11-libs/gtk+-3.14.8:3[introspection]
+ x11-libs/pango[introspection]
+ x11-misc/xdg-utils
+ reports? ( media-gfx/graphviz )
+ exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] )
+ geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
+ spell? ( app-text/gtkspell:3[introspection] )
+"
+
+python_configure_all() {
+ mydistutilsargs=( --resourcepath=/usr/share )
+}
+
+python_prepare_all() {
+ # Install documentation to the proper location. This can't be done
+ # easily with a patch because we substitute in the $PF variable,
+ # and that changes with every revision.
+ sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/app-misc/gramps/gramps-4.2.8.ebuild b/app-misc/gramps/gramps-4.2.8.ebuild
new file mode 100644
index 000000000000..0534c161464e
--- /dev/null
+++ b/app-misc/gramps/gramps-4.2.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="Genealogical Research and Analysis Management Programming System"
+HOMEPAGE="https://gramps-project.org/"
+SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="+rcs +reports exif geo postscript spell"
+
+RDEPEND="
+ dev-python/bsddb3[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}]
+ dev-python/pyicu[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2
+ >x11-libs/gtk+-3.14.8:3[introspection]
+ x11-libs/pango[introspection]
+ x11-misc/xdg-utils
+ reports? ( media-gfx/graphviz[postscript?] )
+ exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] )
+ geo? ( >=sci-geosciences/osm-gps-map-1.1.0 )
+ spell? ( app-text/gtkspell:3[introspection] )
+ rcs? ( dev-vcs/rcs )
+"
+
+python_prepare_all() {
+ # Install documentation to the proper location. This can't be done
+ # easily with a patch because we substitute in the $PF variable,
+ # and that changes with every revision.
+ sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
+ eapply "${FILESDIR}/${P}-uncompressed-docs.patch"
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ mydistutilsargs=( --resourcepath=/usr/share )
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml
new file mode 100644
index 000000000000..f7eab38a8930
--- /dev/null
+++ b/app-misc/gramps/metadata.xml
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>herb@hlmjr.com</email>
+ <name>Herb Miller Jr. (herbmillerjr)</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ GRAMPS helps you track your family tree. It allows you to store, edit,
+ and research genealogical data. GRAMPS attempts to provide all of the
+ common capabilities of other genealogical programs, but, more
+ importantly, to provide an additional capability of integration not
+ common to these programs. This is the ability to input any bits and
+ pieces of information directly into GRAMPS and rearrange/manipulate
+ any/all data events in the entire data base (in any order or sequence)
+ to assist the user in doing research, analysis and correlation with
+ the potential of filling relationship gaps.
+ </longdescription>
+ <longdescription lang="cs">
+ GRAMPS Vám pomůže sledovat Váš rodokmen. Dovolí Vám využít počítač pro
+ ukládání, úpravy a zkoumání genealogických dat.
+
+ GRAMPS se snaží nabídnout všechny vlastnosti obvyklé u jiných
+ dostupných genealogických programů. Oproti nim však poskytuje další
+ možnosti integrace, které u těchto programů nejsou běžné. Je to
+ možnost vložit jakýkoli kus informace přímo do GRAMPS a
+ přeskupit/manipulovat jednotlivými/všemi událostmi v celé
+ databázi. Tím pomáhá badateli při výzkumu, analýze a korelacích s
+ potenciálem zaplnění mezer ve vztazích mezi subjekty.
+ </longdescription>
+ <longdescription lang="de">
+ GRAMPS hilft dir, deinen Familienstammbaum zurückzuverfolgen. Es
+ erlaubt dir das Speichern, Bearbeiten, und Erforschen genealogischer
+ Daten mit deinem Computer. GRAMPS versucht alle möglichen Funktionen,
+ die andere genealogische Programme bieten einzubeziehen, aber noch
+ viel wichtiger, die Möglichkeit des einfachen Imports fremder Daten zu
+ bieten. Das ist die Fähigkeit jedes noch so kleine Detail direkt in
+ GRAMPS einzugeben und alle damit verbundenen Daten und Events in der
+ gesamten Datenbank neu zu ordnen oder zu manipulieren um die Arbeit
+ für den Benutzer zu erleichtern. So können jederzeit potentielle
+ Lücken in jeglichen Beziehungen gefüllt werden.
+ </longdescription>
+ <longdescription lang="fr">
+ GRAMPS vous aide à suivre votre lignée. Il vous permet de stocker,
+ éditer, ainsi que rechercher des données généalogiques avec votre
+ ordinateur. GRAMPS tente de fournir toutes les capacités communes aux
+ autres programmes généalogiques, mais, plus important, fournir des
+ capacités supplémentaires non communes à ces programmes. C'est la
+ capacité d'entrer toutes parties d'informations directement dans
+ GRAMPS et réarranger/manipuler quelques/toutes données événement dans
+ la base de données (dans n'importe quel ordre ou séquence) pour
+ assiter l'utilisateur dans ses recherches, analyse et corrélation avec
+ les relations possibles.
+ </longdescription>
+ <longdescription lang="nl">
+ GRAMPS laat je toe je familiestamboom op te stellen. Het programma
+ laat je toe om je genealogische gegevens op te slaan, te wijzigen en
+ genealogisch onderzoek te doen met je computer. GRAMPS probeert om
+ bovenover de gebruikelijke mogelijkheden die andere genealogische
+ programma's bieden, een verdergaande integratiemogelijkheid te geven
+ die die andere programma's niet hebben. Je kan zo alle stukjes en
+ gedeelten van informatie rechtstreeks in GRAMPS invoeren en achteraf
+ kan je dan deze gegevens bewerken/manipuleren. Dit kan je doen met het
+ volledige gegevensbestand( in gelijkwelke volgorde). Zo wordt de
+ gebruiker ondersteund in zijn onderzoeken biedt dit een hulp bij
+ analyse en de correlatie om zo relatieleemten te kunnen opvullen.
+ </longdescription>
+ <longdescription lang="pl">
+ GRAMPS pomaga Ci śledzić Twoje drzewo rodzinne. Pozwala Ci wprowadzać,
+ edytować i analizować informacje genealogiczne za pomocą
+ komputera. GRAMPS próbuje zapewnić wszystkie wspólne cechy innych
+ programów genealogicznych, ale, co ważniejsze, dostarczyć Ci
+ możliwości w nich nie dostępne. Ma możliwość wprowadzenia każdej
+ informacji i wiadomości bezpośrednio do programu i późniejszą analizę
+ i zmianę zdarzeń czy pojedynczo, czy grupowo (w dowolnej kolejności) w
+ celu pomocy użytkownikowi w analizie, badaniu i korelowaniu
+ potencjalnych luk w relacjach w rodzinie.
+ </longdescription>
+ <longdescription lang="sl">
+ GRAMPS vam pomaga voditi svoj rodovnik. Z njim lahko shranjujete,
+ urejate in raziskujete rodoslovne podatke na svojem
+ računalniku. Pogram GRAMPS vključuje večino skupnih elementov drugih
+ rodoslovnih programov, poleg tega pa omogoča še funkcije, ki jih ti
+ programi običajno nimajo. Med njimi sta npr. možnost vnosa
+ kakršnegakoli podatka neposredno v GRAMPS ter preurejanje in
+ spreminjanje vseh zapisov dogodkov v celotni bazi podatkov (ne glede
+ na vrstni red), kar vam bo v pomoč pri vaših raziskavah, analizah in
+ zapolnjevanju vrzeli v rodoslovnih podatkih.
+ </longdescription>
+ <use>
+ <flag name="geo">Enable rendering of geographical data using <pkg>sci-geosciences/osm-gps-map</pkg></flag>
+ <flag name="reports">All external software that is needed for graphical reports will be installed</flag>
+ <flag name="rcs">Adds support for family tree archives via <pkg>dev-vcs/rcs</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">gramps</remote-id>
+ <remote-id type="github">gramps-project/gramps</remote-id>
+ </upstream>
+</pkgmetadata>