From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kubernetes-helm: update to 3.15.1
Date: Sat, 08 Jun 2024 03:55:31 +0200 [thread overview]
Message-ID: <20240608015531.7C3C628926@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50742@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
There is an updated pull request by cinerea0 against master on the void-packages repository
https://github.com/cinerea0/void-packages helm
https://github.com/void-linux/void-packages/pull/50742
kubernetes-helm: update to 3.15.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/50742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-helm-50742.patch --]
[-- Type: text/x-diff, Size: 2758 bytes --]
From a544d7c120359626ecf08655a970f553f1e52bc5 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Fri, 7 Jun 2024 21:55:13 -0400
Subject: [PATCH] kubernetes-helm: update to 3.15.1
---
srcpkgs/kubernetes-helm/template | 59 +++++++++-----------------------
1 file changed, 16 insertions(+), 43 deletions(-)
diff --git a/srcpkgs/kubernetes-helm/template b/srcpkgs/kubernetes-helm/template
index 7fbcdc2c9b63a2..23fdb388b28744 100644
--- a/srcpkgs/kubernetes-helm/template
+++ b/srcpkgs/kubernetes-helm/template
@@ -1,54 +1,27 @@
# Template file for 'kubernetes-helm'
pkgname=kubernetes-helm
-version=3.12.0
+version=3.15.1
revision=1
-hostmakedepends="go make mercurial tar"
+build_style=go
+build_helper=qemu
+go_import_path="helm.sh/helm/v3"
+go_package="./cmd/helm"
+go_mod_mode=off
+go_ldflags="-X helm.sh/helm/v3/internal/version.version=v${version}"
short_desc="Kubernetes Package Manager"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="Apache-2.0"
homepage="https://helm.sh/"
-distfiles="https://github.com/helm/helm/archive/v${version}.tar.gz"
-checksum=320076ba47bfdf31f753e92fe8464a1314600ff365acce3b361e067488364b33
+changelog="https://github.com/helm/helm/releases"
+distfiles="https://github.com/helm/helm/archive/refs/tags/v${version}.tar.gz"
+checksum=3c5380a50e12f80fd5c7c269d5c1956f31933aed740e3ecf0ab12bc853e0cf28
conflicts="helm"
-nopie=true
-_convert_arch() {
- case "$1" in
- aarch64*) echo arm64;;
- armv6*) echo arm;;
- armv7*) echo arm;;
- i686*) echo 386;;
- x86_64*) echo amd64;;
- ppc64le*) echo ppc64le;;
- esac
-}
-
-export _go_target_arch=$(_convert_arch $XBPS_TARGET_MACHINE)
-export _go_host_arch=$(_convert_arch $XBPS_MACHINE)
-
-do_extract() {
- mkdir -p golib/src/k8s.io/helm
- tar -xvzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${version}.tar.gz \
- -C golib/src/k8s.io/helm \
- --strip-components 1 \
- helm-${version}
-}
-
-do_build() {
- cd golib/src/k8s.io/helm
- make build-cross TARGETS="linux/${_go_target_arch} linux/${_go_host_arch}" APP="..." LDFLAGS="-X helm.sh/helm/v3/internal/version.version=v${version} -X helm.sh/helm/v3/internal/version.metadata="
-
- _dist/linux-${_go_host_arch}/helm completion bash > completion.bash
- _dist/linux-${_go_host_arch}/helm completion zsh > completion.zsh
-}
-
-do_install() {
- cd golib/src/k8s.io/helm
-
- # Copy helm binary
- vbin _dist/linux-${_go_target_arch}/helm
+LDFLAGS="-fuse-ld=bfd"
- # Copy completion files
- vinstall completion.bash 644 usr/share/bash-completion/completions helm
- vinstall completion.zsh 644 usr/share/$pkgname
+post_install() {
+ for shell in bash zsh; do
+ vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}"
+ vcompletion "helm.${shell}" "${shell}"
+ done
}
next prev parent reply other threads:[~2024-06-08 1:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-08 1:41 [PR PATCH] " cinerea0
2024-06-08 1:55 ` cinerea0 [this message]
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
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=20240608015531.7C3C628926@inbox.vuxu.org \
--to=cinerea0@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).