summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2023-05-10 21:03:55 -0700
committerZac Medico <zmedico@gentoo.org>2023-05-10 21:06:00 -0700
commitfe3ea93ec9f80ebdcdae35682c03b83dbfb085ff (patch)
tree51ce0847dd44d376014e74f4e28c1e9376801882 /dev-db/rqlite
parentx11-plugins/wmcalendar: HTTPSify HOMEPAGE (diff)
downloadgentoo-fe3ea93ec9f80ebdcdae35682c03b83dbfb085ff.tar.gz
gentoo-fe3ea93ec9f80ebdcdae35682c03b83dbfb085ff.tar.bz2
gentoo-fe3ea93ec9f80ebdcdae35682c03b83dbfb085ff.zip
dev-db/rqlite: add 7.17.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db/rqlite')
-rw-r--r--dev-db/rqlite/Manifest1
-rw-r--r--dev-db/rqlite/rqlite-7.17.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest
index 543294ff4ca8..4979b2bd5d2a 100644
--- a/dev-db/rqlite/Manifest
+++ b/dev-db/rqlite/Manifest
@@ -3,5 +3,6 @@ DIST rqlite-7.10.1.tar.gz 510146 BLAKE2B 571af2b2a9d153d4c61c721e5a5346fede87be1
DIST rqlite-7.11.0-vendor.tar.gz 6681495 BLAKE2B 18fcf4bcee24d7c15ea58d2f7bc18b255fe1cadfe1a2290305df1870178a6e2d24ae01d2aa48c6afd6c45aacd424e5506ea5729d4dcd1f24551d4468bd374237 SHA512 8b00ccfb09a942f3ccff378d9fc6c668d19e8f8ab2eed7c4c5b3ae3a097e6400dade44df4577cef97a2e7910b91709449d67a41e4c0f21348145de0beda1fdf9
DIST rqlite-7.13.0-vendor.tar.gz 6699258 BLAKE2B a7ed1f000ae7d22ce5def86a0635dab7d30509a709d1488f15b96900f6c7eed2a8b3f2d8f4da81b1414d6e8bffeb58c51774175d6a66856744ca2004888b4188 SHA512 b199da9eae0203ada14a247e194bdc5ecfbe4147003aa38f16c5553488ce3e2c2b534920244319a4df8176042da2b995d37542f1749676906bdfbffa93807bdb
DIST rqlite-7.13.1-vendor.tar.gz 6715869 BLAKE2B bb200f785ffcb057a220c8323e0e18b89712f863b06aa10d7d8c62c7b679aa52e3efaa2ca9790968088cca2a90c05b52913305b3aac22b87664c8597b7e5d2b8 SHA512 9955cee0554b374b32185cfa4de6bb600904e8f2c787e703cac9c0c0d88f79dbe23bdbc3f7eefb6772587758706073eb420cabbb4752b56c9d3d70e276b2b889
+DIST rqlite-7.17.0-vendor.tar.gz 7267193 BLAKE2B c9957c3d00960842b56e18829f87b03a8f44176652a4e6b578fafa7c58816014acee2fe96876c8112279085ed7331fb5c32e783b59e73f9db694c091757ee437 SHA512 9631f36179491abf7e81edea0ff73ea6322afd32836631d3d46dff996072eef92c3d3de929cec94b622d46cd8e0340089026cdfb3c228b04640cc917f15eee86
DIST rqlite-7.7.2-deps.tar.xz 83998504 BLAKE2B df32a7b9a664f79241033d92dd4d0c71c9f5d24b08847d09320cd672bdc74e03c49af74a7f314f368a5e197becc1dec91b362b0f6148fccd7ba206068eb0c3e6 SHA512 04fb93912b5ac549657d9690e18554006ae55bfe66d08b1e5558bb29e636ceac5ee5f6af386f56ff10880e56d9b6599450ad2719e4422705aa359d85ca18ac0e
DIST rqlite-7.9.2.tar.gz 478780 BLAKE2B 4b072e9dab1fcfdb64a38e1a59bef2a1d81cf7543d6964ad75d3d3bd50cd52686d8b6f60a5e2a192b3998b3990efbe6f758a4226b03b8520fbd0569ab5aeca07 SHA512 86b3b89396d60d73e58ced463ae4cf5caf2cc8ba39bab87153b0a5a14e97745b07545bade7fa28dfde095255b547327ff83cefdaa78a399e1976e28d54ec430a
diff --git a/dev-db/rqlite/rqlite-7.17.0.ebuild b/dev-db/rqlite/rqlite-7.17.0.ebuild
new file mode 100644
index 000000000000..7e1f211104cf
--- /dev/null
+++ b/dev-db/rqlite/rqlite-7.17.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+EGIT_COMMIT=6d22e2be6bc7b40571bd8ecf8366986da2f7198c
+
+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/zmedico/rqlite/archive/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz"
+
+LICENSE="MIT Apache-2.0 BSD CC0-1.0 MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/${P}-vendor
+
+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
+}