From c08e7daca74152bd58feb5e74f3f18cc1bbe905d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Jun 2022 15:05:25 -0700 Subject: dev-db/rqlite: add 7.5.1 Signed-off-by: Zac Medico --- dev-db/rqlite/Manifest | 2 ++ dev-db/rqlite/rqlite-7.5.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-db/rqlite/rqlite-7.5.1.ebuild diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index c9f81e0b5b00..3c7ef35b8ea4 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -2,3 +2,5 @@ DIST rqlite-7.4.0-deps.tar.xz 57459940 BLAKE2B 665656a3a488dd17e9d3e08cd020237ea DIST rqlite-7.4.0.tar.gz 457065 BLAKE2B 32232537da4561abfa792dac04eaa25ffd616da49dab7bcf03e5c861cf0b77c214c8cdce8c8ac79dce0df61932eefbbf0dcb3c26f04b5aba24b39cec07c48a23 SHA512 9c5b9cfc3d6f79001b562d3f1717879f377e5b190dcfd96b3f983a40ca3a649b1dc9389970abf8136a344a0b6da84a3e8abd20022a351cf6f1c1f51185df315a DIST rqlite-7.5.0-deps.tar.xz 81867772 BLAKE2B 5cd6f9cebccfa5c7144f73ba2d53ed297dcaa669dfdbfaeedb05f1906a4c2401cd637a19fa3732cfcafb7d7c5b339dc0548c1a0276160dc601cd432d7c1c7cd2 SHA512 e2c811fc1f4f1b74a0282050947b3960b22e8188ab2e4aa3edc3d364d9b159d85d9b7fd76d972309c393a909ce687a712c8b0134fff1ef49d77a7d6b1b25e432 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 diff --git a/dev-db/rqlite/rqlite-7.5.1.ebuild b/dev-db/rqlite/rqlite-7.5.1.ebuild new file mode 100644 index 000000000000..dcde115025a2 --- /dev/null +++ b/dev-db/rqlite/rqlite-7.5.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=b1515fd95f046e0f0a050aaf53c34fb116c0ffe0 + +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 +} -- cgit v1.2.3-65-gdbad