diff options
Diffstat (limited to 'gnome-extra/zeitgeist-extensions')
-rw-r--r-- | gnome-extra/zeitgeist-extensions/ChangeLog | 10 | ||||
-rw-r--r-- | gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r2.ebuild | 71 |
2 files changed, 79 insertions, 2 deletions
diff --git a/gnome-extra/zeitgeist-extensions/ChangeLog b/gnome-extra/zeitgeist-extensions/ChangeLog index dc9062876b55..7bcf13f6aa6e 100644 --- a/gnome-extra/zeitgeist-extensions/ChangeLog +++ b/gnome-extra/zeitgeist-extensions/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/zeitgeist-extensions -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-extensions/ChangeLog,v 1.13 2013/12/08 19:02:26 pacho Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-extensions/ChangeLog,v 1.14 2014/04/25 13:33:55 jlec Exp $ + +*zeitgeist-extensions-0.0.13-r2 (25 Apr 2014) + + 25 Apr 2014; Justin Lecher <jlec@gentoo.org> + +zeitgeist-extensions-0.0.13-r2.ebuild: + Bump to latest python eclasses 08 Dec 2013; Pacho Ramos <pacho@gentoo.org> zeitgeist-extensions-0.0.13-r1.ebuild: diff --git a/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r2.ebuild b/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r2.ebuild new file mode 100644 index 000000000000..4edbf4ee3887 --- /dev/null +++ b/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zeitgeist-extensions/zeitgeist-extensions-0.0.13-r2.ebuild,v 1.1 2014/04/25 13:33:55 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-single-r1 + +DESCRIPTION="Allow manipulating events before/after insertion as well as before fetching" +HOMEPAGE="https://launchpad.net/zeitgeist-extensions/" +SRC_URI="http://launchpad.net/${PN}/trunk/fts-${PV}/+download/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" +IUSE="fts geolocation memprofile sqldebug tracker" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + fts? ( + !gnome-extra/zeitgeist[fts] + dev-libs/xapian-bindings[python] + dev-python/dbus-python + dev-python/pygobject + dev-python/pyxdg + ) + geolocation? ( + dev-python/dbus-python + dev-python/python-geoclue + ) + memprofile? ( + dev-python/dbus-python + dev-python/pympler + ) + sqldebug? ( dev-python/python-sqlparse ) + tracker? ( + app-misc/tracker + dev-python/pygobject + dev-python/dbus-python + )" + +PATCHES=( + "${FILESDIR}"/${P}-python.patch \ + "${FILESDIR}"/${P}-gobject.patch +) + +src_prepare() { + epatch "${PATCHES[@]}" +} + +src_install() { + python_moduleinto /usr/share/zeitgeist/_zeitgeist/engine/extensions + use fts && python_domodule ./fts/fts.py + if use geolocation; then + dodoc ./geolocation/example.py + python_domodule ./geolocation/geolocation.py + fi + if use memprofile; then + python_domodule ./memory-profile/profile_memory.py + newdoc ./memory-profile/README README-memprofile + fi + use sqldebug && python_domodule ./debug_sql/debug_sql.py + use tracker && python_domodule ./tracker/tracker.py + + python_optimize "${ED}"/usr/share/zeitgeist/_zeitgeist/engine/extensions +} |