Gentoo Archives: gentoo-commits

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