chore: update dependencies

This commit is contained in:
github-actions[bot] 2024-06-24 00:06:02 +00:00 committed by GitHub
parent ca63a2ec72
commit 05b3d71afb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 44 additions and 0 deletions

View file

@ -1,2 +1,4 @@
DIST chezmoi-2.49.0-deps.tar.xz 280845816 BLAKE2B 3cf28d2389af6fd395e7890aaf3532f5609adce726b627070e70009e130451e663b58dbcfa2d0f562d955ec94fccd8ec7013862f106edb56f48b521304f9b2af SHA512 c55a5fbafa7716b4ff5a32315fdee3684b642651033f0c5f2bdcfe34de36e8c42c8f9068c9f9f853de83ce6e2309a99ec480edcfeb9a8ca60bd48c48c18378ea
DIST chezmoi-2.49.0.tar.gz 2457390 BLAKE2B 7419b794396584b3cfeca86abde10b29e77ef726a378561240fe47c199ff1157f00d70f115117829855e2854f6e75d76e7f48a5a5a32b3fb3743ae6056307a8f SHA512 aa0a3121e57541c1d5078f65cae0b04ebae0f2e1f4268c82644384d6cabc00925d7df9b5a34c24c4a2ed09788fc4a360636f7c4a9a0d1a7c11f1872384d80f5a
DIST chezmoi-2.49.1-deps.tar.xz 4903168 BLAKE2B ae4ca67add686402e6b5fb0183fb3215c22828e3523315a0fc33ab315808b7c9a1e342b52fbc0e17e3e7ef747931a43cd169b0a001b1262ec61ffa6d7db3859f SHA512 ee5af6582d7cfa08357252fb8a1c5536d978141877457ac12efb79a90a9208f5c2869cdfe9988eb731c921c40b4207b1ff1e5c502e1a52c0f4b8050ca4e1aac1
DIST chezmoi-2.49.1.tar.gz 2458517 BLAKE2B f65bcb2bd968bfd49af99993f216b1220d367968817d94c7a288b39812174c93bfaf3df0149c4b32206633920440165e0f50651a3a1bdc355e2b8cad397a54f2 SHA512 632bb080c3ad01854d1a1d38114fafc5fe21511a9a4127f029883e6ad501bc9da181188bcadd895ae2c2543611e53d6fbbf3854133c571c5cf015a11b108ad3b

View file

@ -0,0 +1,42 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
VERSION_GIT_HASH="b4b55659c69fb13a502903c16dcdd566b988eece"
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.21"
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
}