From: tranzystorekk <tranzystorekk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ripgrep: update to 14.0.0
Date: Sun, 26 Nov 2023 21:08:55 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47420@inbox.vuxu.org> (raw)
[-- 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
}
next reply other threads:[~2023-11-26 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 20:08 tranzystorekk [this message]
2023-11-26 20:21 ` [PR PATCH] [Merged]: " leahneukirchen
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-47420@inbox.vuxu.org \
--to=tranzystorekk@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).