Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/gramps/
Date: Fri, 28 Apr 2017 04:03:28
Message-Id: 1493352106.bef10654f61f1196d2cbe28987c040b5c88360a9.mjo@gentoo
1 commit: bef10654f61f1196d2cbe28987c040b5c88360a9
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 28 03:59:52 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 28 04:01:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef10654
7
8 app-misc/gramps: new version 4.2.5.
9
10 This is a straightforward version bump, except that I've eliminated
11 one patch. By passing the --resourcepath argument to distutils, we
12 avoid the need to patch it ourselves.
13
14 Gentoo-Bug: 616796
15
16 Package-Manager: Portage-2.3.3, Repoman-2.3.1
17
18 app-misc/gramps/Manifest | 1 +
19 .../{gramps-4.2.4-r2.ebuild => gramps-4.2.5.ebuild} | 17 ++++++++++-------
20 2 files changed, 11 insertions(+), 7 deletions(-)
21
22 diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest
23 index 680dee7f7f2..cc81765024d 100644
24 --- a/app-misc/gramps/Manifest
25 +++ b/app-misc/gramps/Manifest
26 @@ -1,2 +1,3 @@
27 DIST gramps-3.4.5.tar.gz 10444188 SHA256 940b665a2e0dadf7ee310bdd1a1033c20816c856df8a7d6c4e0850a60471dbc7 SHA512 c9b517f58712d9f585dbddcb394d3605a5f823950a8c3c5a4ffd20d1a8523d6b75f9b6193271adabe76edc073dd6b4c20811de62582a2930b84d88922b4e52b3 WHIRLPOOL 4e30108881900883a4cb3c3ee4c9ef78e04d0850c3dbdaf97569f44cdfb2e56463f3f156f041b4dec6650c722f12cc0909689edc9591c97c5b02b1705860c228
28 DIST gramps-4.2.4.tar.gz 18683901 SHA256 25190692f2f0d06e05f0761fef45173dd8d6693762572a62845b544a2c622efa SHA512 640b7b8affc29eee000232a3828f71c6e6e4ee568a4fce2ae8f9eaeabc87682e2dd9e2f1db1e8093e368d86583e80ce3c5261cf223f9cc6e210e7d6272781499 WHIRLPOOL ae118840749364b2904e5ed35f318019c54551305cf98d6e118bf9c539d1507dbce74b46fe66430e53c1115d09d3c73296a91f354ad0bb734e6d182a3ae148d0
29 +DIST gramps-4.2.5.tar.gz 18694912 SHA256 1de3007215b7d0b779ec8f086e14e7a75f2aa811ee37c6d0cff06bfc9458743d SHA512 20a8ebff7ea2e3a80248830e55d58ebe0b5a350e1ac31efb3f2b900af38c134037bae91a58fb441be54f9fac8226555a3f5771cc358d3a4a92e89af911433b9c WHIRLPOOL d9f49b188e20697477860ecb5916c452b95ea08c038b828b0f01edc1097d3d45b549e3e1a5bc5a4aad1d8aab390b8dfefc4ec46ac58420161de8e4d644c8f95e
30
31 diff --git a/app-misc/gramps/gramps-4.2.4-r2.ebuild b/app-misc/gramps/gramps-4.2.5.ebuild
32 similarity index 74%
33 rename from app-misc/gramps/gramps-4.2.4-r2.ebuild
34 rename to app-misc/gramps/gramps-4.2.5.ebuild
35 index 9f754091ca1..6abcc0c4b44 100644
36 --- a/app-misc/gramps/gramps-4.2.4-r2.ebuild
37 +++ b/app-misc/gramps/gramps-4.2.5.ebuild
38 @@ -1,4 +1,4 @@
39 -# Copyright 1999-2016 Gentoo Foundation
40 +# Copyright 1999-2017 Gentoo Foundation
41 # Distributed under the terms of the GNU General Public License v2
42
43 EAPI=6
44 @@ -9,12 +9,13 @@ inherit distutils-r1
45
46 DESCRIPTION="Genealogical Research and Analysis Management Programming System"
47 HOMEPAGE="https://gramps-project.org/"
48 -SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 +SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz
50 + -> ${P}.tar.gz"
51
52 LICENSE="GPL-2+"
53 SLOT="0"
54 KEYWORDS="~amd64 ~x86"
55 -IUSE="+reports +exif geo spell"
56 +IUSE="+reports exif geo spell"
57
58 RDEPEND="
59 dev-python/bsddb3[${PYTHON_USEDEP}]
60 @@ -31,12 +32,14 @@ RDEPEND="
61 spell? ( app-text/gtkspell:3[introspection] )
62 "
63
64 -PATCHES=(
65 - "${FILESDIR}/${P}-resourcepath.patch"
66 -)
67 +python_configure_all() {
68 + mydistutilsargs=( --resourcepath=/usr/share )
69 +}
70
71 python_prepare_all() {
72 + # Install documentation to the proper location. This can't be done
73 + # easily with a patch because we substitute in the $PF variable,
74 + # and that changes with every revision.
75 sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die
76 -
77 distutils-r1_python_prepare_all
78 }