Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/enigmail/
Date: Sun, 25 Nov 2018 18:51:49
Message-Id: 1543171886.a7f126b71f3dbb319c6676524d8a05160ec3cba0.whissi@gentoo
1 commit: a7f126b71f3dbb319c6676524d8a05160ec3cba0
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 25 18:51:26 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 25 18:51:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f126b7
7
8 x11-plugins/enigmail: move stable keywords
9
10 Bug: https://bugs.gentoo.org/669174
11 Package-Manager: Portage-2.3.52, Repoman-2.3.12
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 x11-plugins/enigmail/enigmail-2.0.8-r1.ebuild | 2 +-
15 x11-plugins/enigmail/enigmail-2.0.8.ebuild | 82 ---------------------------
16 2 files changed, 1 insertion(+), 83 deletions(-)
17
18 diff --git a/x11-plugins/enigmail/enigmail-2.0.8-r1.ebuild b/x11-plugins/enigmail/enigmail-2.0.8-r1.ebuild
19 index e716fbf703a..ad90c83498c 100644
20 --- a/x11-plugins/enigmail/enigmail-2.0.8-r1.ebuild
21 +++ b/x11-plugins/enigmail/enigmail-2.0.8-r1.ebuild
22 @@ -21,7 +21,7 @@ else
23 SRC_URI="https://www.enigmail.net/download/beta/${P/_/-}.tar.gz"
24 else
25 SRC_URI="https://www.enigmail.net/download/source/${P}.tar.gz"
26 - KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
27 + KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
28 fi
29 S="${WORKDIR}/${PN}"
30 fi
31
32 diff --git a/x11-plugins/enigmail/enigmail-2.0.8.ebuild b/x11-plugins/enigmail/enigmail-2.0.8.ebuild
33 deleted file mode 100644
34 index bf24ee1477b..00000000000
35 --- a/x11-plugins/enigmail/enigmail-2.0.8.ebuild
36 +++ /dev/null
37 @@ -1,82 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=7
42 -PYTHON_COMPAT=( python2_7 )
43 -
44 -inherit python-any-r1
45 -
46 -DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
47 -HOMEPAGE="https://www.enigmail.net/"
48 -
49 -SLOT="0"
50 -LICENSE="MPL-2.0 GPL-3"
51 -IUSE=""
52 -if [[ ${PV} == *9999 ]]; then
53 - inherit git-r3
54 - EGIT_REPO_URI="https://git.code.sf.net/p/enigmail/source"
55 - S="${WORKDIR}/${P}"
56 -else
57 - if [[ ${PV} = *_beta* ]] ; then
58 - SRC_URI="https://www.enigmail.net/download/beta/${P/_/-}.tar.gz"
59 - else
60 - SRC_URI="https://www.enigmail.net/download/source/${P}.tar.gz"
61 - KEYWORDS="~alpha amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
62 - fi
63 - S="${WORKDIR}/${PN}"
64 -fi
65 -
66 -RDEPEND="|| (
67 - ( >=app-crypt/gnupg-2.0
68 - || (
69 - app-crypt/pinentry[gtk(-)]
70 - app-crypt/pinentry[qt5(-)]
71 - )
72 - )
73 - =app-crypt/gnupg-1.4*
74 - )
75 - !<mail-client/thunderbird-52.5.0
76 - !<www-client/seamonkey-2.49.5.0_p0
77 -"
78 -DEPEND="${RDEPEND}
79 - ${PYTHON_DEPS}
80 - app-arch/zip
81 - dev-lang/perl
82 - "
83 -
84 -src_compile() {
85 - emake ipc public ui package lang stdlib
86 - emake xpi
87 -
88 -}
89 -
90 -src_install() {
91 - local emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' build/dist/install.rdf)
92 - [[ -n ${emid} ]] || die "Could not scrape EM:ID from install.rdf"
93 -
94 - mv build/enigmail*.xpi build/"${emid}.xpi" || die 'Could not rename XPI to match EM:ID'
95 -
96 - # thunderbird
97 - insinto "/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}"
98 - doins build/"${emid}.xpi"
99 -
100 - # seamonkey
101 - insinto "/usr/share/mozilla/extensions/{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}"
102 - doins build/"${emid}.xpi"
103 -}
104 -
105 -pkg_postinst() {
106 - local peimpl=$(eselect --brief --colour=no pinentry show)
107 - case "${peimpl}" in
108 - *gtk*|*qt*) ;;
109 - *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
110 - ewarn "You may be prompted for your password in an inaccessible shell!!"
111 - ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
112 - ;;
113 - esac
114 - if [[ -n ${REPLACING_VERSIONS} ]]; then
115 - elog
116 - elog "Please restart thunderbird and/or seamonkey in order for them to use"
117 - elog "the newly installed version of enigmail."
118 - fi
119 -}