dev-db/rqlite: add 7.7.0

Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico
2022-09-28 17:41:50 -07:00
parent 0f28b524eb
commit 1f4e265a48
2 changed files with 38 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
DIST rqlite-7.5.1-deps.tar.xz 82045440 BLAKE2B 795e99463d803620ff9a0b98462b60a3bbac2a6f7e97277b8ea81276157a7ac433ac9c2d3e92b47927650f71199ab4017d11073fbfaaafd8a2d9333dbabca3dc SHA512 2ddb4449fc7177328379fb886da19bf85889eece24c2e5d64a7e435acd6b1a0b15c7397ff9acfd34b4f48c4975b0938a2810f6d24942eb14710bb77760d592ac
DIST rqlite-7.6.1.tar.gz 468911 BLAKE2B 3d39bc4ea499c38566a8fc65f16fafaa83709e34193014cf4015c4d7343ff1d00fcdf7621e76298c32f00343fac61d5bfa0369a9e1375ab1d19007fe7f05693e SHA512 487e5656b8ad0dc24db5fb450baeaf22802e4200c79eb8ed67d2acf80304d3bc5837ba1501741c43005b26892cc5e7e18d0026ee45467eb76adb27b898dfaf45
DIST rqlite-7.7.0-deps.tar.xz 84015200 BLAKE2B 2b6863e51adc6dd4f09b92e7f4a3e6b5fea32fc2ec5ff91c33837557d327f2c1a4ce7cddf330bf66074300d37e81f1a192ae5613d03cbda7e2a54966d593722f SHA512 5304900f25d0bf952dcecf759a2ffa08deb7bfdddf93386ef37f24505def35189ab67b37041e10c270c30c51cd8e1898797f0d973e40944980dfe4098cb8d25d
DIST rqlite-7.7.0.tar.gz 472839 BLAKE2B c9278ba0dd6ab2fe81ccaa3ad49eede4773b873ac0452f21801d77413068dd27c746ac90b38b6c3785860cacaa9c7590cda7e19306ede0edae3f14d554d5a6a3 SHA512 60e602f23853ddb7ba083ad9a394fb7d0659c0560ce31a455b29c982c5b2ee94b57d94ab4ba0449901de7b50a43b1d356ff3964151e4d901c46b7fe19db8a2c8

View File

@@ -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=3843ac7b5e8a88a2b46aca9daf26c431de830bc3
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/${P}-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
}