From f4adaa3022306d1168db31502ef5b7a7c91c4d84 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 4 Aug 2018 23:20:22 -0300 Subject: [PATCH] yq: update to 2.7.0. --- srcpkgs/yq/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/yq/template b/srcpkgs/yq/template index f3a58a09bec..9ee83897bf4 100644 --- a/srcpkgs/yq/template +++ b/srcpkgs/yq/template @@ -1,24 +1,24 @@ # Template file for 'yq' pkgname=yq -version=2.6.0 +version=2.7.0 revision=1 noarch=yes build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-yaml" -checkdepends="jq python3-xmltodict" -depends="jq python3-xmltodict python3-yaml" +checkdepends="jq python3-xmltodict python3-toml" +depends="jq python3-xmltodict python3-yaml python3-toml" 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=c64f763e8409ed55eb055793c26fc347b5a6666b303d49e9d2f8d7cea979df73 - -post_install() { - mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq" -} +checksum=f62de3b596056bfb26517b88c1c1775b8364cdae963e36b29ba49623e689a8db do_check() { python3 test/test.py } + +post_install() { + mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq" +}