# Template file for 'yq' pkgname=yq version=3.2.3 revision=2 build_style=python3-pep517 hostmakedepends="python3-setuptools_scm python3-wheel" depends="python3-yaml python3-xmltodict python3-tomlkit python3-argcomplete jq" checkdepends="${depends}" short_desc="Command-line YAML processor written in Python that wraps around jq" maintainer="Orphaned " license="Apache-2.0" homepage="https://github.com/kislyuk/yq" changelog="https://raw.githubusercontent.com/kislyuk/yq/develop/Changes.rst" distfiles="${PYPI_SITE}/y/yq/yq-${version}.tar.gz" checksum=29c8fe1d36b4f64163f4d01314c6ae217539870f610216dee6025dfb5eafafb1 do_check() { python3 test/test.py } post_install() { mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq" }