/[gentoo-x86]/gnome-extra/zeitgeist/zeitgeist-0.8.2-r1.ebuild
Gentoo

Contents of /gnome-extra/zeitgeist/zeitgeist-0.8.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Mar 25 15:25:41 2012 UTC (2 years, 8 months ago) by eva
Branch: MAIN
Changes since 1.1: +6 -1 lines
Fix *.py[co] being compiled and installed.

(Portage version: 2.2.0_alpha95/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/zeitgeist/zeitgeist-0.8.2-r1.ebuild,v 1.1 2012/02/16 19:49:01 jlec Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8 PYTHON_USE_WITH="sqlite"
9
10 AUTOTOOLS_AUTORECONF=true
11
12 inherit autotools-utils eutils python versionator
13
14 DIR_PV=$(get_version_component_range 1-2)
15 EXT_VER=0.0.13
16
17 DESCRIPTION="Service to log activities and present to other apps"
18 HOMEPAGE="http://launchpad.net/zeitgeist/"
19 SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.gz"
20
21 LICENSE="GPL-2"
22 SLOT="0"
23 KEYWORDS="~amd64 ~x86"
24 IUSE="extensions passiv plugins"
25
26 RDEPEND="
27 dev-python/dbus-python
28 dev-python/pygobject:2
29 dev-python/pyxdg
30 dev-python/rdflib
31 media-libs/raptor:2
32 extensions? ( gnome-extra/zeitgeist-extensions )
33 passiv? ( gnome-extra/zeitgeist-datahub )
34 plugins? ( gnome-extra/zeitgeist-datasources )
35 "
36 DEPEND="${RDEPEND}"
37
38 PATCHES=( "${FILESDIR}"/${P}-gobject.patch )
39
40 pkg_setup() {
41 python_set_active_version 2
42 python_pkg_setup
43 }
44
45 src_prepare() {
46 python_clean_py-compile_files
47 autotools-utils_src_prepare
48 }
49
50 src_install() {
51 autotools-utils_src_install
52 python_convert_shebangs -r 2 "${ED}"
53 }
54
55 pkg_postinst() {
56 python_mod_optimize zeitgeist
57 python_mod_optimize /usr/share/zeitgeist/
58 }
59
60 pkg_postrm() {
61 python_mod_cleanup zeitgeist
62 python_mod_cleanup /usr/share/zeitgeist/
63 }

  ViewVC Help
Powered by ViewVC 1.1.20