summaryrefslogtreecommitdiff
blob: 6cd1e47e357d6f7ccf5d7cea3e7d08b4831e9e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/rednotebook/rednotebook-1.8.0.ebuild,v 1.4 2015/08/06 09:58:57 ago Exp $

EAPI=5

PYTHON_COMPAT=( python2_7 )

inherit eutils distutils-r1

DESCRIPTION="A graphical journal with calendar, templates, tags, keyword searching, and export functionality"
HOMEPAGE="http://rednotebook.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="libyaml spell"

RDEPEND="
	dev-python/pyyaml[libyaml?,${PYTHON_USEDEP}]
	>=dev-python/pygtk-2.13[${PYTHON_USEDEP}]
	>=dev-python/pywebkitgtk-1.1.5[${PYTHON_USEDEP}]
	dev-python/chardet[${PYTHON_USEDEP}]
	spell? ( dev-python/gtkspell-python[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"

src_prepare() {
	! use spell && epatch "${FILESDIR}/${PN}-1.6.5-disable-spell.patch"
}