From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57AB3158041 for ; Tue, 7 Sep 2021 15:08:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DAB0E0821; Tue, 7 Sep 2021 15:08:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6682DE0821 for ; Tue, 7 Sep 2021 15:08:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 314B1342AB8 for ; Tue, 7 Sep 2021 15:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BFA0BE for ; Tue, 7 Sep 2021 15:08:15 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1631027290.16478b44b865d25cd538ff9b2d2716beba62d601.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libreport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libreport/Manifest dev-libs/libreport/libreport-2.15.2.ebuild X-VCS-Directories: dev-libs/libreport/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 16478b44b865d25cd538ff9b2d2716beba62d601 X-VCS-Branch: master Date: Tue, 7 Sep 2021 15:08:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eec44306-348b-46b2-907b-48535b0adccc X-Archives-Hash: 1229b6108f43cd666bf0f4579cb87aca commit: 16478b44b865d25cd538ff9b2d2716beba62d601 Author: Pacho Ramos gentoo org> AuthorDate: Tue Sep 7 15:05:34 2021 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Sep 7 15:08:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16478b44 dev-libs/libreport: Bump to 2.15.2 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> dev-libs/libreport/Manifest | 1 + dev-libs/libreport/libreport-2.15.2.ebuild | 100 +++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/dev-libs/libreport/Manifest b/dev-libs/libreport/Manifest index 3986245a165..640e49ba9cd 100644 --- a/dev-libs/libreport/Manifest +++ b/dev-libs/libreport/Manifest @@ -1,3 +1,4 @@ DIST libreport-2.13.1.tar.gz 1841698 BLAKE2B e0fbebbb557fb9fb320dea0a8face6a2eabdb0ad80b5de092e5e4dfe2a0439a4804d4ec99c1286aaafa31064496a94fabce5e26f851001eb9c3bb9989a46e4bb SHA512 6c2ea47e6efa36f23030fbe08946d1e524690e5f6279cbfdaf7c463ef71b23ae82a5e4471ddce89b35d4024f58197cef9f58a07dfcf5bbc1a9b310e39966f81a DIST libreport-2.15.0.tar.gz 1859305 BLAKE2B ceedd392bd0c7fc5c3f0db5d4a63ced6a1e430b09d1d085996ce735daef5f48cd18267fb1401d9343857619daef6f7f3dcea8508c62313a9f908e5573508649c SHA512 7baaa1fb65face910e55ad06e53af08c5e31f058bf5936c3c1d45581e050380b5db75659b5a493cc626a81795d82616a2dfad696d60c107929cfb8e2905e7f4c DIST libreport-2.15.1.tar.gz 1860410 BLAKE2B 43743fc7a7698851e247956621286cc94dbfcc451b8d95aaff9263e65f787b23f7bbf5d7ec087196d5f9f30a697c66e547bbccdc913b3ea2a17ea4c7bf77ee02 SHA512 70f947690173a0afa57981c9755a18bdd0ad44c888c00713de74624296b81ff25203d5dda5d5c57eac85da4a1631585184b77715c7adf6688b469e32d4113cf4 +DIST libreport-2.15.2.tar.gz 1859867 BLAKE2B f890e3cb8b2a23647e4c3fb0caaf984b1b21fd32e066d04f835f8a475e317cbc75287375e0a10a01b91670d04bba1f15b1180065f7029b8d7d1c0a2fb890914b SHA512 c98003325fa70d674177c9f602a7f121815a9675701ee780ad8908ed69862f2c69be65c7483fd3f017ba299dda51ba304f0908c771c9d97cb5bba057e3a9c5dc diff --git a/dev-libs/libreport/libreport-2.15.2.ebuild b/dev-libs/libreport/libreport-2.15.2.ebuild new file mode 100644 index 00000000000..debf3b612b4 --- /dev/null +++ b/dev-libs/libreport/libreport-2.15.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{7..10} ) + +inherit autotools python-r1 + +DESCRIPTION="Generic library for reporting software bugs" +HOMEPAGE="https://github.com/abrt/libreport" +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk +python" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + app-admin/augeas + app-arch/libarchive:0= + >=dev-libs/glib-2.43.4:2 + dev-libs/satyr:0= + dev-libs/json-c:= + dev-libs/libxml2:2 + dev-libs/nettle:= + dev-libs/newt:= + dev-libs/xmlrpc-c:= + net-libs/libproxy:= + net-misc/curl:=[ssl] + sys-apps/dbus + sys-apps/systemd + gtk? ( >=x11-libs/gtk+-3.3.12:3 ) + python? ( ${PYTHON_DEPS} ) + x11-misc/xdg-utils +" +RDEPEND="${DEPEND} + acct-user/abrt + acct-group/abrt +" +BDEPEND=" + app-text/asciidoc + app-text/xmlto + >=dev-util/intltool-0.3.50 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +# Tests require python-meh, which is highly redhat-specific. +RESTRICT="test" + +src_prepare() { + default + ./gen-version || die # Needed to be run before autoreconf + eautoreconf + use python && python_copy_sources +} + +src_configure() { + use python && python_setup + + local myargs=( + --localstatedir="${EPREFIX}/var" + --without-bugzilla + $(use_with gtk) + $(use_with python python3) + ) + if use python; then + python_foreach_impl run_in_build_dir econf "${myargs[@]}" + else + econf "${myargs[@]}" + fi +} + +src_compile() { + if use python; then + python_foreach_impl run_in_build_dir default + else + default + fi +} + +src_install() { + if use python; then + python_install() { + default + python_optimize + } + python_foreach_impl run_in_build_dir python_install + else + default + fi + + # Need to set correct ownership for use by app-admin/abrt + diropts -o abrt -g abrt + keepdir /var/spool/abrt + + find "${D}" -name '*.la' -exec rm -f {} + || die +}