diff --git a/srcpkgs/yq/template b/srcpkgs/yq/template new file mode 100644 index 00000000000..c216676a3cb --- /dev/null +++ b/srcpkgs/yq/template @@ -0,0 +1,20 @@ +# Template file for 'yq' +pkgname=yq +version=2.3.3 +revision=1 +noarch=yes +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-yaml" +checkdepends="jq" +depends="python3 python3-yaml jq" +short_desc="Command-line YAML processor written in Python that wraps around jq" +maintainer="maxice8 " +license="Apache-2.0" +homepage="https://github.com/kislyuk/yq" +distfiles="${PYPI_SITE}/y/yq/yq-${version}.tar.gz" +checksum=a3deeb987b514235efbdf593f3959dd7d79f41c9687dac29c3c87c62486cdc93 + +do_check() { + python3 test/test.py +}