summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-10-22 15:15:25 -0700
committerZac Medico <zmedico@gentoo.org>2022-10-22 15:17:12 -0700
commit659f068492aff6728274489ee2b58628e995a48e (patch)
tree8784e1829e8b6a6679bd6fdba8d02101b03de63e /dev-db
parentdev-util/dmake: keyword 4.13.1 riscv, #877907 (diff)
downloadgentoo-659f068492aff6728274489ee2b58628e995a48e.tar.gz
gentoo-659f068492aff6728274489ee2b58628e995a48e.tar.bz2
gentoo-659f068492aff6728274489ee2b58628e995a48e.zip
dev-db/rqlite: add 7.9.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/rqlite/Manifest1
-rw-r--r--dev-db/rqlite/rqlite-7.9.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 345ded2efba4..e353812430dc 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -1,3 +1,4 @@
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
+DIST rqlite-7.9.0.tar.gz 478284 BLAKE2B bcb60f771397b067e1479a12603458e7823839a8ff174b30479a3a14dda72b7f3f3b717875a0aea8cd03f469f3da3d418ea3334211e3d39adf6b20d1947b68ec SHA512 c898b8b96def0a4d01bd1b98de952dece520d8b8ac7fcf12f4d81affab76095cb4a9898d1c7aeb9bc67462e5069e01012cda37073455f3382228194db6cda3e7
diff --git a/dev-db/rqlite/rqlite-7.9.0.ebuild b/dev-db/rqlite/rqlite-7.9.0.ebuild
new file mode 100644
index 000000000000..2bdaf3c1b92c
--- /dev/null
+++ b/dev-db/rqlite/rqlite-7.9.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=61aa316141d12c5a67481af2a3fd4282ab858d3e
+
+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
+}