[arch-commits] Commit in skaffold/repos/community-x86_64 (4 files)

Christian Rebischke shibumi at gemini.archlinux.org
Wed Nov 17 21:58:39 UTC 2021


    Date: Wednesday, November 17, 2021 @ 21:58:38
  Author: shibumi
Revision: 1051240

archrelease: copy trunk to community-x86_64

Added:
  skaffold/repos/community-x86_64/PKGBUILD
    (from rev 1051239, skaffold/trunk/PKGBUILD)
  skaffold/repos/community-x86_64/build_info.patch
    (from rev 1051239, skaffold/trunk/build_info.patch)
Deleted:
  skaffold/repos/community-x86_64/PKGBUILD
  skaffold/repos/community-x86_64/build_info.patch

------------------+
 PKGBUILD         |  124 ++++++++++++++++++++++++++---------------------------
 build_info.patch |   46 +++++++++----------
 2 files changed, 85 insertions(+), 85 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-17 21:58:30 UTC (rev 1051239)
+++ PKGBUILD	2021-11-17 21:58:38 UTC (rev 1051240)
@@ -1,62 +0,0 @@
-# Maintainer Christian Rebischke <chris.rebischke at archlinux.org>
-# Maintainer: Fredy García <frealgagu at gmail dot com>
-# Maintainer: Maxim Baz <${pkgname} at maximbaz dot com>
-# Contributor: Stefan Cocora <stefan dot cocora at gmail dot com>
-
-pkgname=skaffold
-pkgver=1.34.0
-pkgrel=1
-pkgdesc="A command line tool that facilitates continuous development for Kubernetes applications"
-arch=("x86_64")
-url="https://github.com/GoogleContainerTools/${pkgname}"
-license=("Apache")
-depends=("docker")
-makedepends=("go")
-optdepends=(
-  "minikube: To use Minikube"
-  "kubectl: For Kubernetes support"
-  "bash-completion: Tab autocompletion"
-)
-source=(
-  "${pkgname}-${pkgver}.tar.gz::https://github.com/GoogleContainerTools/${pkgname}/archive/v${pkgver}.tar.gz"
-)
-sha256sums=('ab83edd467871ea2ad246180aa8a63ca06c560b59aee6aebd087b83ec226adce')
-b2sums=('a262bca3497a6974390960ebca55f0206d2788ed11c15da45fc612620d3b6e8a9464b82fa9dae6619a146b714b3b0c63da64b6910507ec5d84081085846c8a41')
-_commit="22cfab75ffb305e7af220910af2f48d0a5c0e6af"
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  rm -rf "${srcdir}/gopath"
-  mkdir -p "${srcdir}/gopath/bin"
-  mkdir -p "${srcdir}/gopath/src/github.com/GoogleContainerTools"
-  ln -rTsf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
-}
-
-build() {
-  cd "${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
-  export GOPATH="${srcdir}/gopath"
-  export PATH="${PATH}:${GOPATH}/bin"
-  export VERSION="v${pkgver}"
-  export COMMIT="${_commit}"
-  export TREE_STATE="clean"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw -x -v -ldflags=-linkmode=external"
-  make install
-
-  # To avoid issues deleting directories next time
-  go clean --modcache
-
-  # Create completion files
-  "${srcdir}/gopath/bin/${pkgname}" completion bash > "${srcdir}/${pkgname}-completion.bash"
-  "${srcdir}/gopath/bin/${pkgname}" completion zsh > "${srcdir}/${pkgname}-completion.zsh"
-}
-
-package() {
-  install -Dm755 "${srcdir}/gopath/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 "${srcdir}/${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  install -Dm644 "${srcdir}/${pkgname}-completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_skaffold"
-}

Copied: skaffold/repos/community-x86_64/PKGBUILD (from rev 1051239, skaffold/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-17 21:58:38 UTC (rev 1051240)
@@ -0,0 +1,62 @@
+# Maintainer Christian Rebischke <chris.rebischke at archlinux.org>
+# Maintainer: Fredy García <frealgagu at gmail dot com>
+# Maintainer: Maxim Baz <${pkgname} at maximbaz dot com>
+# Contributor: Stefan Cocora <stefan dot cocora at gmail dot com>
+
+pkgname=skaffold
+pkgver=1.35.0
+pkgrel=1
+pkgdesc="A command line tool that facilitates continuous development for Kubernetes applications"
+arch=("x86_64")
+url="https://github.com/GoogleContainerTools/${pkgname}"
+license=("Apache")
+depends=("docker")
+makedepends=("go")
+optdepends=(
+  "minikube: To use Minikube"
+  "kubectl: For Kubernetes support"
+  "bash-completion: Tab autocompletion"
+)
+source=(
+  "${pkgname}-${pkgver}.tar.gz::https://github.com/GoogleContainerTools/${pkgname}/archive/v${pkgver}.tar.gz"
+)
+sha256sums=('0ce75ba329f027c9075cfddddd8a96ca08523c772733f999e236a7913b59ea14')
+b2sums=('0508ef64c65c7ed566337ea27a749b4a75a601f720e84d7540492a722b8a4bde3eeb709275c7dfcbcc1b988cbc3da0c905c14c8db4fdb14db68cacede61c8884')
+_commit="e9c900fe353d50a536de042eca844e9ca4ed2ac7"
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  rm -rf "${srcdir}/gopath"
+  mkdir -p "${srcdir}/gopath/bin"
+  mkdir -p "${srcdir}/gopath/src/github.com/GoogleContainerTools"
+  ln -rTsf "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
+}
+
+build() {
+  cd "${srcdir}/gopath/src/github.com/GoogleContainerTools/${pkgname}"
+  export GOPATH="${srcdir}/gopath"
+  export PATH="${PATH}:${GOPATH}/bin"
+  export VERSION="v${pkgver}"
+  export COMMIT="${_commit}"
+  export TREE_STATE="clean"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -mod=readonly -modcacherw -x -v -ldflags=-linkmode=external"
+  make install
+
+  # To avoid issues deleting directories next time
+  go clean --modcache
+
+  # Create completion files
+  "${srcdir}/gopath/bin/${pkgname}" completion bash > "${srcdir}/${pkgname}-completion.bash"
+  "${srcdir}/gopath/bin/${pkgname}" completion zsh > "${srcdir}/${pkgname}-completion.zsh"
+}
+
+package() {
+  install -Dm755 "${srcdir}/gopath/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm644 "${srcdir}/${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  install -Dm644 "${srcdir}/${pkgname}-completion.zsh" "${pkgdir}/usr/share/zsh/site-functions/_skaffold"
+}

Deleted: build_info.patch
===================================================================
--- build_info.patch	2021-11-17 21:58:30 UTC (rev 1051239)
+++ build_info.patch	2021-11-17 21:58:38 UTC (rev 1051240)
@@ -1,23 +0,0 @@
-diff --git a/Makefile b/Makefile
-index dd22ea0..aa47490 100644
---- a/Makefile
-+++ b/Makefile
-@@ -35,7 +35,8 @@ SKAFFOLD_TEST_PACKAGES = ./pkg/skaffold/... ./cmd/... ./hack/... ./pkg/webhook/.
- GO_FILES = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./pkg/diag/*")
- 
- VERSION_PACKAGE = $(REPOPATH)/pkg/skaffold/version
--COMMIT = $(shell git rev-parse HEAD)
-+COMMIT ?= $(shell git rev-parse HEAD)
-+TREE_STATE ?= $(if $(shell git status --porcelain),dirty,clean)
- 
- ifeq "$(strip $(VERSION))" ""
-  override VERSION = $(shell git describe --always --tags --dirty)
-@@ -52,7 +53,7 @@ GO_BUILD_TAGS_windows = "release"
- GO_LDFLAGS = -X $(VERSION_PACKAGE).version=$(VERSION)
- GO_LDFLAGS += -X $(VERSION_PACKAGE).buildDate=$(shell date +'%Y-%m-%dT%H:%M:%SZ')
- GO_LDFLAGS += -X $(VERSION_PACKAGE).gitCommit=$(COMMIT)
--GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(if $(shell git status --porcelain),dirty,clean)
-+GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(TREE_STATE)
- GO_LDFLAGS += -s -w
- 
- GO_LDFLAGS_windows =" $(GO_LDFLAGS)  -extldflags \"$(LDFLAGS_windows)\""

Copied: skaffold/repos/community-x86_64/build_info.patch (from rev 1051239, skaffold/trunk/build_info.patch)
===================================================================
--- build_info.patch	                        (rev 0)
+++ build_info.patch	2021-11-17 21:58:38 UTC (rev 1051240)
@@ -0,0 +1,23 @@
+diff --git a/Makefile b/Makefile
+index dd22ea0..aa47490 100644
+--- a/Makefile
++++ b/Makefile
+@@ -35,7 +35,8 @@ SKAFFOLD_TEST_PACKAGES = ./pkg/skaffold/... ./cmd/... ./hack/... ./pkg/webhook/.
+ GO_FILES = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./pkg/diag/*")
+ 
+ VERSION_PACKAGE = $(REPOPATH)/pkg/skaffold/version
+-COMMIT = $(shell git rev-parse HEAD)
++COMMIT ?= $(shell git rev-parse HEAD)
++TREE_STATE ?= $(if $(shell git status --porcelain),dirty,clean)
+ 
+ ifeq "$(strip $(VERSION))" ""
+  override VERSION = $(shell git describe --always --tags --dirty)
+@@ -52,7 +53,7 @@ GO_BUILD_TAGS_windows = "release"
+ GO_LDFLAGS = -X $(VERSION_PACKAGE).version=$(VERSION)
+ GO_LDFLAGS += -X $(VERSION_PACKAGE).buildDate=$(shell date +'%Y-%m-%dT%H:%M:%SZ')
+ GO_LDFLAGS += -X $(VERSION_PACKAGE).gitCommit=$(COMMIT)
+-GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(if $(shell git status --porcelain),dirty,clean)
++GO_LDFLAGS += -X $(VERSION_PACKAGE).gitTreeState=$(TREE_STATE)
+ GO_LDFLAGS += -s -w
+ 
+ GO_LDFLAGS_windows =" $(GO_LDFLAGS)  -extldflags \"$(LDFLAGS_windows)\""



More information about the arch-commits mailing list