/[gentoo-x86]/x11-misc/rednotebook/rednotebook-1.5.0.ebuild
Gentoo

Contents of /x11-misc/rednotebook/rednotebook-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 30 08:07:55 2012 UTC (9 months, 3 weeks ago) by mattm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bug Fix 428452 - Ebuild/Pkg Locale Handling Conflict, Updated python dependencies and supported use flags.

(Portage version: 2.1.11.9/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/x11-misc/rednotebook/rednotebook-1.5.0.ebuild,v 1.1 2012/07/26 21:58:40 hwoarang Exp $
4
5 EAPI="3"
6
7 PYTHON_DEPEND="2"
8 LANGS="ar ast be bg bs ca cs cy da de el en_GB eo es eu fi fo fr gl he hr hu hy
9 id it ja ka kk ko lt mn ms nb nds nl nn oc pl pt pt_BR ro ru si sk sr sv ta te
10 tl tr ug uk uz vi wa zh_CN zh_HK zh_TW"
11
12 inherit python eutils distutils
13
14 DESCRIPTION="A graphical journal with calendar, templates, tags, keyword searching, and export functionality"
15 HOMEPAGE="http://rednotebook.sourceforge.net"
16 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="libyaml spell"
22 for x in ${LANGS}; do
23 IUSE="${IUSE} linguas_${x}"
24 done
25
26 RDEPEND="dev-python/pyyaml[libyaml?]
27 >=dev-python/pygtk-2.13
28 dev-python/pywebkitgtk
29 spell? ( dev-python/gtkspell-python )"
30
31 pkg_setup() {
32 python_set_active_version 2
33 python_pkg_setup
34 }
35
36 src_prepare() {
37 ! use spell && epatch "${FILESDIR}/${PN}-1.2.0-disable-spell.patch"
38 # rename wae file. I think this should be wa.po instead of wae.po
39 mv po/wae.po po/wa.po || die
40 for x in ${LANGS}; do
41 if ! has ${x} ${LINGUAS}; then
42 rm po/${x}.po || die
43 fi
44 done
45 distutils_src_prepare
46 }

  ViewVC Help
Powered by ViewVC 1.1.13