app-crypt/gkeys: Replace with actual gkeys ebuild
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Wed, 7 Jan 2015 21:42:03 +0000 (22:42 +0100)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Wed, 7 Jan 2015 21:42:03 +0000 (22:42 +0100)
Fixing issue with first addition from wrong source

app-crypt/gkeys/Manifest
app-crypt/gkeys/gkeys-0.1.ebuild

index 8e39008..199f71a 100644 (file)
@@ -1,2 +1,2 @@
 DIST gkeys-0.1.tar.bz2 40454 SHA256 fdb1c173ca21a80b2bb9b9b1b5f9952babc62d76a8ca65e7f40fae2d009cb205 SHA512 66e32c206de1cb9c183322a15e62cb96127d6e708a0c629f24a14a40dad6408aa36fc6d72fa2127df3bf71546c70646e7b20b7a6f9bc8dcbedab4884d7730fcf WHIRLPOOL dc5980fa96e988c8bc141890af8b65a5bb015dbc07531d109cfbd604e1576251661f6b2c66e86a1b4081908e3e0ca7f40ced6f65156f66d322a5fa914ec952ee
-EBUILD gkeys-0.1.ebuild 1213 SHA256 6851cf1f9c0c1bceb4d717ccac54979c847e2855e204dda4d53e553a4c04fe83 SHA512 056be16dfff96e5b4f9df79806843db72ebbcdba0f67b09134e5df7f91ed801eb12d6cb269dcfd3af9f947bb77777f75cce252af9a734ef23f7034b656532d3f WHIRLPOOL e5337676ea23ae4d70f4b7ffcab44128cc6ba6fc899faa9eb193e4e1a957d594fe502c0297e00b1a166ee97f2594ec5675d7e1b71d392c7223d20b564dd54030
+EBUILD gkeys-0.1.ebuild 1396 SHA256 67a76495ca23e51c96abb3ec745427cab11940ec94cbd81312d61ce1ab6cfd58 SHA512 ef5f0daf268e0ffe6aa1f2c94009ac2963c1046eb42c3914e72d6f39d15726ea822862eb51b530764df8e6ba53b8819846a2d350bb38222ca8d270df8c192dd6 WHIRLPOOL 6b4cdfc6b3cb083f32cca8c32064949ed569055ef39cd77a7c4e41b716bfea3adc86482874d0d6309370d8bf3d5b085380dd581480458f36c44bbf48bf82825e
index 3a0e30e..1d847df 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 2014-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys-gen/gkeys-gen-9999.ebuild,v 1.2 2015/01/01 20:28:44 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gkeys/gkeys-9999.ebuild,v 1.4 2015/01/01 22:15:34 dolsen Exp $
 
 EAPI="5"
 
@@ -8,25 +8,38 @@ PYTHON_COMPAT=(python2_7 python3_3 python3_4)
 
 inherit distutils-r1
 
-DESCRIPTION="An OpenPGP/GPG tool for generating keys to spec"
+DESCRIPTION="An OpenPGP/GPG key management tool and python libs"
 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Gentoo-keys"
-SRC_URI="http://dev.gentoo.org/~dolsen/releases/gkeys/gkeys-0.1.tar.bz2"
+SRC_URI=""
 
 LICENSE="GPL-2"
 SLOT="0"
 IUSE=""
 
-KEYWORDS="~amd64 ~x86"
+SRC_URI="http://dev.gentoo.org/~dolsen/releases/gkeys/gkeys-0.1.tar.bz2"
+
+KEYWORDS=""
 
 DEPEND=""
 RDEPEND="${DEPEND}
        app-crypt/gnupg
+       =dev-python/pyGPG-9999[${PYTHON_USEDEP}]
+       =dev-python/ssl-fetch-9999[${PYTHON_USEDEP}]
        dev-python/snakeoil[${PYTHON_USEDEP}]
-       dev-python/pygpgme[${PYTHON_USEDEP}]
-       =app-crypt/gkeys-0.1[${PYTHON_USEDEP}]
+       app-crypt/gentoo-keys
        "
 
-S="${WORKDIR}/$P/gkeys-gen"
+S="${WORKDIR}/$P/gkeys"
+
+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
@@ -36,8 +49,8 @@ pkg_postinst() {
        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 "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 and report them in Bugzilla."
+       ewarn "There may be some python 3 compatibility issues still."
+       ewarn "Please help debug/fix/report them in bugzilla."
 }