1 |
commit: edb2de817b7aa84c5d4c1731d3cce3b7c2fd185d |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 23 15:57:00 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 23 15:59:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb2de81 |
7 |
|
8 |
app-admin/abrt: Version bump to 2.12.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
app-admin/abrt/Manifest | 1 + |
14 |
app-admin/abrt/abrt-2.12.0.ebuild | 120 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 121 insertions(+) |
16 |
|
17 |
diff --git a/app-admin/abrt/Manifest b/app-admin/abrt/Manifest |
18 |
index 1976544afdb..11781cedb08 100644 |
19 |
--- a/app-admin/abrt/Manifest |
20 |
+++ b/app-admin/abrt/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST abrt-2.0.12.tar.gz 1090121 BLAKE2B 272f486bd166a33fea3e340763b3443b5643a650fe16ad326e249309c355f214c67937456dd2d8f3e7cdac65cb85bd8030e6b89671f427085a05dca64b8f874d SHA512 5432205edb4483fb1883b9bcebab48784b16dd9e72c3a929ea0d50c48dab638d80f136b6b0d7648d8ec9fcb79d5ce8c1be37d36301d3b2b151868901be82a63a |
23 |
DIST abrt-2.10.10.tar.gz 6830586 BLAKE2B 5cd45144678e6355cb1362c3ebe5531104bb150ff95c42d10e3056f7619cdc7dc3da57e4025cab05234866a4634f29bc07fd78f574800d6b303385c6befa25bd SHA512 6daeea898c9328d31b952ef12202162e002f91b4115301e5d66a0e6991251f9a8322b87201128f7efd54b42b76cb94abc4cf01e5d5b563f254f6757ec7e2127d |
24 |
+DIST abrt-2.12.0.tar.gz 6799338 BLAKE2B 57a9b3fac4a4a5f55630be0573b26d4ae2d921d4f09d6566339a77f314c413c1a9e242f882fe20befabf30a58e7df21395edcf1b0d560bfeadf8e854bff6a705 SHA512 3567332399cd9708505a6d05c9388c7da5c14c7432e6fd40e5e76b6bcea8859c17b3b6c52a96ce54740e3682d75d8bf77dbc5fede80bd4fc6f72c60014f9cded |
25 |
|
26 |
diff --git a/app-admin/abrt/abrt-2.12.0.ebuild b/app-admin/abrt/abrt-2.12.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a8ed0ff492d |
29 |
--- /dev/null |
30 |
+++ b/app-admin/abrt/abrt-2.12.0.ebuild |
31 |
@@ -0,0 +1,120 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit autotools gnome2-utils python-single-r1 systemd user |
39 |
+ |
40 |
+DESCRIPTION="Automatic bug detection and reporting tool" |
41 |
+HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project" |
42 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+IUSE="debug selinux" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+COMMON_DEPEND="${PYTHON_DEPS} |
52 |
+ >=dev-libs/glib-2.43.4:2 |
53 |
+ >=dev-libs/libreport-2.10.0[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-fs/inotify-tools |
61 |
+ x11-libs/gtk+:3 |
62 |
+" |
63 |
+RDEPEND="${COMMON_DEPEND} |
64 |
+ app-arch/cpio |
65 |
+ app-arch/rpm |
66 |
+ dev-libs/elfutils |
67 |
+ dev-libs/json-c:0= |
68 |
+ dev-python/argcomplete[${PYTHON_USEDEP}] |
69 |
+ dev-python/argh[${PYTHON_USEDEP}] |
70 |
+ dev-python/humanize[${PYTHON_USEDEP}] |
71 |
+ sys-apps/util-linux |
72 |
+ >=sys-devel/gdb-7 |
73 |
+" |
74 |
+DEPEND="${COMMON_DEPEND} |
75 |
+ app-text/asciidoc |
76 |
+ app-text/xmlto |
77 |
+ dev-libs/satyr[${PYTHON_USEDEP}] |
78 |
+ >=dev-util/intltool-0.35.0 |
79 |
+ virtual/pkgconfig |
80 |
+ >=sys-devel/gettext-0.17 |
81 |
+" |
82 |
+ |
83 |
+RESTRICT="test" # tests *may* be broken due to all the RHEL crap. explore later. |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ python-single-r1_pkg_setup |
87 |
+ |
88 |
+ enewgroup abrt |
89 |
+ enewuser abrt -1 -1 -1 abrt |
90 |
+} |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ default |
94 |
+ |
95 |
+ # Install under proper directory |
96 |
+ sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die |
97 |
+ |
98 |
+ # pyhook test is sensitive to the format of python's error messages, and |
99 |
+ # fails with certain python versions |
100 |
+ sed -e '/pyhook.at/ d' \ |
101 |
+ -i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed" |
102 |
+ ./gen-version || die # Needed to be run before autoreconf |
103 |
+ eautoreconf |
104 |
+} |
105 |
+ |
106 |
+src_configure() { |
107 |
+ myeconfargs=( |
108 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" |
109 |
+ --localstatedir="${EPREFIX}/var" |
110 |
+ --without-bodhi |
111 |
+ # package breaks due to not finding libreport-web with bodhi plugin enabled |
112 |
+ --without-rpm |
113 |
+ $(usex selinux "" "--without-selinux") |
114 |
+ --without-python2 |
115 |
+ # Fixes "syntax error in VERSION script" and we aren't supporting Python2 anyway |
116 |
+ --with-python3 |
117 |
+ --without-pythondoc |
118 |
+ # package breaks due to no sphinx-build-3 |
119 |
+ --without-pythontests |
120 |
+ # kill tests for now until they can be explored. |
121 |
+ ) |
122 |
+ |
123 |
+ econf "${myeconfargs[@]}" |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ default |
128 |
+ python_optimize #661706 |
129 |
+ |
130 |
+ keepdir /var/run/abrt |
131 |
+ # /var/spool/abrt is created by dev-libs/libreport |
132 |
+ |
133 |
+ diropts -m 700 -o abrt -g abrt |
134 |
+ keepdir /var/spool/abrt-upload |
135 |
+ |
136 |
+ diropts -m 775 -o abrt -g abrt |
137 |
+ keepdir /var/cache/abrt-di |
138 |
+ |
139 |
+ find "${D}" -name '*.la' -delete || die |
140 |
+ |
141 |
+ newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt |
142 |
+ newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt |
143 |
+} |
144 |
+ |
145 |
+pkg_postinst() { |
146 |
+ gnome2_icon_cache_update |
147 |
+} |
148 |
+ |
149 |
+pkg_postrm() { |
150 |
+ gnome2_icon_cache_update |
151 |
+} |