Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: xq-1.2.4
@ 2024-04-18  7:50 realcharmer
  2024-04-18  7:51 ` realcharmer
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: realcharmer @ 2024-04-18  7:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/realcharmer/void-packages xq
https://github.com/void-linux/void-packages/pull/49892

New package: xq-1.2.4
XQ is a parser for XML and HTML similar to what JQ does for JSON.

https://github.com/sibprogrammer/xq

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49892.patch is attached

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

From d9b52155e6d2e84861d1d4e8256c0d4582cf3488 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 18 Apr 2024 09:48:45 +0200
Subject: [PATCH] New package: xq-1.2.4

---
 srcpkgs/xq/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/xq/template

diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
new file mode 100644
index 00000000000000..60ce890b014c78
--- /dev/null
+++ b/srcpkgs/xq/template
@@ -0,0 +1,16 @@
+# Template file for 'xq'
+pkgname=xq
+version=1.2.4
+revision=1
+build_style=go
+go_import_path=github.com/sibprogrammer/xq
+short_desc="Command-line XML and HTML beautifier and content extractor"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/sibprogrammer/xq"
+distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
+checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
@ 2024-04-18  7:51 ` realcharmer
  2024-05-09 11:11 ` AnInternetTroll
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-04-18  7:51 UTC (permalink / raw)
  To: ml

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

New comment by realcharmer on void-packages repository

https://github.com/void-linux/void-packages/pull/49892#issuecomment-2063245348

Comment:
There might be an issue with conflicting binary name with `xq` from `xtools`.

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

* Re: New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
  2024-04-18  7:51 ` realcharmer
@ 2024-05-09 11:11 ` AnInternetTroll
  2024-05-09 12:23 ` [PR PATCH] [Updated] " realcharmer
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: AnInternetTroll @ 2024-05-09 11:11 UTC (permalink / raw)
  To: ml

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

New comment by AnInternetTroll on void-packages repository

https://github.com/void-linux/void-packages/pull/49892#issuecomment-2102461382

Comment:
Tested on x86\_64-glibc and works as expected
Tried getting the RSS feed of a youtube channel and it works

`curl -L 'https://www.youtube.com/@billiam/videos' | xq-go -m -q "link[title=RSS]" -a href`

Made some small adjustments locally as well as to not conflict to
anything for me, though I'm not sure what the correct course of action
is in this scenario
```diff
diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
index 60ce890b014..be2c7faf460 100644
--- a/srcpkgs/xq/template
+++ b/srcpkgs/xq/template
@@ -11,6 +11,12 @@ homepage="https://github.com/sibprogrammer/xq"
 distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
 checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
 
+do_check() {
+	go test -covermode=atomic -v ./...
+}
+
 post_install() {
+	mv "$DESTDIR/usr/bin/"{xq,xq-go}
+	vman docs/xq.man xq-go.1
 	vlicense LICENSE
 }
```


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

* Re: [PR PATCH] [Updated] New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
  2024-04-18  7:51 ` realcharmer
  2024-05-09 11:11 ` AnInternetTroll
@ 2024-05-09 12:23 ` realcharmer
  2024-05-09 12:26 ` realcharmer
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-05-09 12:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/realcharmer/void-packages xq
https://github.com/void-linux/void-packages/pull/49892

New package: xq-1.2.4
XQ is a parser for XML and HTML similar to what JQ does for JSON.

https://github.com/sibprogrammer/xq

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49892.patch is attached

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

From 437c9e8c4f931515d7cfd8c00e743d76c3810d03 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 9 May 2024 10:28:27 +0200
Subject: [PATCH 1/2] chirp: update to 20240504

---
 srcpkgs/chirp/template | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/chirp/template b/srcpkgs/chirp/template
index a6a21589c7aed9..5b11dc2d31ba55 100644
--- a/srcpkgs/chirp/template
+++ b/srcpkgs/chirp/template
@@ -1,14 +1,13 @@
 # Template file for 'chirp'
 pkgname=chirp
-version=20230911
-revision=3
+version=20240504
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
-depends="python3-six wxPython python3-pyserial python3-future python3-requests
- python3-suds python3-yattag"
+depends="wxPython python3-pyserial python3-requests python3-suds python3-yattag"
 short_desc="Open-source tool for programming amateur radios"
 maintainer="Emil Miler <em@0x45.cz>"
 license="GPL-3.0-or-later"
 homepage="https://chirp.danplanet.com/projects/chirp/wiki/Home"
 distfiles="https://trac.chirp.danplanet.com/chirp_next/next-${version}/chirp-${version}.tar.gz"
-checksum=948cfd8972626d9311ff4c1f3227d7965709462af2af38e5e7fd47cb7e79c36c
+checksum=a2cca594e68cce0b7b07cc806e724a3d43448c34f411581589fd11b05f715713

From 4f66f28f112c5a419e8f43aef8e6aa536caa344e Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 18 Apr 2024 09:48:45 +0200
Subject: [PATCH 2/2] New package: xq-1.2.4

---
 srcpkgs/xq/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/xq/template

diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
new file mode 100644
index 00000000000000..be2c7faf460d2f
--- /dev/null
+++ b/srcpkgs/xq/template
@@ -0,0 +1,22 @@
+# Template file for 'xq'
+pkgname=xq
+version=1.2.4
+revision=1
+build_style=go
+go_import_path=github.com/sibprogrammer/xq
+short_desc="Command-line XML and HTML beautifier and content extractor"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/sibprogrammer/xq"
+distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
+checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
+
+do_check() {
+	go test -covermode=atomic -v ./...
+}
+
+post_install() {
+	mv "$DESTDIR/usr/bin/"{xq,xq-go}
+	vman docs/xq.man xq-go.1
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
                   ` (2 preceding siblings ...)
  2024-05-09 12:23 ` [PR PATCH] [Updated] " realcharmer
@ 2024-05-09 12:26 ` realcharmer
  2024-05-09 12:26 ` realcharmer
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-05-09 12:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/realcharmer/void-packages xq
https://github.com/void-linux/void-packages/pull/49892

New package: xq-1.2.4
XQ is a parser for XML and HTML similar to what JQ does for JSON.

https://github.com/sibprogrammer/xq

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49892.patch is attached

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

From 437c9e8c4f931515d7cfd8c00e743d76c3810d03 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 9 May 2024 10:28:27 +0200
Subject: [PATCH 1/2] chirp: update to 20240504

---
 srcpkgs/chirp/template | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/chirp/template b/srcpkgs/chirp/template
index a6a21589c7aed9..5b11dc2d31ba55 100644
--- a/srcpkgs/chirp/template
+++ b/srcpkgs/chirp/template
@@ -1,14 +1,13 @@
 # Template file for 'chirp'
 pkgname=chirp
-version=20230911
-revision=3
+version=20240504
+revision=1
 build_style=python3-pep517
 hostmakedepends="python3-setuptools python3-wheel"
-depends="python3-six wxPython python3-pyserial python3-future python3-requests
- python3-suds python3-yattag"
+depends="wxPython python3-pyserial python3-requests python3-suds python3-yattag"
 short_desc="Open-source tool for programming amateur radios"
 maintainer="Emil Miler <em@0x45.cz>"
 license="GPL-3.0-or-later"
 homepage="https://chirp.danplanet.com/projects/chirp/wiki/Home"
 distfiles="https://trac.chirp.danplanet.com/chirp_next/next-${version}/chirp-${version}.tar.gz"
-checksum=948cfd8972626d9311ff4c1f3227d7965709462af2af38e5e7fd47cb7e79c36c
+checksum=a2cca594e68cce0b7b07cc806e724a3d43448c34f411581589fd11b05f715713

From 7de19f117d9b346197900e0deabd781733c77499 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 9 May 2024 14:25:57 +0200
Subject: [PATCH 2/2] New package: xq-1.2.4

---
 srcpkgs/xq/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/xq/template

diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
new file mode 100644
index 00000000000000..c812865ca90728
--- /dev/null
+++ b/srcpkgs/xq/template
@@ -0,0 +1,23 @@
+# Template file for 'xq'
+pkgname=xq
+version=1.2.4
+revision=1
+build_style=go
+go_import_path=github.com/sibprogrammer/xq
+short_desc="Command-line XML and HTML beautifier and content extractor"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/sibprogrammer/xq"
+distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
+checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
+
+do_check() {
+	go test -covermode=atomic -v ./...
+}
+
+post_install() {
+	mv "$DESTDIR/usr/bin/"{xq,xq-go}
+	vman docs/xq.man xq-go.1
+	vlicense LICENSE
+}
+

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

* Re: [PR PATCH] [Updated] New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
                   ` (3 preceding siblings ...)
  2024-05-09 12:26 ` realcharmer
@ 2024-05-09 12:26 ` realcharmer
  2024-05-09 12:30 ` realcharmer
  2024-05-09 12:31 ` realcharmer
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-05-09 12:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/realcharmer/void-packages xq
https://github.com/void-linux/void-packages/pull/49892

New package: xq-1.2.4
XQ is a parser for XML and HTML similar to what JQ does for JSON.

https://github.com/sibprogrammer/xq

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49892.patch is attached

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

From 7159dd656817c1f26f64d635d87d10e3d94b0a04 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 9 May 2024 14:25:57 +0200
Subject: [PATCH] New package: xq-1.2.4

---
 srcpkgs/xq/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/xq/template

diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
new file mode 100644
index 00000000000000..c812865ca90728
--- /dev/null
+++ b/srcpkgs/xq/template
@@ -0,0 +1,23 @@
+# Template file for 'xq'
+pkgname=xq
+version=1.2.4
+revision=1
+build_style=go
+go_import_path=github.com/sibprogrammer/xq
+short_desc="Command-line XML and HTML beautifier and content extractor"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/sibprogrammer/xq"
+distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
+checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
+
+do_check() {
+	go test -covermode=atomic -v ./...
+}
+
+post_install() {
+	mv "$DESTDIR/usr/bin/"{xq,xq-go}
+	vman docs/xq.man xq-go.1
+	vlicense LICENSE
+}
+

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

* Re: [PR PATCH] [Updated] New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
                   ` (4 preceding siblings ...)
  2024-05-09 12:26 ` realcharmer
@ 2024-05-09 12:30 ` realcharmer
  2024-05-09 12:31 ` realcharmer
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-05-09 12:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/realcharmer/void-packages xq
https://github.com/void-linux/void-packages/pull/49892

New package: xq-1.2.4
XQ is a parser for XML and HTML similar to what JQ does for JSON.

https://github.com/sibprogrammer/xq

#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

A patch file from https://github.com/void-linux/void-packages/pull/49892.patch is attached

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

From 356d94e102f3fb542da748101fcefee48e4da846 Mon Sep 17 00:00:00 2001
From: Emil Miler <em@0x45.cz>
Date: Thu, 9 May 2024 14:25:57 +0200
Subject: [PATCH] New package: xq-1.2.4

---
 srcpkgs/xq/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/xq/template

diff --git a/srcpkgs/xq/template b/srcpkgs/xq/template
new file mode 100644
index 00000000000000..be2c7faf460d2f
--- /dev/null
+++ b/srcpkgs/xq/template
@@ -0,0 +1,22 @@
+# Template file for 'xq'
+pkgname=xq
+version=1.2.4
+revision=1
+build_style=go
+go_import_path=github.com/sibprogrammer/xq
+short_desc="Command-line XML and HTML beautifier and content extractor"
+maintainer="Emil Miler <em@0x45.cz>"
+license="MIT"
+homepage="https://github.com/sibprogrammer/xq"
+distfiles="https://github.com/sibprogrammer/xq/archive/refs/tags/v${version}.tar.gz"
+checksum=5044de231d2426c236618e52d3d2e59cd45b008e55d5dfa8df97c3269c64354d
+
+do_check() {
+	go test -covermode=atomic -v ./...
+}
+
+post_install() {
+	mv "$DESTDIR/usr/bin/"{xq,xq-go}
+	vman docs/xq.man xq-go.1
+	vlicense LICENSE
+}

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

* Re: New package: xq-1.2.4
  2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
                   ` (5 preceding siblings ...)
  2024-05-09 12:30 ` realcharmer
@ 2024-05-09 12:31 ` realcharmer
  6 siblings, 0 replies; 8+ messages in thread
From: realcharmer @ 2024-05-09 12:31 UTC (permalink / raw)
  To: ml

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

New comment by realcharmer on void-packages repository

https://github.com/void-linux/void-packages/pull/49892#issuecomment-2102573461

Comment:
@AnInternetTroll thanks for the patch, I've added your changes. Although I still don't fancy renaming the binary, as it will definitely cause compatibility issues with existing scripts. Least we could do is to print a notification about this fact during installation, but I'd prefer keeping the original binary name if possible.

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

end of thread, other threads:[~2024-05-09 12:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18  7:50 [PR PATCH] New package: xq-1.2.4 realcharmer
2024-04-18  7:51 ` realcharmer
2024-05-09 11:11 ` AnInternetTroll
2024-05-09 12:23 ` [PR PATCH] [Updated] " realcharmer
2024-05-09 12:26 ` realcharmer
2024-05-09 12:26 ` realcharmer
2024-05-09 12:30 ` realcharmer
2024-05-09 12:31 ` realcharmer

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