Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gramps/
Date: Thu, 07 Jul 2016 19:48:24
Message-Id: 1467920820.35fe09a9cf8ef17bf4bc557351625d9344f1b60d.wizardedit@gentoo
1 commit: 35fe09a9cf8ef17bf4bc557351625d9344f1b60d
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 7 19:05:09 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 7 19:47:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35fe09a9
7
8 app-misc/gramps: bump to EAPI 6, add maintainer-needed
9
10 Package-Manager: portage-2.2.28
11
12 app-misc/gramps/gramps-3.4.9-r1.ebuild | 80 ++++++++++++++++++++++++++++++++++
13 app-misc/gramps/metadata.xml | 1 +
14 2 files changed, 81 insertions(+)
15
16 diff --git a/app-misc/gramps/gramps-3.4.9-r1.ebuild b/app-misc/gramps/gramps-3.4.9-r1.ebuild
17 new file mode 100644
18 index 0000000..4ed4bf7
19 --- /dev/null
20 +++ b/app-misc/gramps/gramps-3.4.9-r1.ebuild
21 @@ -0,0 +1,80 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=6
27 +PYTHON_COMPAT=( python2_7 )
28 +GCONF_DEBUG="no"
29 +
30 +inherit gnome2 python-single-r1
31 +
32 +DESCRIPTION="Genealogical Research and Analysis Management Programming System"
33 +HOMEPAGE="http://www.gramps-project.org/"
34 +SRC_URI="mirror://sourceforge/gramps/Stable/${PV}/${P}.tar.gz"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +
40 +IUSE="gnome reports spell webkit"
41 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
42 +
43 +RDEPEND="${PYTHON_DEPS}
44 + dev-python/bsddb3[${PYTHON_USEDEP}]
45 + dev-python/pygoocanvas[${PYTHON_USEDEP}]
46 + >=dev-python/pygtk-2.16.0[${PYTHON_USEDEP}]
47 + gnome-base/librsvg:2
48 + sci-geosciences/osm-gps-map
49 + x11-misc/xdg-utils
50 + gnome? (
51 + dev-python/gconf-python[${PYTHON_USEDEP}]
52 + dev-python/libgnome-python[${PYTHON_USEDEP}]
53 + )
54 + spell? ( dev-python/gtkspell-python[${PYTHON_USEDEP}] )
55 + reports? ( media-gfx/graphviz )
56 + webkit? ( dev-python/pywebkitgtk[${PYTHON_USEDEP}] )
57 +"
58 +DEPEND="${RDEPEND}
59 + dev-util/intltool
60 + sys-devel/gettext
61 + virtual/libiconv
62 + virtual/pkgconfig
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}/${PN}-3.4.0-use_bsddb3.patch"
67 +)
68 +
69 +src_prepare() {
70 + # Fix install path, bug 423315 for example
71 + einfo "Fix installation path"
72 + find . -iname 'Makefile.in' | xargs \
73 + sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
74 + || die
75 + find . -iname 'Makefile.in' | xargs \
76 + sed "s;\(pkgpythondir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \
77 + || die
78 +
79 + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
80 + -i src/Makefile.in || die
81 +
82 + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \
83 + -i src/docgen/Makefile.in || die
84 +
85 + einfo "Fix wrapper script"
86 + sed "s;@datadir@;$(python_get_sitedir);" \
87 + -i gramps.sh.in || die
88 +
89 + einfo "Fix icon location"
90 + sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die
91 +
92 + python_fix_shebang .
93 +
94 + gnome2_src_prepare
95 +}
96 +
97 +src_configure() {
98 + gnome2_src_configure \
99 + --disable-mime-install \
100 + PYTHON="${EROOT}"/usr/bin/python2
101 +}
102
103 diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml
104 index 4c7b0b7..7c0f8c7 100644
105 --- a/app-misc/gramps/metadata.xml
106 +++ b/app-misc/gramps/metadata.xml
107 @@ -1,6 +1,7 @@
108 <?xml version="1.0" encoding="UTF-8"?>
109 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
110 <pkgmetadata>
111 + <!-- maintainer-needed -->
112 <longdescription lang="en">
113 GRAMPS helps you track your family tree. It allows you to store, edit,
114 and research genealogical data. GRAMPS attempts to provide all of the