Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] miniserve: update to 0.22.0, add manpage, completions
Date: Mon, 26 Sep 2022 22:46:31 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39484@inbox.vuxu.org> (raw)

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

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

https://github.com/tranzystorek-io/void-packages miniserve
https://github.com/void-linux/void-packages/pull/39484

miniserve: update to 0.22.0, add manpage, completions
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

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

<!-- 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, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From dceea8c85c84cf3120e7eef9402f0527a5c16b64 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Mon, 26 Sep 2022 22:44:51 +0200
Subject: [PATCH] miniserve: update to 0.22.0, add manpage, completions

---
 srcpkgs/miniserve/template | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/miniserve/template b/srcpkgs/miniserve/template
index d1ddc81a1c80..b52353094f31 100644
--- a/srcpkgs/miniserve/template
+++ b/srcpkgs/miniserve/template
@@ -1,16 +1,17 @@
 # Template file for 'miniserve'
 pkgname=miniserve
-version=0.20.0
+version=0.22.0
 revision=1
 build_style=cargo
+build_helper=qemu
 checkdepends="curl"
 short_desc="CLI tool to serve files and dirs over HTTP"
 maintainer="Enno Boland <gottox@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/svenstaro/miniserve"
 changelog="https://raw.githubusercontent.com/svenstaro/miniserve/master/CHANGELOG.md"
-distfiles="https://github.com/svenstaro/miniserve/archive/v${version}.tar.gz"
-checksum=77aca0e3660564cc2b9a7f318c5d9065d471f3c5ab0a7d1b6850a5cb6e21904f
+distfiles="https://github.com/svenstaro/miniserve/archive/refs/tags/v${version}.tar.gz"
+checksum=325f6cde391c468000b1bdcc8455ec2c6950b3c930029187671c536507b185ba
 make_check=ci-skip  # port binding succeeds locally but fails in CI
 
 case "$XBPS_TARGET_MACHINE" in
@@ -19,5 +20,14 @@ case "$XBPS_TARGET_MACHINE" in
 esac
 
 post_install() {
+	MINISERVE="${DESTDIR}/usr/bin/miniserve"
+	for shell in bash fish zsh; do
+		vtargetrun ${MINISERVE} --print-completions ${shell} > miniserve.${shell}
+		vcompletion miniserve.${shell} ${shell}
+	done
+
+	vtargetrun ${MINISERVE} --print-manpage > miniserve.1
+	vman miniserve.1
+
 	vlicense LICENSE
 }

             reply	other threads:[~2022-09-26 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 20:46 tranzystorek-io [this message]
2022-09-26 22:42 ` [PR PATCH] [Merged]: " classabbyamp

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39484@inbox.vuxu.org \
    --to=tranzystorek-io@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).