/[gentoo-x86]/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r1.ebuild
Gentoo

Contents of /gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Feb 10 23:45:23 2012 UTC (2 years, 9 months ago) by tetromino
Branch: MAIN
Changes since 1.3: +6 -1 lines
Fix building when python is python3.

(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r1.ebuild,v 1.3 2012/02/09 07:02:27 jlec Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8
9 inherit gnome2 distutils gnome2-utils versionator
10
11 DIR_PV=$(get_version_component_range 1-2)
12
13 DESCRIPTION="Tool for easily browsing and finding files on your computer"
14 HOMEPAGE="https://launchpad.net/gnome-activity-journal/"
15 SRC_URI="http://launchpad.net/gnome-activity-journal/${DIR_PV}/${PV}/+download/${P}.tar.gz"
16
17 SLOT="0"
18 LICENSE="GPL-3 LGPL-3"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
20 IUSE=""
21
22 RDEPEND="
23 dev-python/dbus-python
24 dev-python/libgnome-python
25 dev-python/gconf-python
26 dev-python/gst-python
27 dev-python/pycairo
28 dev-python/pygobject:2
29 dev-python/pygtk:2
30 dev-python/pyxdg
31 gnome-extra/zeitgeist
32 sys-apps/dbus"
33 DEPEND="${RDEPEND}
34 dev-util/intltool
35 dev-python/python-distutils-extra"
36
37 pkg_setup() {
38 python_set_active_version 2
39 python_pkg_setup
40 }
41
42 src_configure() { :; }
43
44 pkg_preinst() {
45 gnome2_pkg_preinst
46 }
47
48 src_install() {
49 distutils_src_install
50 python_convert_shebangs -r 2 "${D}"
51 }
52
53 pkg_postinst() {
54 distutils_pkg_postinst
55 python_mod_optimize /usr/share/gnome-activity-journal
56 gnome2_pkg_postinst
57 }
58
59 pkg_postrm() {
60 distutils_pkg_postrm
61 python_mod_cleanup /usr/share/gnome-activity-journal
62 gnome2_pkg_postrm
63 }

  ViewVC Help
Powered by ViewVC 1.1.20