43db98324a8a033f99e4127de73f4c1272df01e0
[portage-overlay.git] / app-crypt / monkeysign / monkeysign-1.1.ebuild
1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_6,2_7} )
7
8 inherit eutils distutils-r1
9
10 DESCRIPTION="Monkeysign"
11 HOMEPAGE="http://web.monkeysphere.info/monkeysign/"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="gnome"
17
18 SRC_URI="mirror://debian/pool/main/m/monkeysign/monkeysign_${PV}.tar.gz"
19
20 DEPEND="dev-python/docutils:0=
21         dev-python/pygtk:2=
22         media-gfx/zbar:0=[python,gtk,imagemagick]
23         media-gfx/qrencode-python:0="
24
25 RDEPEND="${DEPEND}
26         virtual/python-imaging:0=
27         dev-python/setuptools:0=
28         app-crypt/gnupg:0=
29         virtual/mta
30         gnome? ( x11-themes/gnome-icon-theme:0= )"
31
32 src_prepare()
33 {
34         epatch "${FILESDIR}/${P}-basename.patch"\
35                "${FILESDIR}/${P}-rst2s5.patch"
36         distutils-r1_src_prepare
37 }
38
39 src_install()
40 {
41         distutils-r1_src_install
42         use gnome && domenu "${FILESDIR}/monkeysign.desktop"
43 }