diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-09-28 17:41:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-09-28 17:42:29 -0700 |
commit | 1f4e265a481dec347d30e2118bd9ca8667b1a6bf (patch) | |
tree | 9646b4dec6f0be3c7c2e258e7e164ed71d009b87 /dev-db/rqlite | |
parent | dev-db/rqlite: drop 7.4.0, 7.5.0, 7.5.1, 7.6.0 (diff) | |
download | gentoo-1f4e265a481dec347d30e2118bd9ca8667b1a6bf.tar.gz gentoo-1f4e265a481dec347d30e2118bd9ca8667b1a6bf.tar.bz2 gentoo-1f4e265a481dec347d30e2118bd9ca8667b1a6bf.zip |
dev-db/rqlite: add 7.7.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db/rqlite')
-rw-r--r-- | dev-db/rqlite/Manifest | 2 | ||||
-rw-r--r-- | dev-db/rqlite/rqlite-7.7.0.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 653a8f3aee1e..a827cb33a6da 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -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 diff --git a/dev-db/rqlite/rqlite-7.7.0.ebuild b/dev-db/rqlite/rqlite-7.7.0.ebuild new file mode 100644 index 000000000000..2906ea337c2f --- /dev/null +++ b/dev-db/rqlite/rqlite-7.7.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=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 +} |