1 |
commit: 2621df486a36a61ea5f21039709f5094688a8864 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 14:53:32 2016 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 06:56:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2621df48 |
7 |
|
8 |
app-misc/gramps: version bump to 4.2.4 |
9 |
|
10 |
Dependency on sci-geosciences/osm-gps-map temporarily removed because we |
11 |
haven't got the right version in Portage yet. |
12 |
|
13 |
Seems to work with python3_5 as well but needs more testing, will |
14 |
officially add support for that version later. |
15 |
|
16 |
Suggested-By: Kevin Simmons <kevin <AT> kblob.com> |
17 |
|
18 |
Package-Manager: portage-2.3.1 |
19 |
|
20 |
app-misc/gramps/Manifest | 1 + |
21 |
.../gramps/files/gramps-4.2.4-resourcepath.patch | 11 ++++++ |
22 |
.../files/gramps-4.2.4-versioned_doc_dir.patch | 15 ++++++++ |
23 |
app-misc/gramps/gramps-4.2.4.ebuild | 40 ++++++++++++++++++++++ |
24 |
4 files changed, 67 insertions(+) |
25 |
|
26 |
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest |
27 |
index 39006df..4000583 100644 |
28 |
--- a/app-misc/gramps/Manifest |
29 |
+++ b/app-misc/gramps/Manifest |
30 |
@@ -1,2 +1,3 @@ |
31 |
DIST gramps-3.4.5.tar.gz 10444188 SHA256 940b665a2e0dadf7ee310bdd1a1033c20816c856df8a7d6c4e0850a60471dbc7 SHA512 c9b517f58712d9f585dbddcb394d3605a5f823950a8c3c5a4ffd20d1a8523d6b75f9b6193271adabe76edc073dd6b4c20811de62582a2930b84d88922b4e52b3 WHIRLPOOL 4e30108881900883a4cb3c3ee4c9ef78e04d0850c3dbdaf97569f44cdfb2e56463f3f156f041b4dec6650c722f12cc0909689edc9591c97c5b02b1705860c228 |
32 |
DIST gramps-3.4.9.tar.gz 10190446 SHA256 402a8616efeda730d10941690edb6dfb2719c3f7383e376a404577412676a8f3 SHA512 f15481b3791a98568a0a7f734ef5eb9a1149cf76c5e83f1270eee41bcf3518713391cb271a54177e6e6bbaf78da098d7a7a2a807266c971c1331dbb9d29d5fbb WHIRLPOOL 834777cb20ee7a3ef7a2397eef5a0e70caab02666cf127ba01f6310ac68463ea67733883cd3ca63676b9541dc104da818986d7b249950ae6a30415f5fa1bddee |
33 |
+DIST gramps-4.2.4.tar.gz 18683901 SHA256 25190692f2f0d06e05f0761fef45173dd8d6693762572a62845b544a2c622efa SHA512 640b7b8affc29eee000232a3828f71c6e6e4ee568a4fce2ae8f9eaeabc87682e2dd9e2f1db1e8093e368d86583e80ce3c5261cf223f9cc6e210e7d6272781499 WHIRLPOOL ae118840749364b2904e5ed35f318019c54551305cf98d6e118bf9c539d1507dbce74b46fe66430e53c1115d09d3c73296a91f354ad0bb734e6d182a3ae148d0 |
34 |
|
35 |
diff --git a/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch b/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch |
36 |
new file mode 100644 |
37 |
index 00000000..4c1f692 |
38 |
--- /dev/null |
39 |
+++ b/app-misc/gramps/files/gramps-4.2.4-resourcepath.patch |
40 |
@@ -0,0 +1,11 @@ |
41 |
+--- a/setup.py 2016-09-04 14:44:02.000000000 +0000 |
42 |
++++ b/setup.py 2016-09-22 12:21:52.496968618 +0000 |
43 |
+@@ -278,7 +278,7 @@ |
44 |
+ if packaging: |
45 |
+ path = resource_path |
46 |
+ else: |
47 |
+- path = os.path.abspath(os.path.join(self.install_data, 'share')) |
48 |
++ path = '/usr/share' |
49 |
+ fp.write(path) |
50 |
+ |
51 |
+ _install.run(self) |
52 |
|
53 |
diff --git a/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch b/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch |
54 |
new file mode 100644 |
55 |
index 00000000..3d1ea8c |
56 |
--- /dev/null |
57 |
+++ b/app-misc/gramps/files/gramps-4.2.4-versioned_doc_dir.patch |
58 |
@@ -0,0 +1,15 @@ |
59 |
+--- a/setup.py 2016-09-04 14:44:02.000000000 +0000 |
60 |
++++ b/setup.py 2016-09-22 13:08:33.188167127 +0000 |
61 |
+@@ -436,9 +436,9 @@ |
62 |
+ CSS_FILES = glob.glob(os.path.join('data', 'css', '*.css')) |
63 |
+ SWANKY_PURSE = glob.glob(os.path.join('data', 'css', 'swanky-purse', '*.css')) |
64 |
+ SWANKY_IMG = glob.glob(os.path.join('data', 'css', 'swanky-purse', 'images', '*.png')) |
65 |
+-data_files_core.append(('share/doc/gramps', DOC_FILES)) |
66 |
+-data_files_core.append(('share/doc/gramps/example/gedcom', GEDCOM_FILES)) |
67 |
+-data_files_core.append(('share/doc/gramps/example/gramps', GRAMPS_FILES)) |
68 |
++data_files_core.append(('share/doc/gramps-' + VERSION, DOC_FILES)) |
69 |
++data_files_core.append(('share/doc/gramps-' + VERSION + '/example/gedcom', GEDCOM_FILES)) |
70 |
++data_files_core.append(('share/doc/gramps-' + VERSION + '/example/gramps', GRAMPS_FILES)) |
71 |
+ data_files_core.append(('share/gramps/images/webstuff', IMAGE_WEB)) |
72 |
+ data_files_core.append(('share/gramps/css', CSS_FILES)) |
73 |
+ data_files_core.append(('share/gramps/css/swanky-purse', SWANKY_PURSE)) |
74 |
|
75 |
diff --git a/app-misc/gramps/gramps-4.2.4.ebuild b/app-misc/gramps/gramps-4.2.4.ebuild |
76 |
new file mode 100644 |
77 |
index 00000000..749a4c2 |
78 |
--- /dev/null |
79 |
+++ b/app-misc/gramps/gramps-4.2.4.ebuild |
80 |
@@ -0,0 +1,40 @@ |
81 |
+# Copyright 1999-2016 Gentoo Foundation |
82 |
+# Distributed under the terms of the GNU General Public License v2 |
83 |
+# $Id$ |
84 |
+ |
85 |
+EAPI=6 |
86 |
+PYTHON_COMPAT=( python3_4 ) |
87 |
+ |
88 |
+DISTUTILS_SINGLE_IMPL=1 |
89 |
+inherit distutils-r1 |
90 |
+ |
91 |
+DESCRIPTION="Genealogical Research and Analysis Management Programming System" |
92 |
+HOMEPAGE="http://www.gramps.org/" |
93 |
+SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
94 |
+ |
95 |
+LICENSE="GPL-2+" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64 ~x86" |
98 |
+IUSE="+reports +exif spell" |
99 |
+ |
100 |
+RDEPEND=" |
101 |
+ dev-python/bsddb3[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/pygobject-3.12:3[${PYTHON_USEDEP}] |
103 |
+ dev-python/pyicu[${PYTHON_USEDEP}] |
104 |
+ gnome-base/librsvg:2 |
105 |
+ x11-libs/cairo |
106 |
+ >x11-libs/gtk+-3.14.8:3 |
107 |
+ x11-libs/pango[introspection] |
108 |
+ x11-misc/xdg-utils |
109 |
+ reports? ( media-gfx/graphviz ) |
110 |
+ exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] ) |
111 |
+ spell? ( |
112 |
+ app-text/gtkspell[introspection] |
113 |
+ dev-python/gtkspell-python |
114 |
+ ) |
115 |
+" |
116 |
+ |
117 |
+PATCHES=( |
118 |
+ "${FILESDIR}/${P}-resourcepath.patch" |
119 |
+ "${FILESDIR}/${P}-versioned_doc_dir.patch" |
120 |
+) |