Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cherrytree/
Date: Fri, 01 Jul 2016 07:25:20
Message-Id: 1467356237.c71d95584a50dcd61b29668aaae69cc23f8bcad7.monsieurp@gentoo
1 commit: c71d95584a50dcd61b29668aaae69cc23f8bcad7
2 Author: Jan Chren <dev.rindeal <AT> gmail <DOT> com>
3 AuthorDate: Wed Jun 22 20:52:59 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 1 06:57:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71d9558
7
8 app-text/cherrytree: update
9
10 - revert 52e5e711414bc5b3e803fbbe45c506c484c29df8
11 - switch to xdg.eclass
12 Closes: https://github.com/gentoo/gentoo/pull/1722
13
14 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
15
16 app-text/cherrytree/cherrytree-0.37.0.ebuild | 14 +++++---------
17 1 file changed, 5 insertions(+), 9 deletions(-)
18
19 diff --git a/app-text/cherrytree/cherrytree-0.37.0.ebuild b/app-text/cherrytree/cherrytree-0.37.0.ebuild
20 index 3d8fa89..2b29653 100644
21 --- a/app-text/cherrytree/cherrytree-0.37.0.ebuild
22 +++ b/app-text/cherrytree/cherrytree-0.37.0.ebuild
23 @@ -7,7 +7,7 @@ EAPI=6
24 PYTHON_COMPAT=( python2_7 )
25 DISTUTILS_SINGLE_IMPL=true
26
27 -inherit fdo-mime distutils-r1
28 +inherit xdg distutils-r1
29
30 DESCRIPTION='A hierarchical note taking application'
31 HOMEPAGE='http://www.giuspen.com/cherrytree'
32 @@ -34,6 +34,8 @@ PLOCALES='cs de es fr hy it ja lt nl pl pt_BR ru sl tr uk zh_CN'
33 inherit l10n
34
35 python_prepare_all() {
36 + xdg_src_prepare
37 +
38 if use nls ; then
39 l10n_find_plocales_changes 'locale' '' '.po'
40
41 @@ -43,17 +45,11 @@ python_prepare_all() {
42 l10n_for_each_disabled_locale_do rm_loc
43 fi
44
45 - sed -i '\|update-desktop-database|d' 'setup.py' || die
46 + sed -r -e '/\bupdate-desktop-database\b/d' -i -- 'setup.py' || die
47
48 distutils-r1_python_prepare_all
49 }
50
51 python_configure_all() {
52 - use nls || mydistutilsargs+=( '--without-gettext' )
53 - distutils-r1_python_configure_all
54 -}
55 -
56 -pkg_postinst() {
57 - fdo-mime_desktop_database_update
58 - fdo-mime_mime_database_update
59 + use nls || mydistutilsargs+=( --without-gettext )
60 }