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 EFB5F158020 for ; Fri, 21 Oct 2022 00:03:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BBC4E0824; Fri, 21 Oct 2022 00:03:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 04BB7E0824 for ; Fri, 21 Oct 2022 00:03:04 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FF4134096C for ; Fri, 21 Oct 2022 00:03:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93256625 for ; Fri, 21 Oct 2022 00:03:01 +0000 (UTC) From: "Zac Medico" 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" Message-ID: <1666310577.3f801485bd765a3d04862d22f8f2384f2c791fcb.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-7.8.0.ebuild X-VCS-Directories: dev-db/rqlite/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 3f801485bd765a3d04862d22f8f2384f2c791fcb X-VCS-Branch: master Date: Fri, 21 Oct 2022 00:03:01 +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: 43d0bd55-35a5-4b6f-8d5e-0c3db067a80d X-Archives-Hash: 51456e76d7b56c8f37007a487ddd3103 commit: 3f801485bd765a3d04862d22f8f2384f2c791fcb Author: Zac Medico gentoo org> AuthorDate: Fri Oct 21 00:02:06 2022 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Oct 21 00:02:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f801485 dev-db/rqlite: add 7.8.0 Signed-off-by: Zac Medico gentoo.org> dev-db/rqlite/Manifest | 1 + dev-db/rqlite/rqlite-7.8.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 788eefd5f588..345ded2efba4 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -1,2 +1,3 @@ DIST rqlite-7.7.2-deps.tar.xz 83998504 BLAKE2B df32a7b9a664f79241033d92dd4d0c71c9f5d24b08847d09320cd672bdc74e03c49af74a7f314f368a5e197becc1dec91b362b0f6148fccd7ba206068eb0c3e6 SHA512 04fb93912b5ac549657d9690e18554006ae55bfe66d08b1e5558bb29e636ceac5ee5f6af386f56ff10880e56d9b6599450ad2719e4422705aa359d85ca18ac0e DIST rqlite-7.7.2.tar.gz 473521 BLAKE2B fc3d48854ed6e0eca6897504b999a72e8b5503c263195078fea4f0719ca48757b4f2ca52c1d63dffab9d6f6788b1e36ea5bd53e32512862d7cd581bebeed6ba2 SHA512 6f5756005d72f1c97b71866b3f341ec5959f53178cf99c6bb3315bb45cf44e81c4d2807aebd3ccc858e2c6b9e3cc7d1e9a86c3f6c3dd6272ab3f7fb7550a632f +DIST rqlite-7.8.0.tar.gz 476401 BLAKE2B b87c5996fbb62503add3afd0e3526b1545670ede6ade0bd589e33d97ed489f3f93a027c565102de1737fb9b13a6f6f9cc5be346fe4e9cbca35b045b8982d1c91 SHA512 555bfaf1f95d890d8d0e73e0c52b94f323c4198cd2d61ab6bfbb95b9e908475b75fb409944162ca19709273c069c2263fa6f1d86c8ca73b96eab803bde9d72c6 diff --git a/dev-db/rqlite/rqlite-7.8.0.ebuild b/dev-db/rqlite/rqlite-7.8.0.ebuild new file mode 100644 index 000000000000..d50d8225dedc --- /dev/null +++ b/dev-db/rqlite/rqlite-7.8.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module +EGIT_COMMIT=03d3159dc1a50caefc42ac31580befcb1f276a0e + +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-7.7.2-deps.tar.xz" + +LICENSE="MIT Apache-2.0 BSD CC0-1.0 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +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 +}