yq: update to 3.0.1 and adopt
This commit is contained in:
parent
fde0939fc9
commit
ca953a8b77
|
@ -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])
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue