diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-07-24 14:57:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-07-24 14:57:58 -0700 |
commit | f2c4993266807f8cb57723a847fb2923c798af5d (patch) | |
tree | e85f617cea5be40b32220f9cd7bc86bcb6dd6a1c /dev-db | |
parent | app-containers/containers-storage: add 1.42.0 (diff) | |
download | gentoo-f2c4993266807f8cb57723a847fb2923c798af5d.tar.gz gentoo-f2c4993266807f8cb57723a847fb2923c798af5d.tar.bz2 gentoo-f2c4993266807f8cb57723a847fb2923c798af5d.zip |
dev-db/rqlite: add 7.6.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/rqlite/Manifest | 1 | ||||
-rw-r--r-- | dev-db/rqlite/rqlite-7.6.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 3c7ef35b8ea4..5553cedb0796 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -4,3 +4,4 @@ DIST rqlite-7.5.0-deps.tar.xz 81867772 BLAKE2B 5cd6f9cebccfa5c7144f73ba2d53ed297 DIST rqlite-7.5.0.tar.gz 465489 BLAKE2B 4159b3f3a1e34724acbef05aea7ca06a8f61c0b6f0bed860c063232d0c0c00bd450fea3977764c7da5ef4ca67d80bb25af7417196e9474e0d1f5457930ebe09d SHA512 970c9e1e861e4d5bcbfa0e1fad4b6937651bf60b87fec2d8f39eb2083fc87f706ff6da3de77e89e568e5288bfa189947924c0441d0cbc2eae014b54c7bb25394 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 diff --git a/dev-db/rqlite/rqlite-7.6.0.ebuild b/dev-db/rqlite/rqlite-7.6.0.ebuild new file mode 100644 index 000000000000..a55f4223f8f3 --- /dev/null +++ b/dev-db/rqlite/rqlite-7.6.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=7f6acb95cc9473d199bd4212ad7776c9df14b41a + +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 +} |