diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-crypt/gkeys/gkeys-9999.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-crypt/gkeys/gkeys-9999.ebuild')
-rw-r--r-- | app-crypt/gkeys/gkeys-9999.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-crypt/gkeys/gkeys-9999.ebuild b/app-crypt/gkeys/gkeys-9999.ebuild new file mode 100644 index 000000000000..7ab5b3f58306 --- /dev/null +++ b/app-crypt/gkeys/gkeys-9999.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6}) + +#EGIT_PROJECT="gentoo-keys.git" +EGIT_BRANCH="master" + +inherit distutils-r1 git-r3 + +EGIT_REPO_URI="https://anongit.gentoo.org/git/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 + =dev-python/pyGPG-9999[${PYTHON_USEDEP}] + =dev-python/ssl-fetch-9999[${PYTHON_USEDEP}] + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] + >=app-crypt/gentoo-keys-201501052117 + " + +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" + cp -R ../py2man ./ || die "cp-R py2man 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." +} |