diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-08-07 15:24:29 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-08-07 15:24:35 -0700 |
commit | 580debb6f2ffc294707fba243c07423298fb6cab (patch) | |
tree | 6b237f02d8621ace8a5c54db98be8a83274895af /dev-db/rqlite | |
parent | app-shells/nushell: remove unused patch(es) (diff) | |
download | gentoo-580debb6f2ffc294707fba243c07423298fb6cab.tar.gz gentoo-580debb6f2ffc294707fba243c07423298fb6cab.tar.bz2 gentoo-580debb6f2ffc294707fba243c07423298fb6cab.zip |
dev-db/rqlite: add 7.6.1
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db/rqlite')
-rw-r--r-- | dev-db/rqlite/Manifest | 1 | ||||
-rw-r--r-- | dev-db/rqlite/rqlite-7.6.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 5553cedb0796..575c1849fac5 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -5,3 +5,4 @@ DIST rqlite-7.5.0.tar.gz 465489 BLAKE2B 4159b3f3a1e34724acbef05aea7ca06a8f61c0b6 DIST rqlite-7.5.1-deps.tar.xz 82045440 BLAKE2B 795e99463d803620ff9a0b98462b60a3bbac2a6f7e97277b8ea81276157a7ac433ac9c2d3e92b47927650f71199ab4017d11073fbfaaafd8a2d9333dbabca3dc SHA512 2ddb4449fc7177328379fb886da19bf85889eece24c2e5d64a7e435acd6b1a0b15c7397ff9acfd34b4f48c4975b0938a2810f6d24942eb14710bb77760d592ac DIST rqlite-7.5.1.tar.gz 465499 BLAKE2B 9b88118d2ab776dcc60858533b90ad1eefbf89b4a810ad2f060d449ebaefaeb16382e6f7ff434e5ffcf1e641b49b96617a99e7ed5592ffc0b05e014668d2e2fc SHA512 355ef56be32847d02520ff57d43861cc3c4023ccd55c2600efc51af82f83fa3dfd09dfba53b4ca2e159a68f1d065c4f77d03b4f6da7e107d25f8edad733f39c8 DIST rqlite-7.6.0.tar.gz 466441 BLAKE2B e14234fdbb7b4c92d0ded3f250b18e72d75ead3f1c11ee13a09a46876ec0369b58f67d069109d47cea8f7147a05cbf8c4776700301fc68de42196d180ca8cca0 SHA512 79a70617c258d7864a1c64f74bacb221a1b325b52fbd4b21fed03076386c76b9e81a5cd3a766eeea0b5379355e6222fc77de2e197a31950eb8293bd4514f0599 +DIST rqlite-7.6.1.tar.gz 468911 BLAKE2B 3d39bc4ea499c38566a8fc65f16fafaa83709e34193014cf4015c4d7343ff1d00fcdf7621e76298c32f00343fac61d5bfa0369a9e1375ab1d19007fe7f05693e SHA512 487e5656b8ad0dc24db5fb450baeaf22802e4200c79eb8ed67d2acf80304d3bc5837ba1501741c43005b26892cc5e7e18d0026ee45467eb76adb27b898dfaf45 diff --git a/dev-db/rqlite/rqlite-7.6.1.ebuild b/dev-db/rqlite/rqlite-7.6.1.ebuild new file mode 100644 index 000000000000..b5c096f3753a --- /dev/null +++ b/dev-db/rqlite/rqlite-7.6.1.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=697782280fc22ccf66c23693bb0a235538664257 + +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.5.1-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 +} |