forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gkeys-0.2.ebuild
51 lines (41 loc) · 1.27 KB
/
gkeys-0.2.ebuild
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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=(python{2_7,3_3,3_4,3_5})
inherit distutils-r1
DESCRIPTION="An OpenPGP/GPG key management tool for seed files and keyrings"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
SRC_URI="https://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}
app-crypt/gnupg
>=dev-python/pyGPG-0.2[${PYTHON_USEDEP}]
>=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}]
dev-python/snakeoil[${PYTHON_USEDEP}]
>=app-crypt/gentoo-keys-201501052117
"
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 "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 us debug, fix and report them in Bugzilla."
}