diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-10-15 16:55:31 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-10-15 16:56:05 -0700 |
commit | 8b4d18f16eced747e3e25e6c68110d227434645f (patch) | |
tree | cbf5e08c3f30d4ee6d05d9deb52385e4e77dab94 /dev-db/rqlite | |
parent | sys-auth/polkit: drop versions (diff) | |
download | gentoo-8b4d18f16eced747e3e25e6c68110d227434645f.tar.gz gentoo-8b4d18f16eced747e3e25e6c68110d227434645f.tar.bz2 gentoo-8b4d18f16eced747e3e25e6c68110d227434645f.zip |
dev-db/rqlite: add 7.7.2
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.2.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 5e158f129482..fe3ddc50332e 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -3,3 +3,5 @@ DIST rqlite-7.6.1.tar.gz 468911 BLAKE2B 3d39bc4ea499c38566a8fc65f16fafaa83709e34 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 DIST rqlite-7.7.1.tar.gz 473402 BLAKE2B a11f2fa24ca4b11749b8d789b81b4b6143533106364e984ec7d654c7597bfe9f7615edd36b99eb04465084a60b8cc8cca1c6fa3f3f973b37911ce44fd7766919 SHA512 1922b5280a0d5cc80a9b3192a22a44dd287a585ff1bdd13511d9ed4ba29388adc10feccc27e28a7932acec0ae1d676705a6e7997c5ddbc4a03abf8226f0995a4 +DIST rqlite-7.7.2-deps.tar.xz 83998504 BLAKE2B df32a7b9a664f79241033d92dd4d0c71c9f5d24b08847d09320cd672bdc74e03c49af74a7f314f368a5e197becc1dec91b362b0f6148fccd7ba206068eb0c3e6 SHA512 04fb93912b5ac549657d9690e18554006ae55bfe66d08b1e5558bb29e636ceac5ee5f6af386f56ff10880e56d9b6599450ad2719e4422705aa359d85ca18ac0e +DIST rqlite-7.7.2.tar.gz 473521 BLAKE2B fc3d48854ed6e0eca6897504b999a72e8b5503c263195078fea4f0719ca48757b4f2ca52c1d63dffab9d6f6788b1e36ea5bd53e32512862d7cd581bebeed6ba2 SHA512 6f5756005d72f1c97b71866b3f341ec5959f53178cf99c6bb3315bb45cf44e81c4d2807aebd3ccc858e2c6b9e3cc7d1e9a86c3f6c3dd6272ab3f7fb7550a632f diff --git a/dev-db/rqlite/rqlite-7.7.2.ebuild b/dev-db/rqlite/rqlite-7.7.2.ebuild new file mode 100644 index 000000000000..fb616163c82f --- /dev/null +++ b/dev-db/rqlite/rqlite-7.7.2.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=923d1f5a9ce79c91b48535193cae56dabcb4b8f8 + +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 +} |