Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ripgrep: update to 14.0.0
@ 2023-11-26 20:08 tranzystorekk
  2023-11-26 20:21 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: tranzystorekk @ 2023-11-26 20:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages ripgrep
https://github.com/void-linux/void-packages/pull/47420

ripgrep: update to 14.0.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @leahneukirchen

<!--
#### 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/47420.patch is attached

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

From a2c96aba55586f669324145801df0d6cdc4ed08b Mon Sep 17 00:00:00 2001
From: Marcin Puc <tranzystorek.io@protonmail.com>
Date: Sun, 26 Nov 2023 21:07:06 +0100
Subject: [PATCH] ripgrep: update to 14.0.0

---
 srcpkgs/ripgrep/template | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/ripgrep/template b/srcpkgs/ripgrep/template
index ba4a48a42fb61..cca713bf06114 100644
--- a/srcpkgs/ripgrep/template
+++ b/srcpkgs/ripgrep/template
@@ -1,25 +1,31 @@
 # Template file for 'ripgrep'
 pkgname=ripgrep
-version=13.0.0
-revision=2
+version=14.0.0
+revision=1
 build_style=cargo
+build_helper=qemu
 configure_args="--features=pcre2"
-hostmakedepends="ruby-asciidoctor pkg-config"
+hostmakedepends="pkg-config"
 makedepends="pcre2-devel"
 short_desc="Fast search tool inspired by ag and grep"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="Unlicense, MIT"
 homepage="https://github.com/BurntSushi/ripgrep/"
-distfiles="https://github.com/BurntSushi/${pkgname}/archive/${version}.tar.gz"
-checksum=0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2
+changelog="https://raw.githubusercontent.com/BurntSushi/ripgrep/master/CHANGELOG.md"
+distfiles="https://github.com/BurntSushi/ripgrep/archive/refs/tags/${version}.tar.gz"
+checksum=d4a57f558abe30bb272850d08850d412870fb3f942ed06932a30b4989911360b
 
 post_install() {
 	vlicense LICENSE-MIT
 	vlicense UNLICENSE
 
-	vinstall complete/_rg 0644 usr/share/zsh/site-functions
-	cd "target/${RUST_TARGET}/release/build/ripgrep-"*/out
+	local _rg=${DESTDIR}/usr/bin/rg
+
+	vtargetrun ${_rg} --generate man > rg.1
 	vman rg.1
-	vinstall rg.bash 0644 usr/share/bash-completion/completions rg
-	vinstall rg.fish 0644 usr/share/fish/vendor_completions.d
+
+	for _shell in bash fish zsh; do
+		vtargetrun ${_rg} --generate complete-${_shell} > rg.${_shell}
+		vcompletion rg.${_shell} ${_shell} rg
+	done
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: ripgrep: update to 14.0.0
  2023-11-26 20:08 [PR PATCH] ripgrep: update to 14.0.0 tranzystorekk
@ 2023-11-26 20:21 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2023-11-26 20:21 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

ripgrep: update to 14.0.0
https://github.com/void-linux/void-packages/pull/47420

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

cc @leahneukirchen

<!--
#### 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:[~2023-11-26 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-26 20:08 [PR PATCH] ripgrep: update to 14.0.0 tranzystorekk
2023-11-26 20:21 ` [PR PATCH] [Merged]: " leahneukirchen

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).