Github messages for voidlinux
 help / color / mirror / Atom feed
From: mchlumsky <mchlumsky@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: go-task-3.27.1
Date: Wed, 19 Jul 2023 05:45:15 +0200	[thread overview]
Message-ID: <20230719034515.kVuXyxaAJNEruvipT-9s89TXhyfqGWUzsT7MeTWu-Ck@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45028@inbox.vuxu.org>

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

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

https://github.com/mchlumsky/void-packages new-pkg-go-task
https://github.com/void-linux/void-packages/pull/45028

New package: go-task-3.27.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - aarch64
  - armv7l
  - armv7l-musl
  - armv6l-musl
  - armv6l
  - i686-musl
  - i686
  - x86_64-musl

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-pkg-go-task-45028.patch --]
[-- Type: text/x-diff, Size: 1635 bytes --]

From ac7a01105d88543813927876bc1286ed5b7e921d Mon Sep 17 00:00:00 2001
From: Martin Chlumsky <martin.chlumsky@gmail.com>
Date: Fri, 14 Jul 2023 01:32:56 -0400
Subject: [PATCH] New package: go-task-3.27.1

---
 srcpkgs/go-task/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/go-task/template

diff --git a/srcpkgs/go-task/template b/srcpkgs/go-task/template
new file mode 100644
index 000000000000..f0be6e744a87
--- /dev/null
+++ b/srcpkgs/go-task/template
@@ -0,0 +1,29 @@
+# Template file for 'go-task'
+pkgname=go-task
+version=3.27.1
+revision=1
+build_style=go
+go_import_path=github.com/go-task/task/v3
+go_package="${go_import_path}/cmd/task"
+go_ldflags="-X github.com/go-task/task/v3/internal/version.version=v${version}"
+short_desc="Simple task runner written in Go"
+maintainer="Martin Chlumsky <martin.chlumsky@gmail.com>"
+license="MIT"
+homepage="https://taskfile.dev/"
+distfiles="https://github.com/go-task/task/archive/refs/tags/v$version.tar.gz"
+checksum=508b6612ca30ef4404aa674a2fb2a93e414eb5b06afe34e090145e70f0dc940a
+
+post_install() {
+	vlicense LICENSE
+
+	mv ${DESTDIR}/usr/bin/{,go-}task
+
+	vsed -e 's/complete -F _task task/complete -F _task go-task/' -i completion/bash/task.bash
+	vsed -e 's/set GO_TASK_PROGNAME task/set GO_TASK_PROGNAME go-task/' -i completion/fish/task.fish
+	vsed -e 's/#compdef task/#compdef go-task/' -i completion/zsh/_task
+	vsed -e 's/cmd=(task)/cmd=(go-task)/' -i completion/zsh/_task
+
+	vcompletion completion/bash/task.bash bash
+	vcompletion completion/fish/task.fish fish
+	vcompletion completion/zsh/_task zsh
+}

  parent reply	other threads:[~2023-07-19  3:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14  5:41 [PR PATCH] " mchlumsky
2023-07-16 17:40 ` mchlumsky
2023-07-17 14:06 ` icp1994
2023-07-17 14:08 ` icp1994
2023-07-17 17:56 ` [PR PATCH] [Updated] " mchlumsky
2023-07-17 17:58 ` mchlumsky
2023-07-19  3:31 ` mchlumsky
2023-07-19  3:45 ` mchlumsky [this message]
2023-07-19  3:45 ` mchlumsky
2023-10-18  1:45 ` github-actions
2023-11-01  1:46 ` [PR PATCH] [Closed]: " github-actions
2024-05-09  0:53 ` komidore64

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=20230719034515.kVuXyxaAJNEruvipT-9s89TXhyfqGWUzsT7MeTWu-Ck@z \
    --to=mchlumsky@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).