51 lines
1.1 KiB
Bash
51 lines
1.1 KiB
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A user-friendly commandline tool to sign OpenGPG keys"
|
|
HOMEPAGE="http://web.monkeysphere.info/monkeysign/"
|
|
|
|
SRC_URI="mirror://debian/pool/main/m/monkeysign/monkeysign_${PV}.tar.xz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
CDEPEND="
|
|
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
|
media-gfx/zbar:0[python,gtk,imagemagick,${PYTHON_USEDEP}]
|
|
media-gfx/qrencode-python[${PYTHON_USEDEP}]
|
|
dev-python/pillow[${PYTHON_USEDEP}]"
|
|
|
|
DEPEND="
|
|
dev-python/docutils[${PYTHON_USEDEP}]
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
app-arch/xz-utils
|
|
${CDEPEND}"
|
|
|
|
RDEPEND="
|
|
app-crypt/gnupg
|
|
virtual/mta
|
|
${CDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-1.1-basename.patch"
|
|
"${FILESDIR}/${PN}-2.0.0-rst2s5.patch"
|
|
"${FILESDIR}/${P}-smtplib.patch"
|
|
)
|
|
|
|
python_test() {
|
|
"${PYTHON}" ./test.py || die "Tests fails"
|
|
}
|
|
|
|
python_install_all() {
|
|
distutils-r1_python_install_all
|
|
domenu "${FILESDIR}/monkeysign.desktop"
|
|
}
|