Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] glow: update to 1.5.0.
@ 2023-01-25 20:31 icp1994
  2023-01-25 20:34 ` [PR PATCH] [Updated] " icp1994
  2023-01-29 22:33 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2023-01-25 20:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages glow
https://github.com/void-linux/void-packages/pull/41872

glow: update to 1.5.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/41872.patch is attached

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

From bd7006cba3df3436a3a3dfe3b194881f9f6e029d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 24 Jan 2023 12:17:53 +0530
Subject: [PATCH] glow: update to 1.5.0.

---
 srcpkgs/glow/template | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/glow/template b/srcpkgs/glow/template
index 6b283d3d6ab7..84c3322e1803 100644
--- a/srcpkgs/glow/template
+++ b/srcpkgs/glow/template
@@ -1,16 +1,22 @@
 # Template file for 'glow'
 pkgname=glow
-version=1.4.1
+version=1.5.0
 revision=1
 build_style=go
 go_import_path=github.com/charmbracelet/glow
+go_ldflags="-X main.Version=${version}"
 short_desc="Render markdown on the CLI, with pizzazz"
 maintainer="klardotsh <josh@klar.sh>"
 license="MIT"
 homepage="https://github.com/charmbracelet/glow"
-distfiles="https://github.com/charmbracelet/glow/archive/v${version}.tar.gz"
-checksum=ff6dfd7568f0bac5144ffa3a429ed956dcbdb531487ef6e38ac61365322c9601
+distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
+checksum=66f2a876eba15d71cfd08b56667fb07e1d49d383aa17d31696a39e794e23ba92
 
 post_install() {
+	for shell in bash fish zsh; do
+		GOARCH= go run . completion ${shell} > glow.${shell}
+		vcompletion glow.${shell} ${shell}
+	done
+
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Updated] glow: update to 1.5.0.
  2023-01-25 20:31 [PR PATCH] glow: update to 1.5.0 icp1994
@ 2023-01-25 20:34 ` icp1994
  2023-01-29 22:33 ` [PR PATCH] [Merged]: " classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2023-01-25 20:34 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages glow
https://github.com/void-linux/void-packages/pull/41872

glow: update to 1.5.0.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/41872.patch is attached

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

From b1cfbd2ae749c5de898236b6356ddfd965cc4869 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 24 Jan 2023 12:17:53 +0530
Subject: [PATCH] glow: update to 1.5.0.

---
 srcpkgs/glow/template | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/glow/template b/srcpkgs/glow/template
index 6b283d3d6ab7..ce2cff4a3f0c 100644
--- a/srcpkgs/glow/template
+++ b/srcpkgs/glow/template
@@ -1,16 +1,22 @@
 # Template file for 'glow'
 pkgname=glow
-version=1.4.1
+version=1.5.0
 revision=1
 build_style=go
 go_import_path=github.com/charmbracelet/glow
+go_ldflags="-X main.Version=${version}"
 short_desc="Render markdown on the CLI, with pizzazz"
 maintainer="klardotsh <josh@klar.sh>"
 license="MIT"
 homepage="https://github.com/charmbracelet/glow"
-distfiles="https://github.com/charmbracelet/glow/archive/v${version}.tar.gz"
-checksum=ff6dfd7568f0bac5144ffa3a429ed956dcbdb531487ef6e38ac61365322c9601
+distfiles="https://github.com/charmbracelet/glow/archive/refs/tags/v${version}.tar.gz"
+checksum=66f2a876eba15d71cfd08b56667fb07e1d49d383aa17d31696a39e794e23ba92
 
 post_install() {
+	for shell in bash fish zsh; do
+		CGO_ENABLED=0 GOARCH= go run . completion ${shell} > glow.${shell}
+		vcompletion glow.${shell} ${shell}
+	done
+
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Merged]: glow: update to 1.5.0.
  2023-01-25 20:31 [PR PATCH] glow: update to 1.5.0 icp1994
  2023-01-25 20:34 ` [PR PATCH] [Updated] " icp1994
@ 2023-01-29 22:33 ` classabbyamp
  1 sibling, 0 replies; 3+ messages in thread
From: classabbyamp @ 2023-01-29 22:33 UTC (permalink / raw)
  To: ml

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

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

glow: update to 1.5.0.
https://github.com/void-linux/void-packages/pull/41872

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

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

end of thread, other threads:[~2023-01-29 22:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 20:31 [PR PATCH] glow: update to 1.5.0 icp1994
2023-01-25 20:34 ` [PR PATCH] [Updated] " icp1994
2023-01-29 22:33 ` [PR PATCH] [Merged]: " 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).