1 |
commit: 8ddf2ecb98c5ac2fbf8f453932f3b6ac816f6457 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 21:09:12 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 22:23:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ddf2ecb |
7 |
|
8 |
app-admin/abrt: Version bump to 2.14.2 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
app-admin/abrt/Manifest | 1 + |
13 |
app-admin/abrt/abrt-2.14.2.ebuild | 129 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 130 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/abrt/Manifest b/app-admin/abrt/Manifest |
17 |
index 06340ece8ac..373d7214a7b 100644 |
18 |
--- a/app-admin/abrt/Manifest |
19 |
+++ b/app-admin/abrt/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST abrt-2.14.0.tar.gz 6102393 BLAKE2B 6bba45604406c1f2f84d778475acc6b5db3747f292fcb74a881703491b2d92adda3cc88d6ed741087c1ed2f88a68cdc4858f3640b506a6be650ea4d1d1f2bfd3 SHA512 26cf04ef6f52da445e825d5f1074186c4c77d1b093174bb6f7b0a8fa6175e265fcaf56fa4a977851a2352f9fd004425bc397e35a91f6f8e78f37564cd492c571 |
22 |
DIST abrt-2.14.1.tar.gz 6113024 BLAKE2B ddceda689fa51b04a0c201fe560c31ba5c8233c1f75c878b391b0b61cff241e6c2ce5b1829faa6e5f286c3c5efe96941c823234affe94b59fdd2aa3d7cd33cc3 SHA512 24126a54778b7e612c8b950321686bdee7ce15a16e79c8d967f8126c89f7da7060270fc0929cfabfc35100d069b0a626c3380833a3f62614cea6b00a44238ec3 |
23 |
+DIST abrt-2.14.2.tar.gz 6113632 BLAKE2B 904ec2ca4c3aa70b62573ca2730742689f4446c1e5f04bfb6dc4267a4a9a6d44ef8c2b6e82c1e0aba04876b400c3a965a879da65bbff7ec729846f1b5c28cdf9 SHA512 82ba10cb151b4585024e3dfc626f46a7d967797e0375158cd76355c4f6a66c59578cc7b41bc5d5aaa3e694b3653b8658650df458676225660cfe95ec318c6886 |
24 |
|
25 |
diff --git a/app-admin/abrt/abrt-2.14.2.ebuild b/app-admin/abrt/abrt-2.14.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1071f21d239 |
28 |
--- /dev/null |
29 |
+++ b/app-admin/abrt/abrt-2.14.2.ebuild |
30 |
@@ -0,0 +1,129 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit autotools python-single-r1 systemd xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="Automatic bug detection and reporting tool" |
40 |
+HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project" |
41 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+ |
47 |
+IUSE="selinux test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+DEPEND="${PYTHON_DEPS} |
52 |
+ >=dev-libs/glib-2.56:2 |
53 |
+ >=dev-libs/libreport-2.13.0[gtk,python] |
54 |
+ dev-libs/libxml2:2 |
55 |
+ >=gnome-base/gsettings-desktop-schemas-3.15.1 |
56 |
+ net-libs/libsoup:2.4 |
57 |
+ sys-apps/dbus |
58 |
+ sys-apps/systemd:0= |
59 |
+ sys-auth/polkit |
60 |
+ sys-libs/libcap |
61 |
+ sys-fs/inotify-tools |
62 |
+ x11-libs/gtk+:3 |
63 |
+" |
64 |
+RDEPEND="${DEPEND} |
65 |
+ acct-user/abrt |
66 |
+ acct-group/abrt |
67 |
+ app-arch/cpio |
68 |
+ app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}] |
69 |
+ dev-libs/elfutils |
70 |
+ dev-libs/json-c:0= |
71 |
+ sys-apps/util-linux |
72 |
+ >=sys-devel/gdb-7 |
73 |
+ $(python_gen_cond_dep ' |
74 |
+ dev-libs/satyr[${PYTHON_MULTI_USEDEP}] |
75 |
+ dev-python/argcomplete[${PYTHON_MULTI_USEDEP}] |
76 |
+ dev-python/argh[${PYTHON_MULTI_USEDEP}] |
77 |
+ dev-python/humanize[${PYTHON_MULTI_USEDEP}] |
78 |
+ ') |
79 |
+" |
80 |
+BDEPEND=" |
81 |
+ test? ( |
82 |
+ $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_MULTI_USEDEP}]') |
83 |
+ ) |
84 |
+ app-text/asciidoc |
85 |
+ app-text/xmlto |
86 |
+ >=dev-util/intltool-0.35.0 |
87 |
+ virtual/pkgconfig |
88 |
+ >=sys-devel/gettext-0.17 |
89 |
+" |
90 |
+ |
91 |
+pkg_setup() { |
92 |
+ python-single-r1_pkg_setup |
93 |
+} |
94 |
+ |
95 |
+src_prepare() { |
96 |
+ python_fix_shebang . |
97 |
+ default |
98 |
+ |
99 |
+ # Install under proper directory |
100 |
+ sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die |
101 |
+ |
102 |
+ # Ensure this works for systems with and without /usr merge |
103 |
+ sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die |
104 |
+ |
105 |
+ # Fix hardcoded "pytest-3" |
106 |
+ sed -i -e "s:pytest-3:pytest:" \ |
107 |
+ configure.ac src/python-problem/tests/Makefile.am src/cli/test || die |
108 |
+ |
109 |
+ # pyhook test is sensitive to the format of python's error messages, and |
110 |
+ # fails with certain python versions |
111 |
+ sed -e '/pyhook.at/ d' \ |
112 |
+ -i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed" |
113 |
+ ./gen-version || die # Needed to be run before autoreconf |
114 |
+ eautoreconf |
115 |
+} |
116 |
+ |
117 |
+src_configure() { |
118 |
+ myeconfargs=( |
119 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" |
120 |
+ --localstatedir="${EPREFIX}/var" |
121 |
+ --without-bodhi |
122 |
+ # package breaks due to not finding libreport-web with bodhi plugin enabled |
123 |
+ --without-rpm |
124 |
+ $(usex selinux "" "--without-selinux") |
125 |
+ --with-python3 |
126 |
+ --without-pythondoc |
127 |
+ # package breaks due to no sphinx-build-3 |
128 |
+ $(use_with test pythontests) |
129 |
+ ) |
130 |
+ |
131 |
+ econf "${myeconfargs[@]}" |
132 |
+} |
133 |
+ |
134 |
+src_install() { |
135 |
+ default |
136 |
+ python_optimize |
137 |
+ |
138 |
+ keepdir /var/run/abrt |
139 |
+ # /var/spool/abrt is created by dev-libs/libreport |
140 |
+ |
141 |
+ diropts -m 700 -o abrt -g abrt |
142 |
+ keepdir /var/spool/abrt-upload |
143 |
+ |
144 |
+ diropts -m 775 -o abrt -g abrt |
145 |
+ keepdir /var/cache/abrt-di |
146 |
+ |
147 |
+ find "${D}" -name '*.la' -delete || die |
148 |
+ |
149 |
+ newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt |
150 |
+ newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt |
151 |
+} |
152 |
+ |
153 |
+pkg_postinst() { |
154 |
+ xdg_icon_cache_update |
155 |
+} |
156 |
+ |
157 |
+pkg_postrm() { |
158 |
+ xdg_icon_cache_update |
159 |
+} |