app-crypt/keyart: Ensure it works across python compat
[portage-overlay.git] / app-crypt / keyart / keyart-9999.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 git-2 python-r1
9
10 DESCRIPTION="Drunken Bishop algorithm for OpenPGP as applied to OpenSSH keys"
11 HOMEPAGE="https://pthree.org/2014/04/18/the-drunken-bishop-for-openpgp-keys/"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 EGIT_REPO_URI="https://github.com/atoponce/${PN}"
19
20 DEPEND=""
21 RDEPEND=""
22
23 src_prepare()
24 {
25         python_copy_sources
26 }
27
28 src_install()
29 {
30         do_install()
31         {
32                 python_fix_shebang keyart
33                 python_doexe keyart
34         }
35         python_foreach_impl do_install
36 }