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