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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A4C5158086 for ; Tue, 21 Dec 2021 18:25:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C3FC2BC017; Tue, 21 Dec 2021 18:25:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0FB52BC010 for ; Tue, 21 Dec 2021 18:25:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C07AE342CF2 for ; Tue, 21 Dec 2021 18:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E5908210 for ; Tue, 21 Dec 2021 18:25:09 +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: <1640111103.dd8cb817ad5974e28ff5b62b4084177a31e2a70f.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/satyr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/satyr/Manifest dev-libs/satyr/satyr-0.39.ebuild X-VCS-Directories: dev-libs/satyr/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: dd8cb817ad5974e28ff5b62b4084177a31e2a70f X-VCS-Branch: master Date: Tue, 21 Dec 2021 18:25:09 +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: b9abd2af-fa36-43de-8a86-7cd256cf6bb8 X-Archives-Hash: 086b05fd0d1c2fe0701c9ccd958906a6 commit: dd8cb817ad5974e28ff5b62b4084177a31e2a70f Author: Pacho Ramos gentoo org> AuthorDate: Tue Dec 21 18:10:29 2021 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Dec 21 18:25:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8cb817 dev-libs/satyr: Bump to 0.39 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> dev-libs/satyr/Manifest | 1 + dev-libs/satyr/satyr-0.39.ebuild | 101 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest index 12fe8b7800d4..9969e66ff3ef 100644 --- a/dev-libs/satyr/Manifest +++ b/dev-libs/satyr/Manifest @@ -1 +1,2 @@ DIST satyr-0.38.tar.gz 433626 BLAKE2B 682d28a932758353e986d2906baf294183756d60a063ce03ba79506b58c92e4fc039c2246c0d43910f6d27d62dd674ffd3b772eeb6e8de46d8080735754b3d3a SHA512 09168050ca7bae00fb3d39f23f8c1e0adcf9cc4d3e491aa002bf9a0a7a265df980d12e430ea7f3eaa9010e0432821b106db5ce3b1e8d935d78b1e56d37110051 +DIST satyr-0.39.tar.gz 434581 BLAKE2B 7b4e11d8027877aa3b9e8144f8917f03b489b157c1112794a3c2bea9998a4367a7ec06cdec6c144fd96ecdabc83a85c5fb2644df02d59086ea3a113b1402fabe SHA512 f6d24ae054867ccdbb2dabdd63c6b351f7eec9ffe5426bdeffa86d585a52d13b07dd31e26b7d14e4850a1fdca748b0d5e23bb51fbc2843af79bf306f09d3145f diff --git a/dev-libs/satyr/satyr-0.39.ebuild b/dev-libs/satyr/satyr-0.39.ebuild new file mode 100644 index 000000000000..754906da9469 --- /dev/null +++ b/dev-libs/satyr/satyr-0.39.ebuild @@ -0,0 +1,101 @@ +# 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 multiprocessing python-r1 + +DESCRIPTION="Satyr is a collection of low-level algorithms for program failure processing" +HOMEPAGE="https://github.com/abrt/satyr" +SRC_URI="https://github.com/abrt/${PN}/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/4" + +IUSE="python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + python? ( ${PYTHON_DEPS} ) + >=dev-libs/elfutils-0.158 + dev-libs/glib:2 + dev-libs/json-c:= + dev-libs/nettle:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-util/gperf +" + +src_prepare() { + default + ./gen-version || die # Needs to be run before full autoreconf + eautoreconf + use python && python_copy_sources +} + +src_configure() { + use python && python_setup + + local myargs=( + --localstatedir="${EPREFIX}/var" + --without-rpm + $(usex python "--with-python3" "--without-python3") + ) + + if use python; then + python_configure() { + econf "${myargs[@]}" + } + python_foreach_impl run_in_build_dir python_configure + else + econf "${myargs[@]}" + fi +} + +src_compile() { + if use python; then + python_foreach_impl run_in_build_dir default + else + default + fi + +} + +src_test() { + local extra_args + + # In order to pass --jobs to the test runner + run_tests() { + cd tests || die + emake testsuite + ./testsuite --jobs=$(makeopts_jobs) ${extra_args[@]} $@ + + # Only run the python bindings tests for other python impls + extra_args=('-k' 'python3_bindings.*') + } + + if use python; then + python_foreach_impl run_in_build_dir run_tests + else + run_tests SKIP_PYTHON3=yes + fi +} + +src_install() { + if use python; then + python_install() { + default + python_optimize + } + python_foreach_impl run_in_build_dir python_install + else + default + fi + + find "${D}" -name '*.la' -type f -delete || die +}