Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] git-lfs: udpate to 3.3.0
@ 2023-01-20 11:31 pascal-huber
  2023-01-20 11:35 ` [PR PATCH] [Updated] " pascal-huber
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: pascal-huber @ 2023-01-20 11:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/pascal-huber/void-packages git-lfs-3.3.0_1
https://github.com/void-linux/void-packages/pull/41754

git-lfs: udpate to 3.3.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures:
  - x86_64-musl (crossbuild)
  - aarch64 (crossbuild)
  - armv7l (crossbuild)


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-git-lfs-3.3.0_1-41754.patch --]
[-- Type: text/x-diff, Size: 2388 bytes --]

From 3e083bf18bafaacfd26ce145d77a66a31b0def27 Mon Sep 17 00:00:00 2001
From: Pascal Huber <pascal.huber@resolved.ch>
Date: Thu, 19 Jan 2023 15:29:49 +0100
Subject: [PATCH] git-lfs: udpate to 3.3.0

---
 srcpkgs/git-lfs/template | 54 ++++++++++++----------------------------
 1 file changed, 16 insertions(+), 38 deletions(-)

diff --git a/srcpkgs/git-lfs/template b/srcpkgs/git-lfs/template
index d0bfbc07d7b6..666cdee65562 100644
--- a/srcpkgs/git-lfs/template
+++ b/srcpkgs/git-lfs/template
@@ -1,52 +1,30 @@
 # Template file for 'git-lfs'
 pkgname=git-lfs
-version=2.12.1
-revision=2
+version=3.3.0
+revision=1
 build_style=go
 go_import_path="github.com/git-lfs/git-lfs"
-hostmakedepends="git ruby-ronn"
+go_ldflags="-buildmode=pie -trimpath -ldflags=-linkmode=external"
+hostmakedepends="git ruby-asciidoctor"
 short_desc="Git extension for versioning large files"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MIT"
 homepage="https://git-lfs.github.com/"
 distfiles="https://github.com/git-lfs/git-lfs/archive/v${version}.tar.gz"
-checksum=2b2e70f1233f7efe9a010771510391a07527ec7c0af721ecf8edabac5d60f62b
+checksum=d5eeb9ee33188d3dd6a391f8a39b96d271f10295129789e5b3a1ac0e9f5114f5
 
-post_build() {
-	make man
+do_build(){
+    go build -p "$XBPS_MAKEJOBS" -ldflags ${go_ldflags} .
+    make man
+}
+
+do_install(){
+    vbin git-lfs /usr/bin/git-lfs
 }
 
 post_install() {
-	vlicense LICENSE.md
-	vman man/git-lfs-checkout.1
-	vman man/git-lfs-clean.1
-	vman man/git-lfs-clone.1
-	vman man/git-lfs-env.1
-	vman man/git-lfs-ext.1
-	vman man/git-lfs-fetch.1
-	vman man/git-lfs-filter-process.1
-	vman man/git-lfs-fsck.1
-	vman man/git-lfs-install.1
-	vman man/git-lfs-lock.1
-	vman man/git-lfs-locks.1
-	vman man/git-lfs-logs.1
-	vman man/git-lfs-ls-files.1
-	vman man/git-lfs-migrate.1
-	vman man/git-lfs-pointer.1
-	vman man/git-lfs-post-checkout.1
-	vman man/git-lfs-post-commit.1
-	vman man/git-lfs-post-merge.1
-	vman man/git-lfs-pre-push.1
-	vman man/git-lfs-prune.1
-	vman man/git-lfs-pull.1
-	vman man/git-lfs-push.1
-	vman man/git-lfs-smudge.1
-	vman man/git-lfs-status.1
-	vman man/git-lfs-track.1
-	vman man/git-lfs-uninstall.1
-	vman man/git-lfs-unlock.1
-	vman man/git-lfs-untrack.1
-	vman man/git-lfs-update.1
-	vman man/git-lfs.1
-	vman man/git-lfs-config.5
+    vlicense LICENSE.md
+    for page in man/man*/*; do
+        vman $page
+    done
 }

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

end of thread, other threads:[~2023-01-23 18:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20 11:31 [PR PATCH] git-lfs: udpate to 3.3.0 pascal-huber
2023-01-20 11:35 ` [PR PATCH] [Updated] " pascal-huber
2023-01-22 20:55 ` Piraty
2023-01-23 11:07 ` pascal-huber
2023-01-23 11:24 ` lemmi
2023-01-23 11:36 ` [PR PATCH] [Updated] " pascal-huber
2023-01-23 11:38 ` pascal-huber
2023-01-23 11:43 ` [PR REVIEW] " lemmi
2023-01-23 11:44 ` lemmi
2023-01-23 11:47 ` [PR PATCH] [Updated] " pascal-huber
2023-01-23 11:48 ` pascal-huber
2023-01-23 11:50 ` [PR REVIEW] " pascal-huber
2023-01-23 11:52 ` [PR PATCH] [Updated] " pascal-huber
2023-01-23 11:55 ` pascal-huber
2023-01-23 12:06 ` pascal-huber
2023-01-23 12:13 ` pascal-huber
2023-01-23 18:08 ` [PR PATCH] [Merged]: " lemmi

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