Github messages for voidlinux
 help / color / mirror / Atom feed
From: tranzystorek-io <tranzystorek-io@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] intermodal: update to 0.1.13
Date: Thu, 31 Aug 2023 13:06:35 +0200	[thread overview]
Message-ID: <20230831110635.AxBgJk-0L6i_9gtgLzjQxM0GrQQRFTnoNjG56rvP5yE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45843@inbox.vuxu.org>

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

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

https://github.com/tranzystorek-io/void-packages intermodal
https://github.com/void-linux/void-packages/pull/45843

intermodal: update to 0.1.13
<!-- 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/45843.patch is attached

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

From a7327204aa163b3d2df8b86eb09521f002c78ba7 Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Thu, 31 Aug 2023 12:51:17 +0200
Subject: [PATCH] intermodal: update to 0.1.13

---
 srcpkgs/intermodal/template | 59 ++++++++++++-------------------------
 1 file changed, 19 insertions(+), 40 deletions(-)

diff --git a/srcpkgs/intermodal/template b/srcpkgs/intermodal/template
index c91be83b9171d..46166241c1506 100644
--- a/srcpkgs/intermodal/template
+++ b/srcpkgs/intermodal/template
@@ -1,53 +1,32 @@
 # Template file for 'intermodal'
 pkgname=intermodal
-version=0.1.12
-revision=2
+version=0.1.13
+revision=1
 build_style=cargo
 make_check_args="-- --skip subcommand::torrent::verify::tests::output_multiple
- --skip subcommand::torrent::verify::tests::output_color"
+ --skip subcommand::torrent::verify::tests::output_color
+ --skip tracker::client::tests::client_announce_ipv6
+ --skip tracker::client::tests::client_connect_v6"
 short_desc="User-friendly and featureful command-line BitTorrent metainfo utility"
 maintainer="Pika <pika@lasagna.dev>"
 license="CC0-1.0"
 homepage="https://github.com/casey/intermodal"
-distfiles="https://github.com/casey/intermodal/archive/v${version}.tar.gz"
-checksum=cd62894e519dc5aa0284a5f48aab86e1a45c3bc96b8a5481741adb6960d4751a
-
-if [ "$CROSS_BUILD" ]; then
-	hostmakedepends="${pkgname}"
-else
-	hostmakedepends="help2man pkg-config"
-	makedepends="openssl-devel"
-fi
-
-post_build() {
-	if [ -z "$CROSS_BUILD" ]; then
-		IMDL="target/${RUST_TARGET}/release/imdl"
-		for target in completion-scripts man readme; do
-			cargo run --package gen -- --bin $IMDL $target
-		done
-	fi
-}
+distfiles="https://github.com/casey/intermodal/archive/refs/tags/v${version}.tar.gz
+ https://github.com/casey/intermodal/releases/download/v${version}/imdl-v${version}-x86_64-unknown-linux-musl.tar.gz"
+checksum="e0c7bbfb7c4f260b7be1dd2862778fd42dc091ba2525480bc86574f2abe806ae
+ 95b49234140d265ac7a9de8caa821c9d110713bf687bedb8a415354ac07dcfa3"
+skip_extraction="imdl-v${version}-x86_64-unknown-linux-musl.tar.gz"
 
 post_install() {
-	if [ -z "$CROSS_BUILD" ]; then
-		vdoc target/gen/README.md
-
-		vcompletion target/gen/completions/_imdl zsh
-		vcompletion target/gen/completions/imdl.bash bash
-		vcompletion target/gen/completions/imdl.fish fish
-
-		for page in target/gen/man/*; do
-			vman $page
-		done
-	else
-		vdoc /usr/share/doc/intermodal/README.md
+	bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/imdl-v${version}-x86_64-unknown-linux-musl.tar.gz \
+		--include="completions/*" \
+		--include="man/*"
 
-		vcompletion /usr/share/zsh/site-functions/_intermodal zsh
-		vcompletion /usr/share/bash-completion/completions/intermodal bash
-		vcompletion /usr/share/fish/vendor_completions.d/intermodal.fish fish
+	vcompletion completions/imdl.bash bash imdl
+	vcompletion completions/imdl.fish fish imdl
+	vcompletion completions/_imdl zsh imdl
 
-		for page in /usr/share/man/man1/imdl*; do
-			vman $page
-		done
-	fi
+	for manpage in man/*.1; do
+		vman ${manpage}
+	done
 }

  reply	other threads:[~2023-08-31 11:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-31 10:55 [PR PATCH] " tranzystorek-io
2023-08-31 11:06 ` tranzystorek-io [this message]
2023-09-13 12:51 ` [PR PATCH] [Updated] " tranzystorek-io
2023-09-23 13:17 ` [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=20230831110635.AxBgJk-0L6i_9gtgLzjQxM0GrQQRFTnoNjG56rvP5yE@z \
    --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).