blob: 092fdb3b5df270f3e84ec6e4bf8e191b208027ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Copyright 2014-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys/gkeys-9999.ebuild,v 1.4 2015/01/01 22:15:34 dolsen Exp $
EAPI="5"
PYTHON_COMPAT=(python2_7 python3_3 python3_4)
#EGIT_PROJECT="gentoo-keys.git"
EGIT_BRANCH="master"
inherit distutils-r1 git-r3
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/gentoo-keys.git"
DESCRIPTION="An OpenPGP/GPG key management tool and python libs"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS=""
DEPEND=""
RDEPEND="${DEPEND}
>=app-crypt/gnupg-2.0.0
=dev-python/pyGPG-9999[${PYTHON_USEDEP}]
=dev-python/ssl-fetch-9999[${PYTHON_USEDEP}]
dev-python/snakeoil[${PYTHON_USEDEP}]
app-crypt/gentoo-keys
"
S="${WORKDIR}/$P/gkeys"
python_prepare_all() {
distutils-r1_python_prepare_all
# copy these 2 into our subdir from the master level
cp ../LICENSE ./ || die "cp LICENSE failed"
cp ../README.md ./ || die "cp README.me failed"
}
python_install_all() {
distutils-r1_python_install_all
keepdir /var/log/gkeys
fperms g+w /var/log/gkeys
}
pkg_preinst() {
chgrp users "${D}"/var/log/gkeys
}
pkg_postinst() {
einfo
einfo "This is experimental software."
einfo "The API's it installs should be considered unstable"
einfo "and are subject to change."
einfo
einfo "Please file any enhancement requests, or bugs"
einfo "at https://bugs.gentoo.org"
einfo "We are also on IRC @ #gentoo-keys of the freenode network"
einfo
ewarn "There may be some python 3 compatibility issues still."
ewarn "Please help debug/fix/report them in bugzilla."
}
|