Github messages for voidlinux
 help / color / mirror / Atom feed
From: Newchair2644 <Newchair2644@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: flavours-0.6.1
Date: Tue, 27 Dec 2022 22:30:46 +0100	[thread overview]
Message-ID: <20221227213046.XLj6NgxeqJuXKG09siKo8hKMrXh0CqjsPAdgpusz_EM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41310@inbox.vuxu.org>

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

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

https://github.com/Newchair2644/void-packages flavours
https://github.com/void-linux/void-packages/pull/41310

New package: flavours-0.6.1
<!-- 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, glibc)

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

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

From 420e70c13c4703f8336655f0ed13e4c3eba88b0b Mon Sep 17 00:00:00 2001
From: Numair Dubas <Numair2644@protonmail.com>
Date: Mon, 26 Dec 2022 19:06:49 -0500
Subject: [PATCH 1/2] New package: flavours-0.6.1

---
 srcpkgs/flavours/template | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 srcpkgs/flavours/template

diff --git a/srcpkgs/flavours/template b/srcpkgs/flavours/template
new file mode 100644
index 000000000000..b92c7a9dc49d
--- /dev/null
+++ b/srcpkgs/flavours/template
@@ -0,0 +1,30 @@
+# Template file for 'flavours'
+pkgname=flavours
+version=0.6.1
+revision=1
+wrksrc="${pkgname}-${version}"
+build_style=cargo
+build_helper=qemu
+short_desc="Simple and easy cli to build and use base16 schemes"
+maintainer="Numair Dubas <Numair2644@protonmail.com>"
+license="MIT"
+homepage="https://github.com/Misterio77/flavours"
+distfiles=https://github.com/Misterio77/flavours/archive/refs/tags/v${version}.tar.gz
+checksum=48c7659031d399ff125a07b71419935946e0da8d3ef1817a9f89dda32c2dcac1
+
+post_build() {
+	FLAVOURS="target/${RUST_TARGET}/release/flavours"
+	vtargetrun ${FLAVOURS} --completions bash > flavours.bash
+	vtargetrun ${FLAVOURS} --completions zsh  > flavours.zsh
+	vtargetrun ${FLAVOURS} --completions fish > flavours.fish
+}
+
+post_install() {
+	vcompletion flavours.bash bash
+	vcompletion flavours.zsh zsh
+	vcompletion flavours.fish fish
+
+	vlicense LICENSE
+	vdoc README.md
+	vsconf example.toml
+}

From 1aaa6853bb8363cb5d7917ee86074683f8882c7b Mon Sep 17 00:00:00 2001
From: Numair Dubas <Numair2644@protonmail.com>
Date: Tue, 27 Dec 2022 11:46:16 -0500
Subject: [PATCH 2/2] flavours: remove $wrksrc and edit $distfiles to use
 $homepage

---
 srcpkgs/flavours/template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/srcpkgs/flavours/template b/srcpkgs/flavours/template
index b92c7a9dc49d..7e5dfd626932 100644
--- a/srcpkgs/flavours/template
+++ b/srcpkgs/flavours/template
@@ -2,14 +2,13 @@
 pkgname=flavours
 version=0.6.1
 revision=1
-wrksrc="${pkgname}-${version}"
 build_style=cargo
 build_helper=qemu
 short_desc="Simple and easy cli to build and use base16 schemes"
 maintainer="Numair Dubas <Numair2644@protonmail.com>"
 license="MIT"
 homepage="https://github.com/Misterio77/flavours"
-distfiles=https://github.com/Misterio77/flavours/archive/refs/tags/v${version}.tar.gz
+distfiles=${homepage}/archive/refs/tags/v${version}.tar.gz
 checksum=48c7659031d399ff125a07b71419935946e0da8d3ef1817a9f89dda32c2dcac1
 
 post_build() {

  parent reply	other threads:[~2022-12-27 21:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27  0:36 [PR PATCH] " Newchair2644
2022-12-27 16:51 ` [PR PATCH] [Updated] " Newchair2644
2022-12-27 17:02 ` Newchair2644
2022-12-27 17:38 ` paper42
2022-12-27 17:38 ` paper42
2022-12-27 21:08 ` [PR PATCH] [Updated] " Newchair2644
2022-12-27 21:24 ` Newchair2644
2022-12-27 21:30 ` Newchair2644 [this message]
2022-12-27 21:35 ` Newchair2644
2022-12-27 21:46 ` [PR PATCH] [Updated] " Newchair2644
2022-12-27 21:49 ` Newchair2644
2022-12-27 21:51 ` Newchair2644
2023-03-28  1:56 ` github-actions
2023-04-07  3:29 ` Newchair2644
2023-04-07 10:00 ` paper42
2023-06-06  8:21 ` Anachron
2023-06-24 13:44 ` [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=20221227213046.XLj6NgxeqJuXKG09siKo8hKMrXh0CqjsPAdgpusz_EM@z \
    --to=newchair2644@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).