/[gentoo-x86]/app-crypt/gkeys/gkeys-9999.ebuild
Gentoo

Contents of /app-crypt/gkeys/gkeys-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Jan 1 22:15:34 2015 UTC (5 years, 1 month ago) by dolsen
Branch: MAIN
Changes since 1.3: +11 -1 lines
Change defauly logs location, set group, permissions

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0x65E309F2189DB0B8)

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

  ViewVC Help
Powered by ViewVC 1.1.20