commit: 23d8e4c4f668d864c555710fb2a7ac516fe47b77 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Jan 12 02:07:47 2020 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Jan 12 02:19:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23d8e4c4
dev-db/rqlite: Bump to version 5.1.0 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-db/rqlite/Manifest | 1 + dev-db/rqlite/rqlite-5.1.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index ea4e9ea6734..6dd921c6cdd 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -24,3 +24,4 @@ DIST github.com-mkideal-cli-v0.0.3.tar.gz 47485 BLAKE2B ee9f9847001bd0e792ee65cb DIST github.com-mkideal-pkg-3e188c9e7ecc83d0fe7040a9161ce3c67885470d.tar.gz 69219 BLAKE2B 6df0a553da3a225352c4e712c2fb7f12b73850e0e1c9d0aaf9eb0dc917c36a026a10db1b8b23d45070567d209a6298fef84e794347fdd1951d0ec421fa1c72d4 SHA512 1c6b5cd345da17f8c2691a4f132bcb8ce1e794db54ecdcf2bf20392bb2f3195db6c1579ffd220bb21f121ccbec0c8c9ea4160a4a6c38734c68d1e163622ec1cd DIST rqlite-4.6.0.tar.gz 371493 BLAKE2B ac4699cae56602c66222909ecad734ff6ad3059c6b4d19e869bcec05e54cc9ad8a6c0f1e310f0dcedda22a86e985b8267aeda61e9b037b1bed832668eb18c4a8 SHA512 791f20d1a148169cf4c25a5f491c89ddd95885892ac0ad61586d52dd6d288291992b144edb5167ecd9e238038efffb7c7adbc786ac1d13b525452517d7dd1c0e DIST rqlite-5.0.0.tar.gz 297648 BLAKE2B 734b26fdd4785cb6e59fdfd07c3f4303d9f0fdbf5d0801ea07b0c166d6f572351ea7d0eadb6a9767dc179a94a6d6e1425db10211a9d958bc5a48ac3e5f3ff3df SHA512 ca8182f0e8785d4cfbd2b2ecb25f6856ed65db9267502e6b37a848a0095415a201dcf6564eebfdd6ee0f802dca0b3f8abe7091c1aa282058eb675a4cb407b227 +DIST rqlite-5.1.0.tar.gz 300915 BLAKE2B 554b85fc01d2051cd13d5920196f59e59c6395eadddaa4e5920cbecb49f36575e284bef60c2d324db0b465a6ee4a6e4af1ee2a96b2d0eb7048402f87fa6cf258 SHA512 3a7279af09bbbdbc9ab37a0ebe4f39edc7a50b5b50231356fe8a96791b11876acd05cad0493c8a4d709c2358ae32a00146f5155765f6c300febaf2e07ccef15e diff --git a/dev-db/rqlite/rqlite-5.1.0.ebuild b/dev-db/rqlite/rqlite-5.1.0.ebuild new file mode 100644 index 00000000000..e1a56c014d2 --- /dev/null +++ b/dev-db/rqlite/rqlite-5.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit go-module + +KEYWORDS="~amd64" +DESCRIPTION="Replicated SQLite using the Raft consensus protocol" + +HOMEPAGE="https://github.com/rqlite/rqlite http://www.philipotoole.com/tag/rqlite/" +LICENSE="MIT BSD MPL-2.0" +SLOT="0" +IUSE="" + +EGIT_COMMIT="7ec6fcefe45072a67329a991757f81e3c566fda5" + +EGO_VENDOR=( + "github.com/Bowery/prompt fa8279994f75f982bdae3c827a3afffd78a6fe0d" + "github.com/armon/go-metrics ec5e00d3c878b2a97bbe0884ef45ffd1b4f669f5" + "github.com/boltdb/bolt v1.3.1" + "github.com/hashicorp/go-hclog v0.9.1" + "github.com/hashicorp/go-immutable-radix v1.0.0" + "github.com/hashicorp/go-msgpack v0.5.5" + "github.com/hashicorp/golang-lru v0.5.0" + "github.com/hashicorp/raft v1.1.1" + "github.com/hashicorp/raft-boltdb 4207f1bf061751378aee6cdfe697965a13ab49d7" + "github.com/labstack/gommon v0.3.0" + "github.com/mattn/go-colorable v0.1.4" + "github.com/mattn/go-isatty v0.0.11" + "github.com/mattn/go-sqlite3 v2.0.2" + "github.com/mkideal/cli v0.0.3" + "github.com/mkideal/pkg 3e188c9e7ecc83d0fe7040a9161ce3c67885470d" + "golang.org/x/crypto becbf705a91575484002d598f87d74f0002801e7 github.com/golang/crypto" + "golang.org/x/sys 33540a1f603772f9d4b761f416f5c10dade23e96 github.com/golang/sys" +) + +SRC_URI="https://github.com/rqlite/rqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(go-module_vendor_uris)" + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678966 + 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)" \ + -v -work -x ./cmd/... || die +} + +src_test() { + GOBIN="${S}/bin" \ + go test ./... || die +} + +src_install() { + dobin bin/* + dodoc -r *.md DOC +}