From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1694726-garchives=archives.gentoo.org@lists.gentoo.org>
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 (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 850271581F3
	for <garchives@archives.gentoo.org>; Thu, 28 Nov 2024 01:02:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E60E4E08CE;
	Thu, 28 Nov 2024 01:02:33 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 B3123E08CE
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 01:02:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 C56D5343025
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 01:02:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 21CB516DA
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 01:02:24 +0000 (UTC)
From: "Zac Medico" <zmedico@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, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <1732755739.f3c110b9c09697b51679afcfc5e123b97e2e42dc.zmedico@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/rqlite/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-db/rqlite/Manifest dev-db/rqlite/rqlite-8.34.3.ebuild
X-VCS-Directories: dev-db/rqlite/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: f3c110b9c09697b51679afcfc5e123b97e2e42dc
X-VCS-Branch: master
Date: Thu, 28 Nov 2024 01:02:24 +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: bbc5f4f3-bb9e-4246-9231-bb77a5a3f817
X-Archives-Hash: c1041cdd67510989e6bbe5fa662788f1

commit:     f3c110b9c09697b51679afcfc5e123b97e2e42dc
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 01:01:22 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Nov 28 01:02:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c110b9

dev-db/rqlite: add 8.34.3

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-db/rqlite/Manifest             |  1 +
 dev-db/rqlite/rqlite-8.34.3.ebuild | 45 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 67f222d7de19..3efdae5b3739 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -2,3 +2,4 @@ DIST rqlite-8.34.1-deps.tar.xz 4048704 BLAKE2B 8e453382776dad732cd679bdaa48b62c6
 DIST rqlite-8.34.1.tar.gz 740339 BLAKE2B 4f2d4ee53f4dee5d043b3eccf04dd1298f33386097aaa0d399a7b837477a3a217bffdb92858395872c3ddf0ca3ecf5bd6faac53aaa94a6ba2db2d17a91f48e05 SHA512 a36178741391b488d93bd643f5e6651ed1f7aece8106ec2e0711a08e8a01018f4cd1fd2459bbae82b170474d2fe20597865c794a85b7afbfe1a1e089f9696d40
 DIST rqlite-8.34.2-deps.tar.xz 4061316 BLAKE2B d689115dc0d7d2995f99c8e6778a420ce70c483e80a71bf7da185d60ad55f4df2b37298d7f467c3cdd608f84d2610cf020554e43a157f051931f8d3e83e76c3a SHA512 2dedb95ce684c8049f5a83334fcff4a1d3e2631345bab173b231a8bae76363f010247f9b04b3fa437624c5c4ab8e72c24395033ec48221ae4d6200ac7b49f051
 DIST rqlite-8.34.2.tar.gz 740318 BLAKE2B e123c45dc7160e3b142fe95888b6439c2876dd7f5d16abec2457db1845532358b936ffd0ac0ffb0369dfbdb5db4dae8ae813e6c6280adb9a22ebef2a131629bd SHA512 e44f7d3f3d1e6c4335ebc66fd80e8cc8524d980fb220f916d09b8a0b5e8ae7502e927b2d1336e2fc246ed8ae24a218cede675c8185967b2ff82a60dbe38151cd
+DIST rqlite-8.34.3.tar.gz 739889 BLAKE2B 0033b9b27811171a4cd0cee7f942c0f8abf017c4e614d5d7104bad91681cc611df115f04330dc5c28feb0fe5e2ebfb499002a14a313ef3ccec07ff7811a38c67 SHA512 5c2000bc6c5703ad495a064c65cfa5e492c060eaa8550b3c576137a18e337f618f0f802d57409aff8cad898e60e7954c09363e138eb1c543e52f8e96b2500430

diff --git a/dev-db/rqlite/rqlite-8.34.3.ebuild b/dev-db/rqlite/rqlite-8.34.3.ebuild
new file mode 100644
index 000000000000..a6395bf8e4e3
--- /dev/null
+++ b/dev-db/rqlite/rqlite-8.34.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+EGIT_COMMIT=5f587c5724fff9da49d74aad19516bac0c37abb1
+
+DESCRIPTION="Replicated SQLite using the Raft consensus protocol"
+HOMEPAGE="https://github.com/rqlite/rqlite https://www.philipotoole.com/tag/rqlite/"
+SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~zmedico/dist/rqlite-8.34.2-deps.tar.xz"
+
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	ln -sv ../vendor ./ || die
+	default
+}
+
+src_compile() {
+	GOBIN="${S}/bin" \
+		go install \
+			-ldflags="-X main.version=v${PV}
+				-X main.branch=master
+				-X main.commit=${EGIT_COMMIT}
+				-X main.buildtime=$(date +%Y-%m-%dT%T%z)" \
+			./cmd/... || die
+}
+
+src_test() {
+	GOBIN="${S}/bin" \
+		go test ./... || die
+}
+
+src_install() {
+	dobin bin/*
+	dodoc -r *.md DOC
+}