Github messages for voidlinux
 help / color / mirror / Atom feed
From: ardadem <ardadem@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] yq: update to 2.12.2.
Date: Thu, 19 Aug 2021 00:36:57 +0200	[thread overview]
Message-ID: <20210818223657.r8SVlWLUC-5bXaI1gi5qEYtRRtkgrlU0prVV3DjLBWw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32508@inbox.vuxu.org>

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

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

https://github.com/ardadem/void-packages pr-yq-2.12.2
https://github.com/void-linux/void-packages/pull/32508

yq: update to 2.12.2.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [X] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/32508.patch is attached

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

From a6dcfa36ae6bab1e81f08f6fedca50eaaa63cfde Mon Sep 17 00:00:00 2001
From: Arda Demir <ddmirarda@gmail.com>
Date: Mon, 16 Aug 2021 11:14:15 +0300
Subject: [PATCH] yq: update to 2.12.2.

and cleanup dependencies.
---
 srcpkgs/yq/patches/fix-test-on-ci.patch | 15 +++++++++++++++
 srcpkgs/yq/template                     | 10 +++++-----
 2 files changed, 20 insertions(+), 5 deletions(-)
 create 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
new file mode 100644
index 000000000000..3ae4d675426d
--- /dev/null
+++ b/srcpkgs/yq/patches/fix-test-on-ci.patch
@@ -0,0 +1,15 @@
+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 2ad24598f3fd..4d959b5d4bee 100644
--- a/srcpkgs/yq/template
+++ b/srcpkgs/yq/template
@@ -1,18 +1,18 @@
 # Template file for 'yq'
 pkgname=yq
-version=2.11.1
-revision=2
+version=2.12.2
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-yaml"
-depends="python3-setuptools python3-xmltodict python3-yaml python3-toml python3-argcomplete"
-checkdepends="jq python3-xmltodict python3-toml python3-argcomplete"
+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>"
 license="Apache-2.0"
 homepage="https://github.com/kislyuk/yq"
 distfiles="${PYPI_SITE}/y/yq/yq-${version}.tar.gz"
-checksum=74f64e3784a34d8a18efd8addc83cf5ca3478a0a69517d70fd9158a3809f99e0
+checksum=2f156d0724b61487ac8752ed4eaa702a5737b804d5afa46fa55866951cd106d2
 
 do_check() {
 	python3 test/test.py

  parent reply	other threads:[~2021-08-18 22:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16  8:15 [PR PATCH] " ardadem
2021-08-16  9:33 ` [PR PATCH] [Updated] " ardadem
2021-08-18 22:19 ` [PR REVIEW] " ericonr
2021-08-18 22:36 ` ardadem [this message]
2021-08-18 22:37 ` ardadem
2021-08-19  2:45 ` [PR PATCH] [Merged]: " ericonr

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=20210818223657.r8SVlWLUC-5bXaI1gi5qEYtRRtkgrlU0prVV3DjLBWw@z \
    --to=ardadem@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).