app-crypt/monkeysign: improve ebuild
[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=( python2_7 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="A user-friendly commandline tool to sign OpenGPG keys"
11 HOMEPAGE="http://web.monkeysphere.info/monkeysign/"
12
13 SRC_URI="mirror://debian/pool/main/m/monkeysign/monkeysign_${PV}.tar.gz"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20
21 CDEPEND="dev-python/pygtk:2[${PYTHON_USEDEP}]
22         media-gfx/zbar:0=[python,gtk,imagemagick]
23         media-gfx/qrencode-python[${PYTHON_USEDEP}]
24         virtual/python-imaging:0="
25
26 DEPEND="dev-python/docutils[${PYTHON_USEDEP}]
27         dev-python/setuptools[${PYTHON_USEDEP}]
28         ${CDEPEND}"
29
30 RDEPEND="app-crypt/gnupg:0=
31         virtual/mta
32         ${CDEPEND}"
33
34 PATCHES=("${FILESDIR}/${P}-basename.patch"
35          "${FILESDIR}/${P}-rst2s5.patch"
36         )
37
38 python_instal_all()
39 {
40         distutils-r1_python_install_all
41         domenu "${FILESDIR}/monkeysign.desktop"
42 }