From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] github-cli: update to 2.17.0
Date: Wed, 05 Oct 2022 14:13:53 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39735@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
There is a new pull request by tranzystorek-io against master on the void-packages repository
https://github.com/tranzystorek-io/void-packages gh
https://github.com/void-linux/void-packages/pull/39735
github-cli: update to 2.17.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/39735.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gh-39735.patch --]
[-- Type: text/x-diff, Size: 1578 bytes --]
From 7764a96ab2dcbc787c167ff322acf56ad2e9eff9 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Wed, 5 Oct 2022 14:12:55 +0200
Subject: [PATCH] github-cli: update to 2.17.0
---
srcpkgs/github-cli/template | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/srcpkgs/github-cli/template b/srcpkgs/github-cli/template
index 7b7db9b4e88f..88ffda6520ba 100644
--- a/srcpkgs/github-cli/template
+++ b/srcpkgs/github-cli/template
@@ -1,6 +1,6 @@
# Template file for 'github-cli'
pkgname=github-cli
-version=2.16.1
+version=2.17.0
revision=1
wrksrc="cli-${version}"
build_style=go
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://cli.github.com"
changelog="https://github.com/cli/cli/releases"
distfiles="https://github.com/cli/cli/archive/refs/tags/v${version}.tar.gz"
-checksum=ed42d919d22b33c60d7c4243ac37cc1127e342817e563038aeba2e2a3f93ed81
+checksum=0e8db6dbb148a899db45f4dc8165644f6361d9bd6d088aa7633368b3baedbe54
pre_build() {
local _date
@@ -23,19 +23,15 @@ pre_build() {
fi
}
-post_build() {
- CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
- gh=$(find $GOPATH/bin -name gh)
- for shell in bash fish zsh; do
- vtargetrun $gh completion -s $shell > github-cli.$shell
- done
-}
-
post_install() {
vlicense LICENSE
+ CGO_ENABLED=0 GOARCH="" go run script/build.go manpages
vcopy share/man usr/share
+
+ GH="${DESTDIR}/usr/bin/gh"
for shell in bash fish zsh; do
+ vtargetrun ${GH} completion -s $shell > github-cli.$shell
vcompletion github-cli.$shell $shell gh
done
}
next reply other threads:[~2022-10-05 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 12:13 tranzystorek-io [this message]
2022-10-05 21:33 ` [PR PATCH] [Merged]: " 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39735@inbox.vuxu.org \
--to=tranzystorek-io@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).