Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/catfish: ChangeLog catfish-1.2.2.ebuild
Date: Thu, 25 Sep 2014 11:33:41
Message-Id: 20140925113337.2395363A7@oystercatcher.gentoo.org
1 jer 14/09/25 11:33:37
2
3 Modified: ChangeLog
4 Added: catfish-1.2.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.13/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.22 dev-util/catfish/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catfish/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catfish/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catfish/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/catfish/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 24 Aug 2014 07:52:11 -0000 1.21
24 +++ ChangeLog 25 Sep 2014 11:33:37 -0000 1.22
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-util/catfish
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catfish/ChangeLog,v 1.21 2014/08/24 07:52:11 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catfish/ChangeLog,v 1.22 2014/09/25 11:33:37 jer Exp $
30 +
31 +*catfish-1.2.2 (25 Sep 2014)
32 +
33 + 25 Sep 2014; Jeroen Roovers <jer@g.o> +catfish-1.2.2.ebuild:
34 + Version bump.
35
36 24 Aug 2014; Jeroen Roovers <jer@g.o> catfish-1.0.2.ebuild,
37 catfish-1.2.1.ebuild:
38
39
40
41 1.1 dev-util/catfish/catfish-1.2.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catfish/catfish-1.2.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catfish/catfish-1.2.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: catfish-1.2.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-util/catfish/catfish-1.2.2.ebuild,v 1.1 2014/09/25 11:33:37 jer Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_7,3_3} )
54 inherit eutils gnome2-utils python-single-r1
55
56 DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot"
57 HOMEPAGE="http://launchpad.net/catfish-search http://twotoasts.de/index.php/catfish/"
58 SRC_URI="http://launchpad.net/${PN}-search/${PV%.*}/${PV}/+download/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63
64 COMMON_DEPEND="
65 ${PYTHON_DEPS}
66 dev-python/pexpect[${PYTHON_USEDEP}]
67 dev-python/pygobject:3[${PYTHON_USEDEP}]
68 x11-libs/gtk+:3[introspection]
69 "
70 RDEPEND="
71 ${COMMON_DEPEND}
72 virtual/freedesktop-icon-theme
73 "
74 DEPEND="
75 ${COMMON_DEPEND}
76 sys-devel/gettext
77 "
78
79 pkg_setup() {
80 python-single-r1_pkg_setup
81 }
82
83 src_prepare() {
84 strip-linguas -i po/
85 if ! [[ -z "${LINGUAS}" ]]; then
86 local lang langs=$(find po/ -name '*.po' | sed -e 's|po/||g;s|.po||g')
87 for lang in $langs; do
88 if ! has ${lang} ${LINGUAS}; then
89 rm po/${lang}.po || die
90 fi
91 done
92 fi
93
94 python_fix_shebang .
95 sed -i -e "s:share/doc/\$(APPNAME):share/doc/${PF}:" Makefile.in.in || die
96 }
97
98 src_configure() {
99 # not autotools based
100 ./configure --prefix=/usr --python="${EPYTHON}" || die
101 }
102
103 src_install() {
104 default
105 python_optimize "${ED}"/usr/share/${PN}
106 }
107
108 pkg_preinst() { gnome2_icon_savelist; }
109 pkg_postinst() { gnome2_icon_cache_update; }
110 pkg_postrm() { gnome2_icon_cache_update; }