From: ishaanbhimwal <ishaanbhimwal@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] yq: update to 3.0.1 and adopt
Date: Tue, 05 Jul 2022 21:01:35 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37876@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1355 bytes --]
There is a new pull request by ishaanbhimwal against master on the void-packages repository
https://github.com/ishaanbhimwal/void-packages yq
https://github.com/void-linux/void-packages/pull/37876
yq: update to 3.0.1 and adopt
<!-- 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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- 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, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
Note - `fix-test-on-ci.patch` is no longer needed as https://github.com/kislyuk/yq/issues/114
was fixed.
A patch file from https://github.com/void-linux/void-packages/pull/37876.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yq-37876.patch --]
[-- Type: text/x-diff, Size: 2300 bytes --]
From 9f39b11b20d02dcb103a9bddf69f3e94d19175c8 Mon Sep 17 00:00:00 2001
From: Ishaan Bhimwal <ishaanbhimwal@protonmail.com>
Date: Wed, 6 Jul 2022 00:26:22 +0530
Subject: [PATCH] yq: update to 3.0.1 and adopt
---
srcpkgs/yq/patches/fix-test-on-ci.patch | 15 ---------------
srcpkgs/yq/template | 10 +++++-----
2 files changed, 5 insertions(+), 20 deletions(-)
delete mode 100644 srcpkgs/yq/patches/fix-test-on-ci.patch
diff --git a/srcpkgs/yq/patches/fix-test-on-ci.patch b/srcpkgs/yq/patches/fix-test-on-ci.patch
deleted file mode 100644
index 3ae4d675426d..000000000000
--- a/srcpkgs/yq/patches/fix-test-on-ci.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://github.com/kislyuk/yq/issues/114
-
-diff --git a/test/test.py b/test/test.py
-index f25dced..ffa7147 100755
---- a/test/test.py
-+++ b/test/test.py
-@@ -77,7 +77,7 @@ class TestYq(unittest.TestCase):
- unusable_tty_input = mock.Mock()
- unusable_tty_input.isatty = mock.Mock(return_value=True)
-
-- self.run_yq("{}", [], expect_exit_codes={0} if sys.stdin.isatty() else {2})
-+ self.run_yq("{}", [], expect_exit_codes={0})
- self.run_yq("{}", ["."])
- self.run_yq(unusable_non_tty_input, [".", test_doc])
- self.run_yq(unusable_non_tty_input, [".", test_doc, test_doc])
diff --git a/srcpkgs/yq/template b/srcpkgs/yq/template
index a57cdf99617b..b775674672ac 100644
--- a/srcpkgs/yq/template
+++ b/srcpkgs/yq/template
@@ -1,18 +1,18 @@
# Template file for 'yq'
pkgname=yq
-version=2.12.2
-revision=2
+version=3.0.1
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm"
makedepends="python3-yaml"
depends="${makedepends} python3-xmltodict python3-toml python3-argcomplete jq"
checkdepends="${depends}"
short_desc="Command-line YAML processor written in Python that wraps around jq"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Ishaan Bhimwal <ishaanbhimwal@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/kislyuk/yq"
distfiles="${PYPI_SITE}/y/yq/yq-${version}.tar.gz"
-checksum=2f156d0724b61487ac8752ed4eaa702a5737b804d5afa46fa55866951cd106d2
+checksum=a5e61078facd7ee4222f4346b5b50c4e9cea5e9d3330f074b5ea2c203bf639b1
do_check() {
python3 test/test.py
next reply other threads:[~2022-07-05 19:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-05 19:01 ishaanbhimwal [this message]
2022-07-06 14:39 ` [PR PATCH] [Merged]: " classabbyamp
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37876@inbox.vuxu.org \
--to=ishaanbhimwal@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).