* [PR PATCH] miniserve: update to 0.22.0, add manpage, completions
@ 2022-09-26 20:46 tranzystorek-io
2022-09-26 22:42 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: tranzystorek-io @ 2022-09-26 20:46 UTC (permalink / raw)
To: ml
[-- 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
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: miniserve: update to 0.22.0, add manpage, completions
2022-09-26 20:46 [PR PATCH] miniserve: update to 0.22.0, add manpage, completions tranzystorek-io
@ 2022-09-26 22:42 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-09-26 22:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]
There's a merged pull request on the void-packages repository
miniserve: update to 0.22.0, add manpage, completions
https://github.com/void-linux/void-packages/pull/39484
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-26 22:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 20:46 [PR PATCH] miniserve: update to 0.22.0, add manpage, completions tranzystorek-io
2022-09-26 22:42 ` [PR PATCH] [Merged]: " classabbyamp
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).