From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1276451-garchives=archives.gentoo.org@lists.gentoo.org> 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 2249F1382C5 for <garchives@archives.gentoo.org>; Fri, 30 Apr 2021 07:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3218FE0863; Fri, 30 Apr 2021 07:01:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1B61AE085B for <gentoo-commits@lists.gentoo.org>; Fri, 30 Apr 2021 07:01:41 +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 BBB12340B29 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Apr 2021 07:01:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C64D737 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Apr 2021 07:01:38 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1619766090.3dba9019a3ab586ebd41e26371cbb40be45b51b3.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/raft/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/raft/Manifest dev-libs/raft/raft-0.10.1.ebuild X-VCS-Directories: dev-libs/raft/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3dba9019a3ab586ebd41e26371cbb40be45b51b3 X-VCS-Branch: master Date: Fri, 30 Apr 2021 07:01:38 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb02e83e-77ea-4815-9299-2c4c3c926267 X-Archives-Hash: 525d44c862db5b46e0e17c361d885ac0 commit: 3dba9019a3ab586ebd41e26371cbb40be45b51b3 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Fri Apr 30 06:24:36 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Apr 30 07:01:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dba9019 dev-libs/raft: bump to 0.10.1 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-libs/raft/Manifest | 1 + dev-libs/raft/raft-0.10.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index 0c88d50bef4..0d1ad05e194 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -1 +1,2 @@ DIST raft-0.10.0.tar.gz 315569 BLAKE2B 2365ee2ef4aca44257cf7631875013a6778d8858427946443ec02411783517f3ef129529c3302eceedbd43d9a57de9a3fc20a762b51ce8c7ed96045d4c8d27b0 SHA512 5039e2305c92f5002de4ef33f3c0b76dac1e72b8d983440ae0f5cb65d99213278e23a80401476617f32857c1913ab30bf257265d92f6bb5992d2701d4c25f977 +DIST raft-0.10.1.tar.gz 318911 BLAKE2B 42ef22dfc89f05a3a9f130011c0f906201126a1615f9a60648587e014bbb63e038b3afd1593c2c07b046c3c35ef07deaa45cdce58062707409e4dbd3a9f7516e SHA512 6fa99d9dbb5895299c5124f5c8cfb544cf1bccae4ee196bc8011cd4cf9c632cd896f8cd93181409fbaf7da115235c72a4e10568080dd9957eceb978784dc0f9d diff --git a/dev-libs/raft/raft-0.10.1.ebuild b/dev-libs/raft/raft-0.10.1.ebuild new file mode 100644 index 00000000000..ffd134995c1 --- /dev/null +++ b/dev-libs/raft/raft-0.10.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="C implementation of the Raft consensus protocol" +HOMEPAGE="https://github.com/canonical/raft" +SRC_URI="https://github.com/canonical/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test zfs" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/libuv" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/raft-0.9.25-Always-skip-init-oom-test.patch + "${FILESDIR}"/raft-0.10.0-toggle-zfs.patch + ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-uv + + --disable-benchmark + --disable-debug + --disable-example + --disable-sanitize + --disable-static + + $(use_enable test fixture) + + $(use_with zfs) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}