Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/enigmail/
Date: Fri, 28 Jul 2017 09:05:06
Message-Id: 1501232688.5de546935180d9193a077d671153ccf5881adeb5.polynomial-c@gentoo
1 commit: 5de546935180d9193a077d671153ccf5881adeb5
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 28 09:04:48 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 28 09:04:48 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de54693
7
8 x11-plugins/enigmail: Bump to version 1.9.8.1
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 x11-plugins/enigmail/Manifest | 1 +
13 x11-plugins/enigmail/enigmail-1.9.8.1.ebuild | 56 ++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
17 index 98f91534ea8..2f5963ebfb7 100644
18 --- a/x11-plugins/enigmail/Manifest
19 +++ b/x11-plugins/enigmail/Manifest
20 @@ -1,2 +1,3 @@
21 DIST enigmail-1.9.6.1.tar.gz 1745021 SHA256 3874331e981aed864443d3c965d856e003fd84f73e5a89fd5004ced9dc29b96f SHA512 e6ab69734a39a4953e0167e07b06f0d5c83fb42956515392319a1cd9d665ca274f6a12b4141e2dfa373ef074f0526f3d7330a48d29d600fc38f724d26518ff84 WHIRLPOOL e89b0e5857564cc2f7ebf3ab46b110c6bbb1b16e7c0e045750119fd02e693b9bd9667c2932e7a65f9c8fb2c7c835ed048f6df2613d12b25d961894f47f67cf48
22 DIST enigmail-1.9.7.tar.gz 1745184 SHA256 176adbafee2f84ef6cd1cdbf53131a2a6a23d0cb26550357617c24a8ae5bd934 SHA512 f6f96f6267f1c9df0ca86fefcf7e0e2b10076f1cdb7d446b2a53710b780c14097ef05ba7f35b83e33aca9f2fca1ca4398c7524c1f5ce6cba39b6733db33eed31 WHIRLPOOL 8816b3404e6b6b3fa4ba3d01f97ba9841b3eb7b1d46d09570b756431b2810f35be26a54ab98769ec051cc0859c761090004ed10886150ec98082db10ba4642f5
23 +DIST enigmail-1.9.8.1.tar.gz 1776673 SHA256 4bcf2da00d96a67921b24dbec9f43930cba41112a2cd241b0952eb573c648a4d SHA512 af280040e96eb69529e723e52e65621e42743c974b0ed42598e73458004f0a59688da7257d2b556e95a56c4cad3ac48f527d4d9a7a54c9c92eaff132257e0cfd WHIRLPOOL 077c61b996c2ec45ecc3a037b61d167acda2ebdbde6536e2f2f2e180a064c9e540e09b48417454aa48f02af5f4c58c88f4ba456e6c5f113cfe474f2b82798ac0
24
25 diff --git a/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild b/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild
26 new file mode 100644
27 index 00000000000..ff5e7f5079a
28 --- /dev/null
29 +++ b/x11-plugins/enigmail/enigmail-1.9.8.1.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 )
36 +
37 +inherit python-any-r1
38 +
39 +DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
40 +HOMEPAGE="http://www.enigmail.net/"
41 +
42 +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
43 +SLOT="0"
44 +LICENSE="MPL-2.0 GPL-3"
45 +IUSE=""
46 +SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
47 +
48 +RDEPEND="|| (
49 + ( >=app-crypt/gnupg-2.0
50 + || (
51 + app-crypt/pinentry[gtk(-)]
52 + app-crypt/pinentry[qt4(-)]
53 + app-crypt/pinentry[qt5(-)]
54 + )
55 + )
56 + =app-crypt/gnupg-1.4*
57 + )"
58 +DEPEND="${RDEPEND}
59 + ${PYTHON_DEPS}
60 + app-arch/zip
61 + dev-lang/perl
62 + "
63 +
64 +S="${WORKDIR}/${PN}"
65 +
66 +src_compile() {
67 + emake ipc public ui package lang
68 + emake xpi
69 +
70 +}
71 +
72 +src_install() {
73 + insinto /usr/share/${PN}
74 + doins -r build/dist/{chrome,components,defaults,modules,wrappers,chrome.manifest,install.rdf}
75 +}
76 +
77 +pkg_postinst() {
78 + local peimpl=$(eselect --brief --colour=no pinentry show)
79 + case "${peimpl}" in
80 + *gtk*|*qt*) ;;
81 + *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
82 + ewarn "You may be prompted for your password in an inaccessible shell!!"
83 + ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
84 + ;;
85 + esac
86 +}