1 |
commit: 704afae47302a5837f97ec8385e962ff2b08bca0 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 1 14:00:51 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 1 14:06:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=704afae4 |
7 |
|
8 |
dev-libs/libreport: Version bump to 2.15.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libreport/Manifest | 1 + |
13 |
dev-libs/libreport/libreport-2.15.0.ebuild | 100 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 101 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libreport/Manifest b/dev-libs/libreport/Manifest |
17 |
index da5d5dc3381..1d7fd373044 100644 |
18 |
--- a/dev-libs/libreport/Manifest |
19 |
+++ b/dev-libs/libreport/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libreport-2.13.1.tar.gz 1841698 BLAKE2B e0fbebbb557fb9fb320dea0a8face6a2eabdb0ad80b5de092e5e4dfe2a0439a4804d4ec99c1286aaafa31064496a94fabce5e26f851001eb9c3bb9989a46e4bb SHA512 6c2ea47e6efa36f23030fbe08946d1e524690e5f6279cbfdaf7c463ef71b23ae82a5e4471ddce89b35d4024f58197cef9f58a07dfcf5bbc1a9b310e39966f81a |
22 |
+DIST libreport-2.15.0.tar.gz 1859305 BLAKE2B ceedd392bd0c7fc5c3f0db5d4a63ced6a1e430b09d1d085996ce735daef5f48cd18267fb1401d9343857619daef6f7f3dcea8508c62313a9f908e5573508649c SHA512 7baaa1fb65face910e55ad06e53af08c5e31f058bf5936c3c1d45581e050380b5db75659b5a493cc626a81795d82616a2dfad696d60c107929cfb8e2905e7f4c |
23 |
|
24 |
diff --git a/dev-libs/libreport/libreport-2.15.0.ebuild b/dev-libs/libreport/libreport-2.15.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..886cb5a64cc |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libreport/libreport-2.15.0.ebuild |
29 |
@@ -0,0 +1,100 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+PYTHON_COMPAT=( python3_{7..9} ) |
35 |
+ |
36 |
+inherit autotools python-r1 |
37 |
+ |
38 |
+DESCRIPTION="Generic library for reporting software bugs" |
39 |
+HOMEPAGE="https://github.com/abrt/libreport" |
40 |
+SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+ |
46 |
+IUSE="gtk +python" |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+ |
49 |
+DEPEND="${PYTHON_DEPS} |
50 |
+ app-admin/augeas |
51 |
+ app-arch/libarchive:0= |
52 |
+ >=dev-libs/glib-2.43.4:2 |
53 |
+ dev-libs/satyr:0= |
54 |
+ dev-libs/json-c:= |
55 |
+ dev-libs/libxml2:2 |
56 |
+ dev-libs/nettle:= |
57 |
+ dev-libs/newt:= |
58 |
+ dev-libs/xmlrpc-c:= |
59 |
+ net-libs/libproxy:= |
60 |
+ net-misc/curl:=[ssl] |
61 |
+ sys-apps/dbus |
62 |
+ sys-apps/systemd |
63 |
+ gtk? ( >=x11-libs/gtk+-3.3.12:3 ) |
64 |
+ python? ( ${PYTHON_DEPS} ) |
65 |
+ x11-misc/xdg-utils |
66 |
+" |
67 |
+RDEPEND="${DEPEND} |
68 |
+ acct-user/abrt |
69 |
+ acct-group/abrt |
70 |
+" |
71 |
+BDEPEND=" |
72 |
+ app-text/asciidoc |
73 |
+ app-text/xmlto |
74 |
+ >=dev-util/intltool-0.3.50 |
75 |
+ >=sys-devel/gettext-0.17 |
76 |
+ virtual/pkgconfig |
77 |
+" |
78 |
+ |
79 |
+# Tests require python-meh, which is highly redhat-specific. |
80 |
+RESTRICT="test" |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ ./gen-version || die # Needed to be run before autoreconf |
85 |
+ eautoreconf |
86 |
+ use python && python_copy_sources |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ use python && python_setup |
91 |
+ |
92 |
+ local myargs=( |
93 |
+ --localstatedir="${EPREFIX}/var" |
94 |
+ --without-bugzilla |
95 |
+ $(use_with gtk) |
96 |
+ $(use_with python python3) |
97 |
+ ) |
98 |
+ if use python; then |
99 |
+ python_foreach_impl run_in_build_dir econf "${myargs[@]}" |
100 |
+ else |
101 |
+ econf "${myargs[@]}" |
102 |
+ fi |
103 |
+} |
104 |
+ |
105 |
+src_compile() { |
106 |
+ if use python; then |
107 |
+ python_foreach_impl run_in_build_dir default |
108 |
+ else |
109 |
+ default |
110 |
+ fi |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ if use python; then |
115 |
+ python_install() { |
116 |
+ default |
117 |
+ python_optimize |
118 |
+ } |
119 |
+ python_foreach_impl run_in_build_dir python_install |
120 |
+ else |
121 |
+ default |
122 |
+ fi |
123 |
+ |
124 |
+ # Need to set correct ownership for use by app-admin/abrt |
125 |
+ diropts -o abrt -g abrt |
126 |
+ keepdir /var/spool/abrt |
127 |
+ |
128 |
+ find "${D}" -name '*.la' -exec rm -f {} + || die |
129 |
+} |