Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] go: update URLs and install VERSION file
@ 2021-12-03 23:08 TeddyDD
  2021-12-04  1:23 ` [PR PATCH] [Merged]: " ericonr
  2021-12-04  1:24 ` ericonr
  0 siblings, 2 replies; 3+ messages in thread
From: TeddyDD @ 2021-12-03 23:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]

There is a new pull request by TeddyDD against master on the void-packages repository

https://github.com/TeddyDD/void-packages-1 go-version
https://github.com/void-linux/void-packages/pull/34375

go: update URLs and install VERSION file
<!-- Uncomment relevant sections and delete options which are not applicable -->

Ping @the-maldridge

`VERSION` is installed to `/usr/lib/go` in other distros, [golds](https://go101.org/article/tool-golds.html) is borked without this file ¯\\_(ツ)_/¯

Feel free to include this changes in update to go1.17.4 if you prefer.

#### 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 [skip CI](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/34375.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-go-version-34375.patch --]
[-- Type: text/x-diff, Size: 1465 bytes --]

From 96b9ec6b4c9043b1a3b7740ed0fbf5a64cca7d44 Mon Sep 17 00:00:00 2001
From: Daniel Lewan <vision360.daniel@gmail.com>
Date: Sat, 4 Dec 2021 00:01:44 +0100
Subject: [PATCH] go: update URLs and install VERSION file

---
 srcpkgs/go/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 9aa551c74c53..cc66dc6c7f46 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,16 +1,16 @@
 # Template file for 'go'
 pkgname=go
 version=1.17.2
-revision=1
+revision=2
 create_wrksrc=yes
 build_wrksrc=go
 hostmakedepends="go1.12-bootstrap"
 short_desc="Go Programming Language"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="BSD-3-Clause"
-homepage="https://golang.org/"
-changelog="https://golang.org/doc/devel/release.html"
-distfiles="https://golang.org/dl/go${version}.src.tar.gz"
+homepage="https://go.dev/"
+changelog="https://go.dev/doc/devel/release.html"
+distfiles="https://go.dev/dl/go${version}.src.tar.gz"
 checksum=2255eb3e4e824dd7d5fcdc2e7f84534371c186312e546fb1086a34c17752f431
 nostrip=yes
 noverifyrdeps=yes
@@ -63,6 +63,7 @@ do_install() {
 	cp -a pkg src lib ${DESTDIR}/usr/lib/go
 	cp -r doc misc -t ${DESTDIR}/usr/share/go
 	ln -s /usr/share/go/doc ${DESTDIR}/usr/lib/go/doc
+	cp VERSION ${DESTDIR}/usr/lib/go/VERSION
 
 	# This is to make go get code.google.com/p/go-tour/gotour and
 	# then running the gotour executable work out of the box.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: go: update URLs and install VERSION file
  2021-12-03 23:08 [PR PATCH] go: update URLs and install VERSION file TeddyDD
@ 2021-12-04  1:23 ` ericonr
  2021-12-04  1:24 ` ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-12-04  1:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]

There's a merged pull request on the void-packages repository

go: update URLs and install VERSION file
https://github.com/void-linux/void-packages/pull/34375

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Ping @the-maldridge

`VERSION` is installed to `/usr/lib/go` in other distros, [golds](https://go101.org/article/tool-golds.html) is borked without this file ¯\\\_(ツ)\_/¯

Feel free to include this changes in update to go1.17.4 if you prefer.

#### 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 [skip CI](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
-->


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: go: update URLs and install VERSION file
  2021-12-03 23:08 [PR PATCH] go: update URLs and install VERSION file TeddyDD
  2021-12-04  1:23 ` [PR PATCH] [Merged]: " ericonr
@ 2021-12-04  1:24 ` ericonr
  1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-12-04  1:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/34375#issuecomment-985939521

Comment:
It's a fix, so revbumping was reasonable :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-04  1:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-03 23:08 [PR PATCH] go: update URLs and install VERSION file TeddyDD
2021-12-04  1:23 ` [PR PATCH] [Merged]: " ericonr
2021-12-04  1:24 ` ericonr

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).