* [PR PATCH] kubernetes-helm: update to 3.15.1
@ 2024-06-08 1:41 cinerea0
2024-06-08 1:55 ` [PR PATCH] [Updated] " cinerea0
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
0 siblings, 2 replies; 3+ messages in thread
From: cinerea0 @ 2024-06-08 1:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
There is a new 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: 2734 bytes --]
From ace8df210d39a3de824798d9e616456008c944aa Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Fri, 7 Jun 2024 21:41:02 -0400
Subject: [PATCH] kubernetes-helm: update to 3.15.1
---
srcpkgs/kubernetes-helm/template | 59 ++++++++------------------------
1 file changed, 15 insertions(+), 44 deletions(-)
diff --git a/srcpkgs/kubernetes-helm/template b/srcpkgs/kubernetes-helm/template
index 7fbcdc2c9b63a2..89f9e3ff162727 100644
--- a/srcpkgs/kubernetes-helm/template
+++ b/srcpkgs/kubernetes-helm/template
@@ -1,54 +1,25 @@
# 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
-
- # 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
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] kubernetes-helm: update to 3.15.1
2024-06-08 1:41 [PR PATCH] kubernetes-helm: update to 3.15.1 cinerea0
@ 2024-06-08 1:55 ` cinerea0
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: cinerea0 @ 2024-06-08 1:55 UTC (permalink / raw)
To: ml
[-- 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
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: kubernetes-helm: update to 3.15.1
2024-06-08 1:41 [PR PATCH] kubernetes-helm: update to 3.15.1 cinerea0
2024-06-08 1:55 ` [PR PATCH] [Updated] " cinerea0
@ 2024-06-15 1:05 ` classabbyamp
1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2024-06-15 1:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 240 bytes --]
There's a closed pull request on the void-packages repository
kubernetes-helm: update to 3.15.1
https://github.com/void-linux/void-packages/pull/50742
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-15 1:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-08 1:41 [PR PATCH] kubernetes-helm: update to 3.15.1 cinerea0
2024-06-08 1:55 ` [PR PATCH] [Updated] " cinerea0
2024-06-15 1:05 ` [PR PATCH] [Closed]: " classabbyamp
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).