Github messages for voidlinux
 help / color / mirror / Atom feed
From: hervyqa <hervyqa@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: babelfish-1.1.0
Date: Mon, 22 May 2023 01:45:19 +0200	[thread overview]
Message-ID: <20230521234519.hEjtj4glabtgawzBGQg1cY4IP1dp4-u7IZktFbwwhqs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44023@inbox.vuxu.org>

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

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

https://github.com/hervyqa/void-packages babelfish
https://github.com/void-linux/void-packages/pull/44023

New package: babelfish-1.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### 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**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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, (x86_64)

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

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

From ec67832ea1c2bbbf1bb17f62ff08dd2f424b8778 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 22 May 2023 06:40:39 +0700
Subject: [PATCH] New package: babelfish-1.1.0

---
 srcpkgs/babelfish/patches/fix-module.patch | 23 ++++++++++++++++++++++
 srcpkgs/babelfish/template                 | 17 ++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 srcpkgs/babelfish/patches/fix-module.patch
 create mode 100644 srcpkgs/babelfish/template

diff --git a/srcpkgs/babelfish/patches/fix-module.patch b/srcpkgs/babelfish/patches/fix-module.patch
new file mode 100644
index 000000000000..0deaeac86145
--- /dev/null
+++ b/srcpkgs/babelfish/patches/fix-module.patch
@@ -0,0 +1,23 @@
+--- a/go.mod
++++ b/go.mod
+@@ -1,8 +1,9 @@
+-module bou.ke/babelfish
++module github.com/bouk/babelfish
+ 
+ go 1.14
+ 
+ require (
++	bou.ke/babelfish v1.1.0
+ 	github.com/google/go-cmp v0.5.4
+ 	mvdan.cc/sh/v3 v3.1.1-0.20200611202847-1a815c3846d1
+ )
+diff --git a/go.sum b/go.sum
+index b6be956..801fc9d 100644
+--- a/go.sum
++++ b/go.sum
+@@ -1,3 +1,5 @@
++bou.ke/babelfish v1.1.0 h1:tbm1ILNkK9Un4+CE/ge9vdVHoxbJGWiM3LWZh64XJB8=
++bou.ke/babelfish v1.1.0/go.mod h1:3lWBLbWGUmILo8PvxWUS3qc/0v0zYyy52EJW4p+A+Sc=
+ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
+ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+ github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
diff --git a/srcpkgs/babelfish/template b/srcpkgs/babelfish/template
new file mode 100644
index 000000000000..4cb0a06b9746
--- /dev/null
+++ b/srcpkgs/babelfish/template
@@ -0,0 +1,17 @@
+# Template file for 'babelfish'
+pkgname=babelfish
+version=1.1.0
+revision=1
+build_style=go
+go_import_path="github.com/bouk/babelfish"
+short_desc="Translate bash scripts to fish"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="MIT"
+homepage="https://github.com/bouk/babelfish/"
+distfiles="https://github.com/bouk/babelfish/archive/refs/tags/v$version.tar.gz"
+checksum=7896c3e998e82ed15300f0951052af1e3a5a4c54fa9a07f1e2f743854b7ad239
+
+post_install() {
+	vcompletion babel.fish fish
+	vlicense LICENSE
+}

  parent reply	other threads:[~2023-05-21 23:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21 23:41 [PR PATCH] " hervyqa
2023-05-21 23:43 ` [PR PATCH] [Updated] " hervyqa
2023-05-21 23:45 ` hervyqa [this message]
2023-05-22  9:01 ` hervyqa
2023-06-25 17:14 ` [PR PATCH] [Merged]: " Duncaen

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=20230521234519.hEjtj4glabtgawzBGQg1cY4IP1dp4-u7IZktFbwwhqs@z \
    --to=hervyqa@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).