From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] chezmoi: update to 2.15.2, cleanup.
Date: Sun, 01 May 2022 17:01:12 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36936@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/chezmoi-2.15.2
https://github.com/void-linux/void-packages/pull/36936
chezmoi: update to 2.15.2, cleanup.
remove unnecessary variable, make more reproducible.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/36936.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/chezmoi-2.15.2-36936.patch --]
[-- Type: text/x-diff, Size: 1600 bytes --]
From e0300b8e9b95581d384b75468be44973fad951c5 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Sun, 1 May 2022 11:00:38 -0400
Subject: [PATCH] chezmoi: update to 2.15.2, cleanup.
remove unnecessary variable, make more reproducible.
---
srcpkgs/chezmoi/template | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/chezmoi/template b/srcpkgs/chezmoi/template
index bacfc8c9b294..531370c90298 100644
--- a/srcpkgs/chezmoi/template
+++ b/srcpkgs/chezmoi/template
@@ -1,20 +1,25 @@
# Template file for 'chezmoi'
pkgname=chezmoi
-version=2.15.1
+version=2.15.2
revision=1
build_style=go
go_import_path="github.com/twpayne/chezmoi/v2"
go_build_tags="noembeddocs noupgrade"
-go_ldflags="-X main.version=${version} -X main.commit=v${version}
- -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -X main.builtBy=xbps"
+go_ldflags="-X main.version=${version} -X main.commit=v${version} -X main.builtBy=xbps"
short_desc="Manage your dotfiles across multiple machines, securely"
maintainer="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://chezmoi.io/"
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
-checksum=0100dcf8b70774595f56859e5d1b635319ba584ad7b280946352be328f36d679
+checksum=c06c62feeaa95d735191db19fb9f4ef473b7144e01004e789b03d9a3c9c5b4b6
-export CGO_ENABLED=1
+pre_build() {
+ local _date
+ if [ "$SOURCE_DATE_EPOCH" ]; then
+ _date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
+ go_ldflags+=" -X main.date=${_date}"
+ fi
+}
post_install() {
vlicense LICENSE
next reply other threads:[~2022-05-01 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-01 15:01 classabbyamp [this message]
2022-05-02 15:45 ` [PR PATCH] [Merged]: " leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36936@inbox.vuxu.org \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).