/[gentoo-x86]/app-text/keepnote/keepnote-0.7.9.ebuild
Gentoo

Contents of /app-text/keepnote/keepnote-0.7.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Aug 14 08:23:19 2012 UTC (9 months, 1 week ago) by hasufell
Branch: MAIN
CVS Tags: HEAD
version bump, inherit python eclass explicitly

(Portage version: 2.2.0_alpha121/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/app-text/keepnote/keepnote-0.7.8.ebuild,v 1.1 2012/08/14 08:18:33 hasufell Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.6"
8 PYTHON_USE_WITH="sqlite xml"
9 SUPPORT_PYTHON_ABIS="1"
10 RESTRICT_PYTHON_ABIS="2.[45] 3.*"
11
12 inherit eutils gnome2-utils python distutils
13
14 DESCRIPTION="A note taking application"
15 HOMEPAGE="http://keepnote.org/"
16 SRC_URI="http://keepnote.org/download-test/${P}.tar.gz"
17
18 LICENSE="GPL-2"
19 KEYWORDS="~amd64 ~x86"
20 SLOT="0"
21 IUSE=""
22
23 RDEPEND="dev-python/pygobject:2
24 dev-python/pygtk:2
25 x11-misc/xdg-utils"
26
27 DOCS="CHANGES"
28
29 src_prepare() {
30 distutils_src_prepare
31
32 epatch "${FILESDIR}"/${PN}-0.7.8-desktopfile.patch
33 }
34
35 src_test() {
36 testing() {
37 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/testing.py
38 }
39 python_execute_function testing
40 }
41
42 pkg_preinst() {
43 gnome2_icon_savelist
44 }
45
46 pkg_postinst() {
47 distutils_pkg_postinst
48 gnome2_icon_cache_update
49
50 einfo
51 elog "optional dependencies:"
52 elog " app-text/gtkspell:2 (spell checking)"
53 einfo
54 }
55
56 pkg_postrm() {
57 distutils_pkg_postrm
58 gnome2_icon_cache_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.13