Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/abrt/
Date: Tue, 07 Sep 2021 15:08:19
Message-Id: 1631027287.438377ae8f8d58d05284a47a441485841515da8c.pacho@gentoo
1 commit: 438377ae8f8d58d05284a47a441485841515da8c
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 7 14:55:43 2021 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 7 15:08:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438377ae
7
8 app-admin/abrt: Drop old
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-admin/abrt/Manifest | 2 -
14 app-admin/abrt/abrt-2.14.2.ebuild | 129 --------------------------------------
15 app-admin/abrt/abrt-2.14.5.ebuild | 129 --------------------------------------
16 3 files changed, 260 deletions(-)
17
18 diff --git a/app-admin/abrt/Manifest b/app-admin/abrt/Manifest
19 index 616025676b5..dfcbead27a3 100644
20 --- a/app-admin/abrt/Manifest
21 +++ b/app-admin/abrt/Manifest
22 @@ -1,3 +1 @@
23 -DIST abrt-2.14.2.tar.gz 6113632 BLAKE2B 904ec2ca4c3aa70b62573ca2730742689f4446c1e5f04bfb6dc4267a4a9a6d44ef8c2b6e82c1e0aba04876b400c3a965a879da65bbff7ec729846f1b5c28cdf9 SHA512 82ba10cb151b4585024e3dfc626f46a7d967797e0375158cd76355c4f6a66c59578cc7b41bc5d5aaa3e694b3653b8658650df458676225660cfe95ec318c6886
24 -DIST abrt-2.14.5.tar.gz 6056105 BLAKE2B 22e797a431237bd3d4ef6f2467842c5f08e2ef3ca51e7857e3c55e45ed93a9499843fe40b081c70affb5def8f2cfe78d61e865c51c969fb2c9936225bdfe4996 SHA512 a8672735c6d3263ddff006e6e186d9b71e6d9375a8c909c2a85bbbf736a6687b6fe4aa74640a07664f14fd886895a86babf41218a8c2365d6fccd347630ccc9e
25 DIST abrt-2.14.6.tar.gz 6057661 BLAKE2B 2ef74203181c89818f283a801c4a1a0f22a01c92ca2415d245dc180ee721b3e29cb75c95e45d738f88b6bbf339fe8bef4e499ab6fecad33399dc8a5af8f98d4c SHA512 eb1ba2f624d51eeccd203bb23060493347f5a9142fad7d0570d46134071d870a9c66b4fbfb8210e7d6f87c0c039f31eb486d18a36b10fba318e2180aa09df9fe
26
27 diff --git a/app-admin/abrt/abrt-2.14.2.ebuild b/app-admin/abrt/abrt-2.14.2.ebuild
28 deleted file mode 100644
29 index 6756dd1e66a..00000000000
30 --- a/app-admin/abrt/abrt-2.14.2.ebuild
31 +++ /dev/null
32 @@ -1,129 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -PYTHON_COMPAT=( python3_{8..9} )
38 -
39 -inherit autotools python-single-r1 xdg-utils
40 -
41 -DESCRIPTION="Automatic bug detection and reporting tool"
42 -HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
43 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -
49 -IUSE="selinux test"
50 -RESTRICT="!test? ( test )"
51 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 -
53 -DEPEND="${PYTHON_DEPS}
54 - >=dev-libs/glib-2.56:2
55 - >=dev-libs/libreport-2.13.0[gtk,python]
56 - dev-libs/libxml2:2
57 - >=gnome-base/gsettings-desktop-schemas-3.15.1
58 - net-libs/libsoup:2.4
59 - sys-apps/dbus
60 - sys-apps/systemd:0=
61 - sys-auth/polkit
62 - sys-libs/libcap
63 - sys-fs/inotify-tools
64 - x11-libs/gtk+:3
65 -"
66 -RDEPEND="${DEPEND}
67 - acct-user/abrt
68 - acct-group/abrt
69 - app-arch/cpio
70 - app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
71 - dev-libs/elfutils
72 - dev-libs/json-c:0=
73 - sys-apps/util-linux
74 - >=sys-devel/gdb-7
75 - $(python_gen_cond_dep '
76 - dev-libs/satyr[${PYTHON_USEDEP}]
77 - dev-python/argcomplete[${PYTHON_USEDEP}]
78 - dev-python/argh[${PYTHON_USEDEP}]
79 - dev-python/humanize[${PYTHON_USEDEP}]
80 - ')
81 -"
82 -BDEPEND="
83 - test? (
84 - $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
85 - )
86 - app-text/asciidoc
87 - app-text/xmlto
88 - >=dev-util/intltool-0.35.0
89 - virtual/pkgconfig
90 - >=sys-devel/gettext-0.17
91 -"
92 -
93 -pkg_setup() {
94 - python-single-r1_pkg_setup
95 -}
96 -
97 -src_prepare() {
98 - python_fix_shebang .
99 - default
100 -
101 - # Install under proper directory
102 - sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
103 -
104 - # Ensure this works for systems with and without /usr merge
105 - sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
106 -
107 - # Fix hardcoded "pytest-3"
108 - sed -i -e "s:pytest-3:pytest:" \
109 - configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
110 -
111 - # pyhook test is sensitive to the format of python's error messages, and
112 - # fails with certain python versions
113 - sed -e '/pyhook.at/ d' \
114 - -i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
115 - ./gen-version || die # Needed to be run before autoreconf
116 - eautoreconf
117 -}
118 -
119 -src_configure() {
120 - myeconfargs=(
121 - --libdir="${EPREFIX}/usr/$(get_libdir)"
122 - --localstatedir="${EPREFIX}/var"
123 - --without-bodhi
124 - # package breaks due to not finding libreport-web with bodhi plugin enabled
125 - --without-rpm
126 - $(usex selinux "" "--without-selinux")
127 - --with-python3
128 - --without-pythondoc
129 - # package breaks due to no sphinx-build-3
130 - $(use_with test pythontests)
131 - )
132 -
133 - econf "${myeconfargs[@]}"
134 -}
135 -
136 -src_install() {
137 - default
138 - python_optimize
139 -
140 - keepdir /var/run/abrt
141 - # /var/spool/abrt is created by dev-libs/libreport
142 -
143 - diropts -m 700 -o abrt -g abrt
144 - keepdir /var/spool/abrt-upload
145 -
146 - diropts -m 775 -o abrt -g abrt
147 - keepdir /var/cache/abrt-di
148 -
149 - find "${D}" -name '*.la' -delete || die
150 -
151 - newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
152 - newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
153 -}
154 -
155 -pkg_postinst() {
156 - xdg_icon_cache_update
157 -}
158 -
159 -pkg_postrm() {
160 - xdg_icon_cache_update
161 -}
162
163 diff --git a/app-admin/abrt/abrt-2.14.5.ebuild b/app-admin/abrt/abrt-2.14.5.ebuild
164 deleted file mode 100644
165 index 6756dd1e66a..00000000000
166 --- a/app-admin/abrt/abrt-2.14.5.ebuild
167 +++ /dev/null
168 @@ -1,129 +0,0 @@
169 -# Copyright 1999-2021 Gentoo Authors
170 -# Distributed under the terms of the GNU General Public License v2
171 -
172 -EAPI=7
173 -PYTHON_COMPAT=( python3_{8..9} )
174 -
175 -inherit autotools python-single-r1 xdg-utils
176 -
177 -DESCRIPTION="Automatic bug detection and reporting tool"
178 -HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
179 -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
180 -
181 -LICENSE="GPL-2"
182 -SLOT="0"
183 -KEYWORDS="~amd64 ~x86"
184 -
185 -IUSE="selinux test"
186 -RESTRICT="!test? ( test )"
187 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
188 -
189 -DEPEND="${PYTHON_DEPS}
190 - >=dev-libs/glib-2.56:2
191 - >=dev-libs/libreport-2.13.0[gtk,python]
192 - dev-libs/libxml2:2
193 - >=gnome-base/gsettings-desktop-schemas-3.15.1
194 - net-libs/libsoup:2.4
195 - sys-apps/dbus
196 - sys-apps/systemd:0=
197 - sys-auth/polkit
198 - sys-libs/libcap
199 - sys-fs/inotify-tools
200 - x11-libs/gtk+:3
201 -"
202 -RDEPEND="${DEPEND}
203 - acct-user/abrt
204 - acct-group/abrt
205 - app-arch/cpio
206 - app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
207 - dev-libs/elfutils
208 - dev-libs/json-c:0=
209 - sys-apps/util-linux
210 - >=sys-devel/gdb-7
211 - $(python_gen_cond_dep '
212 - dev-libs/satyr[${PYTHON_USEDEP}]
213 - dev-python/argcomplete[${PYTHON_USEDEP}]
214 - dev-python/argh[${PYTHON_USEDEP}]
215 - dev-python/humanize[${PYTHON_USEDEP}]
216 - ')
217 -"
218 -BDEPEND="
219 - test? (
220 - $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]')
221 - )
222 - app-text/asciidoc
223 - app-text/xmlto
224 - >=dev-util/intltool-0.35.0
225 - virtual/pkgconfig
226 - >=sys-devel/gettext-0.17
227 -"
228 -
229 -pkg_setup() {
230 - python-single-r1_pkg_setup
231 -}
232 -
233 -src_prepare() {
234 - python_fix_shebang .
235 - default
236 -
237 - # Install under proper directory
238 - sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
239 -
240 - # Ensure this works for systems with and without /usr merge
241 - sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
242 -
243 - # Fix hardcoded "pytest-3"
244 - sed -i -e "s:pytest-3:pytest:" \
245 - configure.ac src/python-problem/tests/Makefile.am src/cli/test || die
246 -
247 - # pyhook test is sensitive to the format of python's error messages, and
248 - # fails with certain python versions
249 - sed -e '/pyhook.at/ d' \
250 - -i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
251 - ./gen-version || die # Needed to be run before autoreconf
252 - eautoreconf
253 -}
254 -
255 -src_configure() {
256 - myeconfargs=(
257 - --libdir="${EPREFIX}/usr/$(get_libdir)"
258 - --localstatedir="${EPREFIX}/var"
259 - --without-bodhi
260 - # package breaks due to not finding libreport-web with bodhi plugin enabled
261 - --without-rpm
262 - $(usex selinux "" "--without-selinux")
263 - --with-python3
264 - --without-pythondoc
265 - # package breaks due to no sphinx-build-3
266 - $(use_with test pythontests)
267 - )
268 -
269 - econf "${myeconfargs[@]}"
270 -}
271 -
272 -src_install() {
273 - default
274 - python_optimize
275 -
276 - keepdir /var/run/abrt
277 - # /var/spool/abrt is created by dev-libs/libreport
278 -
279 - diropts -m 700 -o abrt -g abrt
280 - keepdir /var/spool/abrt-upload
281 -
282 - diropts -m 775 -o abrt -g abrt
283 - keepdir /var/cache/abrt-di
284 -
285 - find "${D}" -name '*.la' -delete || die
286 -
287 - newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
288 - newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
289 -}
290 -
291 -pkg_postinst() {
292 - xdg_icon_cache_update
293 -}
294 -
295 -pkg_postrm() {
296 - xdg_icon_cache_update
297 -}