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

* Re: [PR PATCH] [Updated] New package: handlr-regex-0.10.1
  2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
@ 2024-07-05 12:37 ` tranzystorekk
  2024-07-05 14:41 ` nilium
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 12:37 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 2920 bytes --]

From 392f9328b9e5d233f2ac042ad437caf72bc2c9a5 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 | 33 +++++++++++++++++++++++++++++++++
 srcpkgs/handlr/template       | 25 -------------------------
 3 files changed, 34 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..669d6e705d812c
--- /dev/null
+++ b/srcpkgs/handlr-regex/template
@@ -0,0 +1,33 @@
+# Template file for 'handlr-regex'
+pkgname=handlr-regex
+version=0.10.1
+revision=1
+build_style=cargo
+make_install_args="--path handlr-regex"
+depends="shared-mime-info"
+checkdepends="shared-mime-info"
+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

* Re: New package: handlr-regex-0.10.1
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nilium @ 2024-07-05 14:41 UTC (permalink / raw)
  To: ml

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

New comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/51117#issuecomment-2210999677

Comment:
Feels like you would want this to be an alternative instead of replacing handlr since they operate differently.

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

* Re: New package: handlr-regex-0.10.1
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 14:47 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/51117#issuecomment-2211008371

Comment:
Hm, I'm not sure I understand how they operate differently enough to require alternatives? The general CLI API seems mostly compatible between the two, the biggest difference being the nomen-omen regex support.

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

* Re: New package: handlr-regex-0.10.1
  2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
                   ` (2 preceding siblings ...)
  2024-07-05 14:47 ` tranzystorekk
@ 2024-07-05 15:27 ` nilium
  2024-07-05 15:49 ` tranzystorekk
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: nilium @ 2024-07-05 15:27 UTC (permalink / raw)
  To: ml

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

New comment by nilium on void-packages repository

https://github.com/void-linux/void-packages/pull/51117#issuecomment-2211067395

Comment:
That would be a pretty significant difference between the two that might make them incompatible over time, especially if @chmln makes any new changes. Hence using alternatives, if you want this fork and its maintainer, @Anomalocaridid, insists on using the name `handlr` for their binary instead of choosing a new name, it seems best to do this as an alternative instead of replacing a tool that already does what it intends to do.

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

* Re: [PR PATCH] [Closed]: New package: handlr-regex-0.10.1
  2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
                   ` (4 preceding siblings ...)
  2024-07-05 15:49 ` tranzystorekk
@ 2024-07-05 15:49 ` tranzystorekk
  2024-07-05 15:53 ` tranzystorekk
  6 siblings, 0 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 15:49 UTC (permalink / raw)
  To: ml

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

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

New package: handlr-regex-0.10.1
https://github.com/void-linux/void-packages/pull/51117

Description:
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
-->


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

* Re: New package: handlr-regex-0.10.1
  2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
                   ` (3 preceding siblings ...)
  2024-07-05 15:27 ` nilium
@ 2024-07-05 15:49 ` tranzystorekk
  2024-07-05 15:49 ` [PR PATCH] [Closed]: " tranzystorekk
  2024-07-05 15:53 ` tranzystorekk
  6 siblings, 0 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 15:49 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/51117#issuecomment-2211098324

Comment:
Took a more detailed look at the fork's history, there are a few notable bugfixes and improvements ported from the upstream, but seemingly no original contributions from the fork's author, so in the end probably not worth the effort of replacing here.

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

* Re: New package: handlr-regex-0.10.1
  2024-07-05 12:23 [PR PATCH] New package: handlr-regex-0.10.1 tranzystorekk
                   ` (5 preceding siblings ...)
  2024-07-05 15:49 ` [PR PATCH] [Closed]: " tranzystorekk
@ 2024-07-05 15:53 ` tranzystorekk
  6 siblings, 0 replies; 8+ messages in thread
From: tranzystorekk @ 2024-07-05 15:53 UTC (permalink / raw)
  To: ml

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

New comment by tranzystorekk on void-packages repository

https://github.com/void-linux/void-packages/pull/51117#issuecomment-2211098324

Comment:
Took a more detailed look at the fork's history, there are a few notable bugfixes and improvements ported from the upstream, but seemingly no exceptionally original contributions from the fork's author, so in the end probably not worth the effort of replacing here.

^ 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 ` tranzystorekk
2024-07-05 15:49 ` [PR PATCH] [Closed]: " 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).