You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2017 Gentoo Foundation
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
10 years ago
|
|
||
10 years ago
|
PYTHON_COMPAT=( python2_7 )
|
||
|
|
||
8 years ago
|
inherit eutils distutils-r1
|
||
10 years ago
|
|
||
|
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=""
|
||
|
|
||
10 years ago
|
CDEPEND="
|
||
|
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||
10 years ago
|
media-gfx/zbar:0[python,gtk,imagemagick,${PYTHON_USEDEP}]
|
||
|
media-gfx/qrencode-python[${PYTHON_USEDEP}]
|
||
9 years ago
|
dev-python/pillow[${PYTHON_USEDEP}]"
|
||
10 years ago
|
|
||
10 years ago
|
DEPEND="
|
||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||
10 years ago
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||
8 years ago
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||
10 years ago
|
app-arch/xz-utils
|
||
|
${CDEPEND}"
|
||
|
|
||
10 years ago
|
RDEPEND="
|
||
|
app-crypt/gnupg
|
||
10 years ago
|
virtual/mta
|
||
|
${CDEPEND}"
|
||
|
|
||
10 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-1.1-basename.patch"
|
||
10 years ago
|
)
|
||
|
|
||
8 years ago
|
src_prepare() {
|
||
|
sed -i "s/'rst2s5/'rst2s5.py/g" monkeysign/documentation.py || die
|
||
|
sed -i "s/'--list-dirs'/'--dry-run --list-dirs'/" monkeysign/gpg.py || die
|
||
|
rm CHANGELOG || die
|
||
|
eapply_user
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||
|
distutils-r1_src_compile
|
||
10 years ago
|
}
|
||
|
|
||
10 years ago
|
python_install_all() {
|
||
10 years ago
|
distutils-r1_python_install_all
|
||
|
domenu "${FILESDIR}/monkeysign.desktop"
|
||
|
}
|