Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: x11-plugins/enigmail/
Date: Sat, 20 Apr 2019 23:20:51
Message-Id: 1555692745.223785ff59781fbdb870e08a49e054726b7d076a.anarchy@gentoo
1 commit: 223785ff59781fbdb870e08a49e054726b7d076a
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 19 16:52:25 2019 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 19 16:52:25 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=223785ff
7
8 x11-plugins/enigmail: Use from main tree!!
9
10 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
11
12 x11-plugins/enigmail/Manifest | 20 --------
13 x11-plugins/enigmail/enigmail-2.0.8.ebuild | 82 ------------------------------
14 x11-plugins/enigmail/enigmail-9999.ebuild | 82 ------------------------------
15 x11-plugins/enigmail/metadata.xml | 8 ---
16 4 files changed, 192 deletions(-)
17
18 diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
19 deleted file mode 100644
20 index d9410c7..0000000
21 --- a/x11-plugins/enigmail/Manifest
22 +++ /dev/null
23 @@ -1,20 +0,0 @@
24 ------BEGIN PGP SIGNED MESSAGE-----
25 -Hash: SHA512
26 -
27 -DIST enigmail-2.0.8.tar.gz 2525691 BLAKE2B cd69efe72b661bb103837c987937e1cee64a5888795bda7126c59cf99a39c0245f505cdfd6538d54cec5dc3fc95c64bbeca3aebc4b0823249be4c0465d4d68a1 SHA512 9d2e95c2eae6ca22897eb8b2961964d96fd633e7d33a8c0c04a29b4cbc8585777598578abfb0484b96827ca165fe9c8b873e5e7f7cb3ba8cd0779ddc4f10e305
28 ------BEGIN PGP SIGNATURE-----
29 -
30 -iQIzBAEBCgAdFiEEWCOBmo8i7LhvVmNAVx3S0DQ8YDkFAltphwcACgkQVx3S0DQ8
31 -YDk72w/+IoDI6BEEeqDZ+Vm1vmtuFShVYqQ8xiKSB/bnxBEdpkAd2PEupys04isI
32 -tbbSBB1OTQ/vjNfuYA54f0zUZ+eao0gh+vMPSD+gjxN3jnuaeS22HbWW80FxfZOu
33 -mr/3nYH5E7ybOkJZoAO+kc3FJyQC3d0cNHzxlDZdKDAvYyYYg206kZEKa2I73n6P
34 -xf8kJBuY0i795ELJ4qTqymGlkERBp4ZGF5TYVL4R0HPvaafbN2Mm7qmzkt3dwyy6
35 -SxItwUXVqfonsD/YqMZOCw1qw4KrIku0kN3/54HZqImMDnjjouJtBoBxOb9vSOrW
36 -DgzVyyjF29x59HWkEdA92O3WoH5TXaUE7ZPBtGkd23aR/BvIK7bbV+eFxE8GLSo+
37 -IAo64PMgOxCtH/F3fBRr+02ZOTOECgxMprN/rm/PKSep9BkTUwQXn9Ooe6fiw2kr
38 -UfWX+I8bd4pHjw07yaI/iXch8o2T6N/Ngkf3BfJLwCjCIIosEupaNAM6i+6WrAyc
39 -WAFqZkTz55Zw6YhMIe927kKN/1B0GiqTjsf110I3p5gMbQgSEND8pj1NSYUPoWyC
40 -NjShrdVXyjpJhH53beeVadZ8S3R47FzX2tDQax16dVNz9P8AuvAaIj9hv7DmI/j3
41 -3P8QL342mvZa8ibzNH1AtfJTGX+19GTXdzi30+/cDS8nTe/Y7U0=
42 -=mx9j
43 ------END PGP SIGNATURE-----
44
45 diff --git a/x11-plugins/enigmail/enigmail-2.0.8.ebuild b/x11-plugins/enigmail/enigmail-2.0.8.ebuild
46 deleted file mode 100644
47 index 7f808de..0000000
48 --- a/x11-plugins/enigmail/enigmail-2.0.8.ebuild
49 +++ /dev/null
50 @@ -1,82 +0,0 @@
51 -# Copyright 1999-2018 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -PYTHON_COMPAT=( python2_7 )
56 -
57 -inherit python-any-r1
58 -
59 -DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
60 -HOMEPAGE="http://www.enigmail.net/"
61 -
62 -SLOT="0"
63 -LICENSE="MPL-2.0 GPL-3"
64 -IUSE=""
65 -if [[ ${PV} == *9999 ]]; then
66 - inherit git-r3
67 - EGIT_REPO_URI="https://git.code.sf.net/p/enigmail/source"
68 - S="${WORKDIR}/${P}"
69 -else
70 - if [[ ${PV} = *_beta* ]] ; then
71 - SRC_URI="http://www.enigmail.net/download/beta/${P/_/-}.tar.gz"
72 - else
73 - SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
74 - KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
75 - fi
76 - S="${WORKDIR}/${PN}"
77 -fi
78 -
79 -RDEPEND="|| (
80 - ( >=app-crypt/gnupg-2.0
81 - || (
82 - app-crypt/pinentry[gtk(-)]
83 - app-crypt/pinentry[qt5(-)]
84 - )
85 - )
86 - =app-crypt/gnupg-1.4*
87 - )
88 - !<mail-client/thunderbird-52.5.0
89 - !<www-client/seamonkey-2.49.5.0_p0
90 -"
91 -DEPEND="${RDEPEND}
92 - ${PYTHON_DEPS}
93 - app-arch/zip
94 - dev-lang/perl
95 - "
96 -
97 -src_compile() {
98 - emake ipc public ui package lang stdlib
99 - emake xpi
100 -
101 -}
102 -
103 -src_install() {
104 - local emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' build/dist/install.rdf)
105 - [[ -n ${emid} ]] || die "Could not scrape EM:ID from install.rdf"
106 -
107 - mv build/enigmail*.xpi build/"${emid}.xpi" || die 'Could not rename XPI to match EM:ID'
108 -
109 - # thunderbird
110 - insinto "/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}"
111 - doins build/"${emid}.xpi"
112 -
113 - # seamonkey
114 - insinto "/usr/share/mozilla/extensions/{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}"
115 - doins build/"${emid}.xpi"
116 -}
117 -
118 -pkg_postinst() {
119 - local peimpl=$(eselect --brief --colour=no pinentry show)
120 - case "${peimpl}" in
121 - *gtk*|*qt*) ;;
122 - *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
123 - ewarn "You may be prompted for your password in an inaccessible shell!!"
124 - ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
125 - ;;
126 - esac
127 - if [[ -n ${REPLACING_VERSIONS} ]]; then
128 - elog
129 - elog "Please restart thunderbird and/or seamonkey in order for them to use"
130 - elog "the newly installed version of enigmail."
131 - fi
132 -}
133
134 diff --git a/x11-plugins/enigmail/enigmail-9999.ebuild b/x11-plugins/enigmail/enigmail-9999.ebuild
135 deleted file mode 100644
136 index 7f808de..0000000
137 --- a/x11-plugins/enigmail/enigmail-9999.ebuild
138 +++ /dev/null
139 @@ -1,82 +0,0 @@
140 -# Copyright 1999-2018 Gentoo Foundation
141 -# Distributed under the terms of the GNU General Public License v2
142 -
143 -EAPI=7
144 -PYTHON_COMPAT=( python2_7 )
145 -
146 -inherit python-any-r1
147 -
148 -DESCRIPTION="Mozilla extension to provide GPG support in mail clients"
149 -HOMEPAGE="http://www.enigmail.net/"
150 -
151 -SLOT="0"
152 -LICENSE="MPL-2.0 GPL-3"
153 -IUSE=""
154 -if [[ ${PV} == *9999 ]]; then
155 - inherit git-r3
156 - EGIT_REPO_URI="https://git.code.sf.net/p/enigmail/source"
157 - S="${WORKDIR}/${P}"
158 -else
159 - if [[ ${PV} = *_beta* ]] ; then
160 - SRC_URI="http://www.enigmail.net/download/beta/${P/_/-}.tar.gz"
161 - else
162 - SRC_URI="http://www.enigmail.net/download/source/${P}.tar.gz"
163 - KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
164 - fi
165 - S="${WORKDIR}/${PN}"
166 -fi
167 -
168 -RDEPEND="|| (
169 - ( >=app-crypt/gnupg-2.0
170 - || (
171 - app-crypt/pinentry[gtk(-)]
172 - app-crypt/pinentry[qt5(-)]
173 - )
174 - )
175 - =app-crypt/gnupg-1.4*
176 - )
177 - !<mail-client/thunderbird-52.5.0
178 - !<www-client/seamonkey-2.49.5.0_p0
179 -"
180 -DEPEND="${RDEPEND}
181 - ${PYTHON_DEPS}
182 - app-arch/zip
183 - dev-lang/perl
184 - "
185 -
186 -src_compile() {
187 - emake ipc public ui package lang stdlib
188 - emake xpi
189 -
190 -}
191 -
192 -src_install() {
193 - local emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' build/dist/install.rdf)
194 - [[ -n ${emid} ]] || die "Could not scrape EM:ID from install.rdf"
195 -
196 - mv build/enigmail*.xpi build/"${emid}.xpi" || die 'Could not rename XPI to match EM:ID'
197 -
198 - # thunderbird
199 - insinto "/usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}"
200 - doins build/"${emid}.xpi"
201 -
202 - # seamonkey
203 - insinto "/usr/share/mozilla/extensions/{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}"
204 - doins build/"${emid}.xpi"
205 -}
206 -
207 -pkg_postinst() {
208 - local peimpl=$(eselect --brief --colour=no pinentry show)
209 - case "${peimpl}" in
210 - *gtk*|*qt*) ;;
211 - *) ewarn "The pinentry front-end currently selected is not one supported by thunderbird."
212 - ewarn "You may be prompted for your password in an inaccessible shell!!"
213 - ewarn "Please use 'eselect pinentry' to select either the gtk or qt front-end"
214 - ;;
215 - esac
216 - if [[ -n ${REPLACING_VERSIONS} ]]; then
217 - elog
218 - elog "Please restart thunderbird and/or seamonkey in order for them to use"
219 - elog "the newly installed version of enigmail."
220 - fi
221 -}
222
223 diff --git a/x11-plugins/enigmail/metadata.xml b/x11-plugins/enigmail/metadata.xml
224 deleted file mode 100644
225 index d9b367e..0000000
226 --- a/x11-plugins/enigmail/metadata.xml
227 +++ /dev/null
228 @@ -1,8 +0,0 @@
229 -<?xml version="1.0" encoding="UTF-8"?>
230 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
231 -<pkgmetadata>
232 -<maintainer type="project">
233 - <email>mozilla@g.o</email>
234 - <name>Gentoo Mozilla Team</name>
235 -</maintainer>
236 -</pkgmetadata>