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 1E83D138350 for ; Thu, 19 Mar 2020 02:07:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22AB7E0C4A; Thu, 19 Mar 2020 02:07:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 DF259E0C4A for ; Thu, 19 Mar 2020 02:07:16 +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 42D0634F031 for ; Thu, 19 Mar 2020 02:07:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CE7F187 for ; Thu, 19 Mar 2020 02:07:12 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1584583617.a04b0728b477fe78d8bf5cb691c24d02fd03fd9f.mattst88@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.12.0.ebuild X-VCS-Directories: dev-libs/libreport/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: a04b0728b477fe78d8bf5cb691c24d02fd03fd9f X-VCS-Branch: master Date: Thu, 19 Mar 2020 02:07:12 +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: 0d4cfa86-c087-431b-8823-3b413262ac82 X-Archives-Hash: 5237fba47c52ac9c18c971c7ed918d4b commit: a04b0728b477fe78d8bf5cb691c24d02fd03fd9f Author: Matt Turner gentoo org> AuthorDate: Thu Mar 19 01:37:50 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Mar 19 02:06:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04b0728 dev-libs/libreport: Version bump to 2.12.0 Signed-off-by: Matt Turner gentoo.org> dev-libs/libreport/Manifest | 1 + dev-libs/libreport/libreport-2.12.0.ebuild | 100 +++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) diff --git a/dev-libs/libreport/Manifest b/dev-libs/libreport/Manifest index 1c1906dd4ca..1c28bd0fb52 100644 --- a/dev-libs/libreport/Manifest +++ b/dev-libs/libreport/Manifest @@ -1 +1,2 @@ DIST libreport-2.10.0.tar.gz 2278084 BLAKE2B 95ac1fbf32e6e021e9553b35b10f9e46b7ea2e9cc6f21e53eb39a32a5261f7a6e49b2172381fdea30341fcc4311928691e68749a8bb5c41a4bf709151935687a SHA512 978ea442d82b75abf80b2075f540cb05c5577387a9221f2070c9695c4546d36169738d223f5e903d0b774b7e1566a6111c55a6bb51a0822ad1676095f067c45b +DIST libreport-2.12.0.tar.gz 1842875 BLAKE2B 930666ec0c675a8ff457412a80511652dfa3bd3d771115506370432a7b74f3d1d9f6264dc3696c582b4a0939b2493137a18e1379eca268f25bc787a03a7d6c39 SHA512 d85c1beea330e4b21ce66b6f4acadaa132010738496a6701d161ee75b2254e629c496270145a6167e8eb81cf2204b0488aa0eb15c1e898f49aa3aec1331bff0c diff --git a/dev-libs/libreport/libreport-2.12.0.ebuild b/dev-libs/libreport/libreport-2.12.0.ebuild new file mode 100644 index 00000000000..7be92707775 --- /dev/null +++ b/dev-libs/libreport/libreport-2.12.0.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +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" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk +python" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + app-admin/augeas + >=dev-libs/glib-2.43.4:2 + dev-libs/satyr:0= + dev-libs/json-c:= + dev-libs/libtar + 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 +}