Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] lf: build with cgo=0, run checks
@ 2024-01-25 21:45 dkwo
  2024-01-26  7:42 ` TeddyDD
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dkwo @ 2024-01-25 21:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/dkwo/void-packages lf
https://github.com/void-linux/void-packages/pull/48373

lf: build with cgo=0, run checks
build static as suggested by upstream, run checks. cc maintainer @TeddyDD 

- I tested the changes in this PR: yes
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (cross aarch64-musl)

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

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

From ac81c6d479ead6a7fe29edcc166cd11c770772ae Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Thu, 25 Jan 2024 16:42:41 -0500
Subject: [PATCH] lf: build with cgo=0, run checks

---
 srcpkgs/lf/template | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/lf/template b/srcpkgs/lf/template
index eac3fd04beab0..9c718153bc72a 100644
--- a/srcpkgs/lf/template
+++ b/srcpkgs/lf/template
@@ -1,7 +1,7 @@
 # Template file for 'lf'
 pkgname=lf
 version=r31
-revision=1
+revision=2
 build_style=go
 go_import_path="github.com/gokcehan/${pkgname}"
 go_ldflags="-X main.gVersion=$version"
@@ -11,6 +11,11 @@ license="MIT"
 homepage="https://github.com/gokcehan/lf"
 distfiles="https://github.com/gokcehan/lf/archive/${version}.tar.gz"
 checksum=ed47fc22c58cf4f4e4116a58c500bdb9f9ccc0b89f87be09f321e8d1431226ab
+export CGO_ENABLED=0
+
+do_check() {
+	go test ./...
+}
 
 post_install() {
 	vlicense LICENSE

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

end of thread, other threads:[~2024-01-31 21:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-25 21:45 [PR PATCH] lf: build with cgo=0, run checks dkwo
2024-01-26  7:42 ` TeddyDD
2024-01-30 22:48 ` dkwo
2024-01-31 18:44 ` TeddyDD
2024-01-31 21:17 ` [PR PATCH] [Closed]: " dkwo
2024-01-31 21:17 ` dkwo

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