Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] yq: update to 3.0.1 and adopt
@ 2022-07-05 19:01 ishaanbhimwal
  2022-07-06 14:39 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: ishaanbhimwal @ 2022-07-05 19:01 UTC (permalink / raw)
  To: ml

[-- 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

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

* Re: [PR PATCH] [Merged]: yq: update to 3.0.1 and adopt
  2022-07-05 19:01 [PR PATCH] yq: update to 3.0.1 and adopt ishaanbhimwal
@ 2022-07-06 14:39 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-07-06 14:39 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

yq: update to 3.0.1 and adopt
https://github.com/void-linux/void-packages/pull/37876

Description:
<!-- 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.

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

end of thread, other threads:[~2022-07-06 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 19:01 [PR PATCH] yq: update to 3.0.1 and adopt ishaanbhimwal
2022-07-06 14:39 ` [PR PATCH] [Merged]: " classabbyamp

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