From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 726081581FB for ; Tue, 26 Nov 2024 03:02:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24A9DE0805; Tue, 26 Nov 2024 03:01:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6788E0824 for ; Tue, 26 Nov 2024 03:01:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4F7B342FF8 for ; Tue, 26 Nov 2024 03:01:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D65CA18B9 for ; Tue, 26 Nov 2024 03:01:30 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1732590086.b41da3d5ea898547a6703ca8108d1c0bf8bc0588.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/rqlite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/rqlite/Manifest dev-db/rqlite/rqlite-8.34.2.ebuild X-VCS-Directories: dev-db/rqlite/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b41da3d5ea898547a6703ca8108d1c0bf8bc0588 X-VCS-Branch: master Date: Tue, 26 Nov 2024 03:01:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f2efa8e-6939-41db-b0aa-90a4640ff129 X-Archives-Hash: a5a26eec87e99c5a29eb50fa53a0af41 commit: b41da3d5ea898547a6703ca8108d1c0bf8bc0588 Author: Zac Medico gentoo org> AuthorDate: Tue Nov 26 02:59:10 2024 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Nov 26 03:01:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b41da3d5 dev-db/rqlite: add 8.34.2 Signed-off-by: Zac Medico gentoo.org> dev-db/rqlite/Manifest | 2 ++ dev-db/rqlite/rqlite-8.34.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-db/rqlite/Manifest b/dev-db/rqlite/Manifest index 44370cea5752..efe1ec9e57bc 100644 --- a/dev-db/rqlite/Manifest +++ b/dev-db/rqlite/Manifest @@ -2,3 +2,5 @@ DIST rqlite-8.32.7-deps.tar.xz 4047984 BLAKE2B 3cff947f14dfd2d0097f39afb67c9266b DIST rqlite-8.32.7.tar.gz 737733 BLAKE2B 6d26b30b97d83c09d22e13aaac74f2d04de538ab7b61a72d50c297331f4612bf7502cf72e8ef030df459d9bb3c5feeba8a8f970412084d393277885f9f4222c6 SHA512 600a44bcdcf203cc1928a12d064e51f70cca92cb01035effc2c7ce564c4d1e65f5ed8ada7ef2ff53616bd24ccc5e419080cd91fb457b585df0b67e4948db7b82 DIST rqlite-8.34.1-deps.tar.xz 4048704 BLAKE2B 8e453382776dad732cd679bdaa48b62c6e84d8ce70ba8452369bb33a4ffde7879724dde1eb62048cc4f51209cb6a5a10fda2cff55f1e49c676cdfea1a0efc9bf SHA512 f22900da2c03a4f6015bf2e1fe912bf58dbc796309b0d3cab5acfdd75448a9b6c026fb198f1e484afce59d93299d1bacd534b3b5ce80b3486bee379a62502c76 DIST rqlite-8.34.1.tar.gz 740339 BLAKE2B 4f2d4ee53f4dee5d043b3eccf04dd1298f33386097aaa0d399a7b837477a3a217bffdb92858395872c3ddf0ca3ecf5bd6faac53aaa94a6ba2db2d17a91f48e05 SHA512 a36178741391b488d93bd643f5e6651ed1f7aece8106ec2e0711a08e8a01018f4cd1fd2459bbae82b170474d2fe20597865c794a85b7afbfe1a1e089f9696d40 +DIST rqlite-8.34.2-deps.tar.xz 4061316 BLAKE2B d689115dc0d7d2995f99c8e6778a420ce70c483e80a71bf7da185d60ad55f4df2b37298d7f467c3cdd608f84d2610cf020554e43a157f051931f8d3e83e76c3a SHA512 2dedb95ce684c8049f5a83334fcff4a1d3e2631345bab173b231a8bae76363f010247f9b04b3fa437624c5c4ab8e72c24395033ec48221ae4d6200ac7b49f051 +DIST rqlite-8.34.2.tar.gz 740318 BLAKE2B e123c45dc7160e3b142fe95888b6439c2876dd7f5d16abec2457db1845532358b936ffd0ac0ffb0369dfbdb5db4dae8ae813e6c6280adb9a22ebef2a131629bd SHA512 e44f7d3f3d1e6c4335ebc66fd80e8cc8524d980fb220f916d09b8a0b5e8ae7502e927b2d1336e2fc246ed8ae24a218cede675c8185967b2ff82a60dbe38151cd diff --git a/dev-db/rqlite/rqlite-8.34.2.ebuild b/dev-db/rqlite/rqlite-8.34.2.ebuild new file mode 100644 index 000000000000..1c960d597c64 --- /dev/null +++ b/dev-db/rqlite/rqlite-8.34.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +EGIT_COMMIT=2fd4158ec100c464ae8b02562eb440e5720a359d + +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" +LICENSE+=" Apache-2.0 BSD CC0-1.0 MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_unpack() { + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + default +} + +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 +}