yq: update to 2.7.0.

This commit is contained in:
maxice8 2018-08-04 23:20:22 -03:00
parent d53f0944a7
commit f4adaa3022

View file

@ -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 <thinkabit.ukim@gmail.com>"
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"
}