Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: handlr-regex-0.10.1
@ 2024-07-05 12:23 tranzystorekk
  2024-07-05 12:37 ` [PR PATCH] [Updated] " tranzystorekk
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 12:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tranzystorekk/void-packages handlr-regex
https://github.com/void-linux/void-packages/pull/51117

New package: handlr-regex-0.10.1
Closes #51072 

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

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

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

cc @nilium this PR replaces `handlr`, so let me know if you're okay with it, or if you maybe prefer it not being added, or maintaining the new fork yourself?

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

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

From deec59f9bfcad61244a85f614c8a00eed9759abe Mon Sep 17 00:00:00 2001
From: tranzystorekk <tranzystorek.io@protonmail.com>
Date: Fri, 5 Jul 2024 13:31:54 +0200
Subject: [PATCH] New package: handlr-regex-0.10.1

---
 srcpkgs/handlr                |  1 +
 srcpkgs/handlr-regex/template | 31 +++++++++++++++++++++++++++++++
 srcpkgs/handlr/template       | 25 -------------------------
 3 files changed, 32 insertions(+), 25 deletions(-)
 create mode 120000 srcpkgs/handlr
 create mode 100644 srcpkgs/handlr-regex/template
 delete mode 100644 srcpkgs/handlr/template

diff --git a/srcpkgs/handlr b/srcpkgs/handlr
new file mode 120000
index 00000000000000..6a9bf7b294ac8e
--- /dev/null
+++ b/srcpkgs/handlr
@@ -0,0 +1 @@
+handlr-regex
\ No newline at end of file
diff --git a/srcpkgs/handlr-regex/template b/srcpkgs/handlr-regex/template
new file mode 100644
index 00000000000000..f9d57ead5a4f3b
--- /dev/null
+++ b/srcpkgs/handlr-regex/template
@@ -0,0 +1,31 @@
+# Template file for 'handlr-regex'
+pkgname=handlr-regex
+version=0.10.1
+revision=1
+build_style=cargo
+make_install_args="--path handlr-regex"
+short_desc="Fork of handlr with support for regex"
+maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
+license="MIT"
+homepage="https://github.com/Anomalocaridid/handlr-regex"
+changelog="https://github.com/Anomalocaridid/handlr-regex/releases"
+distfiles="https://github.com/Anomalocaridid/handlr-regex/archive/refs/tags/v${version}.tar.gz"
+checksum=1bc96b1fa241f7f9db97b3fd99e94086d31ecb16b9bcd3057ce9d81b99fde85a
+
+post_install() {
+	vlicense LICENSE
+
+	for _manpage in assets/manual/man1/*.1; do
+		vman ${_manpage}
+	done
+
+	vcompletion assets/completions/handlr bash handlr
+	vcompletion assets/completions/handlr.fish fish handlr
+	vcompletion assets/completions/_handlr zsh handlr
+}
+
+handlr_package() {
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+	depends="${sourcepkg}>=${version}_${revision}"
+}
diff --git a/srcpkgs/handlr/template b/srcpkgs/handlr/template
deleted file mode 100644
index 8cbea310a56d89..00000000000000
--- a/srcpkgs/handlr/template
+++ /dev/null
@@ -1,25 +0,0 @@
-# Template file for 'handlr'
-pkgname=handlr
-version=0.6.4
-revision=2
-build_style=cargo
-depends="shared-mime-info"
-checkdepends="shared-mime-info"
-short_desc="Alternative to xdg-utils for ease of use"
-maintainer="Noel Cower <ncower@nil.dev>"
-license="MIT"
-homepage="https://github.com/chmln/handlr"
-distfiles="https://github.com/chmln/handlr/archive/v${version}.tar.gz"
-checksum=7aae79775a08fdeb822eb0dafe90fdedffb97063649c9a950e9a8b8e6bf8e5ba
-
-post_patch() {
-	# fixes an indexmap error when cross compiling (see #34889)
-	cargo update --package autocfg:1.0.1 --precise 1.1.0
-}
-
-post_install() {
-	vcompletion completions/_handlr zsh
-	vcompletion completions/handlr.fish fish
-
-	vlicense LICENSE
-}

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

end of thread, other threads:[~2024-07-05 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
2024-07-05 12:37 ` [PR PATCH] [Updated] " tranzystorekk
2024-07-05 14:41 ` nilium
2024-07-05 14:47 ` tranzystorekk
2024-07-05 15:27 ` nilium
2024-07-05 15:49 ` [PR PATCH] [Closed]: " tranzystorekk
2024-07-05 15:49 ` tranzystorekk
2024-07-05 15:53 ` tranzystorekk

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