chore: update dependencies

This commit is contained in:
github-actions[bot] 2024-12-03 00:11:59 +00:00 committed by GitHub
parent 700d172ba4
commit 8ff2d63da0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 50 additions and 0 deletions

View file

@ -10,3 +10,5 @@ DIST chezmoi-2.53.1-deps.tar.xz 196602012 BLAKE2B d6137bafb9704b6be1b9e14515c227
DIST chezmoi-2.53.1.tar.gz 2505396 BLAKE2B 6dd80fcd89dce4b17ab48ee25e4660c76c68a7b76c50c4af27c698daf6a02b2512c34f5be9bff5a79c09ee65fe93fbd5aacb20b0000a140166f21a3e0be24991 SHA512 d7b46a217aa1e2339c629c86f958a513fa9e4d4b895060c17a404248a72c2dd2491c05c16eeb6b0073c004fbdacc50d044b6a373dd5a58c75210d80c015ef313
DIST chezmoi-2.54.0-deps.tar.xz 196847376 BLAKE2B 61d78fd30e76388ed44c76d6b81ac131599f767b1b765f6e1d7577eacb2e058e2ee7a5691e812673ee84202d8e59e08af8d2a4a3763c0ae398ec0d8bb76e64c1 SHA512 aa8a00a7c120d996784bb735d750c149ee07ffa4b117e19dd20d27c083c402cf216dd72a7b0a6fdc697bab5e53a292776c9297c05bd732fd82e59d665c5fb43a
DIST chezmoi-2.54.0.tar.gz 2508172 BLAKE2B 17cf21c492789309a9829a3af81d35034c004838f0c9f52de6c93838cc0a28ff61c6b6353dd0e08a22113469cced4fc883c9254d58d2d09d4f192a3cc628b75b SHA512 999c8a2e04bcc4851e241d7d0f2d3e2325e58f3a6e441763edbfeb92ddf62ad544c6f5e0d8973da3f7c9e26ecceffe7764783547c0209c0069b6252132ca5746
DIST chezmoi-2.55.0-deps.tar.xz 197108328 BLAKE2B 684ddbea4f19d15e7b31f78a0ef7b39ea044eac2f1cc84a6f1356deab4a9f22af918a5258892055ad9fea8a459847a264cf4e0bec0edbae6187ecff1dd331c57 SHA512 9d628cb5e35693c2af983e6f9c5781eb34dcf86e8115d0008b1355419c628f270d303b5ea6508f18e8f5eb46ba517e04e86d1355c3fe0656b56091d36d909864
DIST chezmoi-2.55.0.tar.gz 2510458 BLAKE2B 1aba299b515ebce1067d02482202d104c93f81bd5abb5f8f7cdf90ab830314d0091aad20e614abceedc6892ae02eb9c8ded2a7cb7eef1911640ed1efe835eccd SHA512 0493c24dbca70b4a71e724971fafa299c9b47fd8e7b8bebd9513eef3a9af3ba638db7d2ccf019468dcf81f81b6b4882f1e2fece86f25067eb57ade803a9403a9

View file

@ -0,0 +1,48 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
VERSION_GIT_HASH="1fe5b499e4b47103b5e69904d7ce49d5338307db"
DESCRIPTION="Manage your dotfiles across multiple diverse machines, securely"
HOMEPAGE="https://www.chezmoi.io/"
SRC_URI="https://github.com/twpayne/chezmoi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm arm64 ~riscv ~x86"
BDEPEND=">=dev-lang/go-1.22"
RESTRICT="test"
# This was added based on the .goreleaser.yml file in the upstream
# repository.
build_dist() {
ego build \
-ldflags \
"-s -w -X main.version=v${PV} -X main.commit=${VERSION_GIT_HASH} -X main.date=$(date "+%Y-%m-%dT%H:%M:%SZ") -X main.builtBy=ebuild" "$@"
}
src_prepare() {
# Replaces generate-commit.go step.
echo -n "$VERSION_GIT_HASH" >COMMIT
default
}
src_compile() {
build_dist ./
}
src_install() {
dobin chezmoi
einstalldocs
newbashcomp completions/${PN}-completion.bash ${PN}
dofishcomp completions/${PN}.fish
newzshcomp completions/${PN}.zsh _${PN}
}