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 37C7013835A for ; Mon, 24 Aug 2020 22:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32628E0882; Mon, 24 Aug 2020 22:24:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 EBDA9E087E for ; Mon, 24 Aug 2020 22:24:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 96ABC340D68 for ; Mon, 24 Aug 2020 22:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 201AD32F for ; Mon, 24 Aug 2020 22:24:42 +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: <1598307824.61c3559ec27d3548921a07f9a828bb265940c9c8.mattst88@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.31.ebuild X-VCS-Directories: dev-libs/satyr/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 61c3559ec27d3548921a07f9a828bb265940c9c8 X-VCS-Branch: master Date: Mon, 24 Aug 2020 22:24:42 +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: 2257b558-fb97-4891-8b81-bd9d18bbb6d0 X-Archives-Hash: 4c3b3af3165dae3d3cf2871b4f202af1 commit: 61c3559ec27d3548921a07f9a828bb265940c9c8 Author: Matt Turner gentoo org> AuthorDate: Mon Aug 24 21:05:14 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Aug 24 22:23:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c3559e dev-libs/satyr: Version bump to 0.31 Signed-off-by: Matt Turner gentoo.org> dev-libs/satyr/Manifest | 1 + dev-libs/satyr/satyr-0.31.ebuild | 99 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) diff --git a/dev-libs/satyr/Manifest b/dev-libs/satyr/Manifest index 6a336244dea..69fd9486808 100644 --- a/dev-libs/satyr/Manifest +++ b/dev-libs/satyr/Manifest @@ -1,2 +1,3 @@ DIST satyr-0.27.tar.gz 435341 BLAKE2B ade40bc6a1c48e6fc0af7913ff94ed044c63fdb63b8d86ba010bebcfd2098831bc6c7361d116851aee88f49c640d1457dd8953becad60b6ff6dc32deec6c7942 SHA512 7b01cf16489644fbfbe2150477279a94c6fa9b3310edebc84b83bab58d1058df0be478ab6bf4c6910b4168122721dde10d573711abb983b0eb5ccda09cb80710 DIST satyr-0.30.tar.gz 427940 BLAKE2B 97fedef59cc77b2ae81857c491532552c352a272658d02564d2661d06a4ccc99c18bcd57e5e68e5a612e9e65c5878f19b2f18bbe74066874a7295e2f65d64149 SHA512 ebc6e9c0fd8cd130cf1701573c8ecdadf73fe54efa563759a47f990a91b217cf1dec01045be624d15cfa96b1370ddf2412b0537e57ed628dc27e860be46e21cf +DIST satyr-0.31.tar.gz 428719 BLAKE2B 23c6ea53db261fee366566101c2b0f1e23cf530728332fe752897ee982ffac057b98de3d9a52dbfc64932cdb73aaff7e35c976e7a55e30b4417f3880782f9125 SHA512 a5aafa1ca5f85a0a817c6fa9a3b428672c9f4f529fb7d73a3e819cc836b78c01a0ca44b47317fcdd4a40dc6386688a450bd78564b6e466091cdc9a2c730c3fda diff --git a/dev-libs/satyr/satyr-0.31.ebuild b/dev-libs/satyr/satyr-0.31.ebuild new file mode 100644 index 00000000000..362a8ca2186 --- /dev/null +++ b/dev-libs/satyr/satyr-0.31.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) + +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/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 +}