From: realcharmer <realcharmer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: xq-1.2.4
Date: Thu, 09 May 2024 14:30:04 +0200 [thread overview]
Message-ID: <20240509123004.40638234A8@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49892@inbox.vuxu.org>
[-- 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
+}
next prev parent reply other threads:[~2024-05-09 12:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 7:50 [PR PATCH] " 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 [this message]
2024-05-09 12:31 ` realcharmer
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=20240509123004.40638234A8@inbox.vuxu.org \
--to=realcharmer@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).