diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-10-13 18:05:13 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-10-13 18:05:47 -0700 |
commit | 83a6408820d4b1361fe501aa197d8e116e3d1640 (patch) | |
tree | bd1f26ccd495b60277a410847e57ce59519b2fa4 /dev-db/rqlite | |
parent | app-emacs/emacs-aio: new package; add version 1.0_p20200610 (diff) | |
download | gentoo-83a6408820d4b1361fe501aa197d8e116e3d1640.tar.gz gentoo-83a6408820d4b1361fe501aa197d8e116e3d1640.tar.bz2 gentoo-83a6408820d4b1361fe501aa197d8e116e3d1640.zip |
dev-db/rqlite: add 7.7.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.7.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index a827cb33a6da..5e158f129482 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -2,3 +2,4 @@ DIST rqlite-7.5.1-deps.tar.xz 82045440 BLAKE2B 795e99463d803620ff9a0b98462b60a3b 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 +DIST rqlite-7.7.1.tar.gz 473402 BLAKE2B a11f2fa24ca4b11749b8d789b81b4b6143533106364e984ec7d654c7597bfe9f7615edd36b99eb04465084a60b8cc8cca1c6fa3f3f973b37911ce44fd7766919 SHA512 1922b5280a0d5cc80a9b3192a22a44dd287a585ff1bdd13511d9ed4ba29388adc10feccc27e28a7932acec0ae1d676705a6e7997c5ddbc4a03abf8226f0995a4 diff --git a/dev-db/rqlite/rqlite-7.7.1.ebuild b/dev-db/rqlite/rqlite-7.7.1.ebuild new file mode 100644 index 000000000000..c250417b35d1 --- /dev/null +++ b/dev-db/rqlite/rqlite-7.7.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=d4e8d7e67fde807e9fca178e56a386eca2ab5cf3 + +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.7.0-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 +} |