Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: hurl-2.0.0
@ 2023-01-29  6:25 icp1994
  2023-01-29  7:03 ` [PR PATCH] [Updated] " icp1994
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: icp1994 @ 2023-01-29  6:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages hurl
https://github.com/void-linux/void-packages/pull/41927

New package: hurl-2.0.0
#### Description
[Hurl](https://hurl.dev) is a CLI tool that runs HTTP requests defined in a simple plain text format. It can chain requests, capture values and evaluate queries on headers and body response. It can be used for both fetching data and testing HTTP sessions.

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

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

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

From 209027f8e35c59cd26124b4ac4fa7f6aa4383221 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 8 Sep 2022 10:33:00 +0530
Subject: [PATCH] New package: hurl-2.0.0

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

diff --git a/srcpkgs/hurl/template b/srcpkgs/hurl/template
new file mode 100644
index 000000000000..b6fb1ead389b
--- /dev/null
+++ b/srcpkgs/hurl/template
@@ -0,0 +1,28 @@
+# Template file for 'hurl'
+pkgname=hurl
+version=2.0.0
+revision=1
+build_style=cargo
+make_check_args="-- --skip=runner::hurl_file::run"
+hostmakedepends="pkg-config"
+makedepends="openssl-devel libcurl-devel libxml2-devel"
+short_desc="CLI to run HTTP requests defined in a simple plain text format"
+maintainer="icp <pangolin@vivaldi.net>"
+license="Apache-2.0"
+homepage="https://hurl.dev"
+changelog="https://raw.githubusercontent.com/Orange-OpenSource/hurl/master/CHANGELOG.md"
+distfiles="https://github.com/Orange-OpenSource/hurl/archive/refs/tags/${version}.tar.gz"
+checksum=19ba495db8eda29f6611ab277a4ca489d2fc203ba92c0da3d32812a8acf566b1
+
+pre_check() {
+	# needs a local server to be set up as prerequisite
+	rm -f packages/hurl/tests/libcurl.rs
+}
+
+do_install() {
+	vbin target/${RUST_TARGET}/release/hurl
+	vbin target/${RUST_TARGET}/release/hurlfmt
+
+	vman docs/manual/hurl.1
+	vman docs/manual/hurlfmt.1
+}

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

end of thread, other threads:[~2023-06-24 13:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-29  6:25 [PR PATCH] New package: hurl-2.0.0 icp1994
2023-01-29  7:03 ` [PR PATCH] [Updated] " icp1994
2023-02-02  9:44 ` icp1994
2023-05-04  1:51 ` New package: hurl-2.0.1 github-actions
2023-05-05  6:12 ` [PR PATCH] [Updated] " icp1994
2023-06-24 13:49 ` [PR PATCH] [Merged]: New package: hurl-3.0.0 Duncaen

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