Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/authenticator/files/, profiles/, profiles/updates/, ...
Date: Tue, 30 Mar 2021 09:25:13
Message-Id: 1617096256.e1e4d40dd9be94315390db4bdffcc697197e5890.soap@gentoo
1 commit: e1e4d40dd9be94315390db4bdffcc697197e5890
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Mar 30 09:24:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 09:24:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e4d40d
7
8 sys-auth/authenticator: Remove last-rited pkg
9
10 Closes: https://github.com/gentoo/gentoo/pull/20163
11 Closes: https://bugs.gentoo.org/683358
12 Closes: https://bugs.gentoo.org/696476
13 Closes: https://bugs.gentoo.org/741936
14 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
15 Signed-off-by: David Seifert <soap <AT> gentoo.org>
16
17 profiles/package.mask | 5 --
18 profiles/updates/3Q-2018 | 1 -
19 sys-auth/authenticator/Manifest | 1 -
20 .../authenticator/authenticator-0.2.4-r1.ebuild | 73 ----------------------
21 sys-auth/authenticator/authenticator-9999.ebuild | 69 --------------------
22 ...authenticator-0.2.4-disable-failing-tests.patch | 16 -----
23 ...or-0.2.4-support-use-of-gdlib-from-system.patch | 23 -------
24 sys-auth/authenticator/metadata.xml | 11 ----
25 8 files changed, 199 deletions(-)
26
27 diff --git a/profiles/package.mask b/profiles/package.mask
28 index cd33d3fbecc..b20e9932cbb 100644
29 --- a/profiles/package.mask
30 +++ b/profiles/package.mask
31 @@ -371,11 +371,6 @@ dev-ml/core_extended
32 # Masked for removal in 30 days.
33 media-gfx/openexr_viewers
34
35 -# David Seifert <soap@g.o> (2021-02-25)
36 -# Unmaintained, python 3.7 only, relies on wrong libgd, which isn't
37 -# packaged. Removal on 2021-03-27. Bug #683358, #696476, #741936.
38 -sys-auth/authenticator
39 -
40 # Sam James <sam@g.o> (2021-02-18)
41 # 0.9.27 included a regression wrt deletes
42 # bug #768948
43
44 diff --git a/profiles/updates/3Q-2018 b/profiles/updates/3Q-2018
45 index a78539b959a..d5265767d8f 100644
46 --- a/profiles/updates/3Q-2018
47 +++ b/profiles/updates/3Q-2018
48 @@ -1,3 +1,2 @@
49 move app-crypt/sbsigntool app-crypt/sbsigntools
50 move x11-apps/radeontop app-misc/radeontop
51 -move gnome-extra/authenticator sys-auth/authenticator
52
53 diff --git a/sys-auth/authenticator/Manifest b/sys-auth/authenticator/Manifest
54 deleted file mode 100644
55 index c7653aef711..00000000000
56 --- a/sys-auth/authenticator/Manifest
57 +++ /dev/null
58 @@ -1 +0,0 @@
59 -DIST authenticator-0.2.4.tar.gz 142444 BLAKE2B 2df1462452d5aaead51af111359120c8a464058730129fd984dd568c709c58f6940a34b996d3b5435b78bd87b433a29735d3fd8e9629b512915720063b49b1a1 SHA512 16b942d24a1136350f78de92a287dcc6b52e9347cd0b73e8310b87c6c24b7075aebe909fe20d80532f7fa1b54d332b8b62fd2fc7d26ce15888fd47bb686520e2
60
61 diff --git a/sys-auth/authenticator/authenticator-0.2.4-r1.ebuild b/sys-auth/authenticator/authenticator-0.2.4-r1.ebuild
62 deleted file mode 100644
63 index c9af80e39d1..00000000000
64 --- a/sys-auth/authenticator/authenticator-0.2.4-r1.ebuild
65 +++ /dev/null
66 @@ -1,73 +0,0 @@
67 -# Copyright 1999-2020 Gentoo Authors
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI=6
71 -
72 -PYTHON_COMPAT=( python3_7 )
73 -inherit gnome2-utils meson python-single-r1 virtualx xdg-utils
74 -
75 -DESCRIPTION="Two-factor authentication code generator for GNOME"
76 -HOMEPAGE="https://gitlab.gnome.org/World/Authenticator"
77 -
78 -if [[ ${PV} == *9999 ]]; then
79 - inherit git-r3
80 - SRC_URI=""
81 - EGIT_REPO_URI="https://gitlab.gnome.org/World/Authenticator"
82 -else
83 - SRC_URI="https://gitlab.gnome.org/World/Authenticator/-/archive/${PV}/Authenticator-${PV}.tar.gz -> ${P}.tar.gz"
84 - S="${WORKDIR}/Authenticator-${PV}"
85 - KEYWORDS="~amd64 ~x86"
86 -fi
87 -
88 -LICENSE="GPL-2+"
89 -SLOT="0"
90 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
91 -IUSE="test"
92 -RESTRICT="!test? ( test )"
93 -RDEPEND="
94 - ${PYTHON_DEPS}
95 - app-crypt/libsecret
96 - $(python_gen_cond_dep '
97 - dev-python/pillow[${PYTHON_MULTI_USEDEP}]
98 - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
99 - dev-python/pyotp[${PYTHON_MULTI_USEDEP}]
100 - dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]
101 - dev-python/pyzbar[${PYTHON_MULTI_USEDEP}]
102 - ')
103 - media-libs/gd
104 - x11-libs/gtk+:3
105 -"
106 -DEPEND="${RDEPEND}
107 - test? ( x11-apps/xhost )"
108 -PATCHES=(
109 - "${FILESDIR}/${P}-disable-failing-tests.patch"
110 - "${FILESDIR}/${P}-support-use-of-gdlib-from-system.patch"
111 -)
112 -
113 -src_prepare() {
114 - default
115 -
116 - sed -i -e "1s:#!/usr/bin/env python3:#!${PYTHON}:" "authenticator.py.in" || die "Could not fix shebang."
117 -
118 - rm -r "subprojects/libgd" || die "Could not remove the subproject libgd folder."
119 -}
120 -
121 -pkg_preinst() {
122 - gnome2_icon_savelist
123 - gnome2_schemas_savelist
124 -}
125 -
126 -src_test() {
127 - xdg_environment_reset
128 - virtx meson_src_test
129 -}
130 -
131 -pkg_postinst() {
132 - gnome2_icon_cache_update
133 - gnome2_schemas_update
134 -}
135 -
136 -pkg_postrm() {
137 - gnome2_icon_cache_update
138 - gnome2_schemas_update
139 -}
140
141 diff --git a/sys-auth/authenticator/authenticator-9999.ebuild b/sys-auth/authenticator/authenticator-9999.ebuild
142 deleted file mode 100644
143 index cd26304aacf..00000000000
144 --- a/sys-auth/authenticator/authenticator-9999.ebuild
145 +++ /dev/null
146 @@ -1,69 +0,0 @@
147 -# Copyright 1999-2020 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=6
151 -
152 -PYTHON_COMPAT=( python3_7 )
153 -inherit gnome2-utils meson python-single-r1 virtualx xdg-utils
154 -
155 -DESCRIPTION="Two-factor authentication code generator for GNOME"
156 -HOMEPAGE="https://gitlab.gnome.org/World/Authenticator"
157 -
158 -if [[ ${PV} == *9999 ]]; then
159 - inherit git-r3
160 - SRC_URI=""
161 - EGIT_REPO_URI="https://gitlab.gnome.org/World/Authenticator"
162 -else
163 - SRC_URI="https://gitlab.gnome.org/World/Authenticator/-/archive/${PV}/Authenticator-${PV}.tar.gz -> ${P}.tar.gz"
164 - S="${WORKDIR}/Authenticator-${PV}"
165 - KEYWORDS="~amd64 ~x86"
166 -fi
167 -
168 -LICENSE="GPL-2+"
169 -SLOT="0"
170 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
171 -IUSE="test"
172 -RESTRICT="!test? ( test )"
173 -RDEPEND="
174 - ${PYTHON_DEPS}
175 - app-crypt/libsecret
176 - $(python_gen_cond_dep '
177 - dev-python/pillow[${PYTHON_MULTI_USEDEP}]
178 - dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
179 - dev-python/pyotp[${PYTHON_MULTI_USEDEP}]
180 - dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]
181 - dev-python/pyzbar[${PYTHON_MULTI_USEDEP}]
182 - ')
183 - media-libs/gd
184 - x11-libs/gtk+:3
185 -"
186 -DEPEND="${RDEPEND}
187 - test? ( x11-apps/xhost )"
188 -
189 -src_prepare() {
190 - default
191 -
192 - sed -i -e "1s:#!/usr/bin/env python3:#!${PYTHON}:" "authenticator.py.in" || die "Could not fix shebang."
193 -
194 - rm -r "subprojects/libgd" || die "Could not remove the subproject libgd folder."
195 -}
196 -
197 -pkg_preinst() {
198 - gnome2_icon_savelist
199 - gnome2_schemas_savelist
200 -}
201 -
202 -src_test() {
203 - xdg_environment_reset
204 - virtx meson_src_test
205 -}
206 -
207 -pkg_postinst() {
208 - gnome2_icon_cache_update
209 - gnome2_schemas_update
210 -}
211 -
212 -pkg_postrm() {
213 - gnome2_icon_cache_update
214 - gnome2_schemas_update
215 -}
216
217 diff --git a/sys-auth/authenticator/files/authenticator-0.2.4-disable-failing-tests.patch b/sys-auth/authenticator/files/authenticator-0.2.4-disable-failing-tests.patch
218 deleted file mode 100644
219 index 38b4b95464a..00000000000
220 --- a/sys-auth/authenticator/files/authenticator-0.2.4-disable-failing-tests.patch
221 +++ /dev/null
222 @@ -1,16 +0,0 @@
223 -diff --git a/data/meson.build b/data/meson.build
224 -index b646c11..884c5d0 100644
225 ---- a/data/meson.build
226 -+++ b/data/meson.build
227 -@@ -50,10 +50,3 @@ endif
228 -
229 - appstreamcli = find_program('appstream-util', required:false)
230 -
231 --if appstreamcli.found()
232 -- test (
233 -- 'Validate appdata file',
234 -- appstreamcli,
235 -- args: ['validate-relax', join_paths(meson.current_build_dir (), meson.project_name() + '.appdata.xml')]
236 -- )
237 --endif
238 -
239
240 diff --git a/sys-auth/authenticator/files/authenticator-0.2.4-support-use-of-gdlib-from-system.patch b/sys-auth/authenticator/files/authenticator-0.2.4-support-use-of-gdlib-from-system.patch
241 deleted file mode 100644
242 index ffbde3cf2f0..00000000000
243 --- a/sys-auth/authenticator/files/authenticator-0.2.4-support-use-of-gdlib-from-system.patch
244 +++ /dev/null
245 @@ -1,23 +0,0 @@
246 -diff --git a/meson.build b/meson.build
247 -index ed9c48e..6b20bf0 100644
248 ---- a/meson.build
249 -+++ b/meson.build
250 -@@ -35,16 +35,7 @@ SERVICES_DIR = join_paths(get_option('datadir'), 'dbus-1', 'services')
251 - SEARCH_PROVIDER_DIR = join_paths(get_option('datadir'), 'gnome-shell', 'search-providers')
252 - LIBEXEC_DIR = join_paths(get_option('prefix'), get_option('libexecdir'))
253 -
254 --subproject('libgd',
255 -- default_options: [
256 -- 'with-introspection=true',
257 -- 'with-notification=true',
258 -- 'static=false',
259 -- 'pkgdatadir=' + DATA_DIR,
260 -- 'pkglibdir=' + LIB_DIR
261 -- ]
262 --)
263 --
264 -+libgd_dep = dependency('gdlib', required : true)
265 -
266 -
267 - # Configuration params
268 -
269
270 diff --git a/sys-auth/authenticator/metadata.xml b/sys-auth/authenticator/metadata.xml
271 deleted file mode 100644
272 index 110647d0e28..00000000000
273 --- a/sys-auth/authenticator/metadata.xml
274 +++ /dev/null
275 @@ -1,11 +0,0 @@
276 -<?xml version="1.0" encoding="UTF-8"?>
277 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
278 -<pkgmetadata>
279 - <!-- maintainer-needed -->
280 - <upstream>
281 - <maintainer>
282 - <name>Bilal Elmoussaoui</name>
283 - </maintainer>
284 - <bugs-to>https://gitlab.gnome.org/World/Authenticator/issues</bugs-to>
285 - </upstream>
286 -</pkgmetadata>