void-packages/srcpkgs/yq/template

22 lines
632 B
Bash

# Template file for 'yq'
pkgname=yq
version=2.5.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"
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=e9fd2aa32defcd051058e3b6f665873282aa4eed19e11b1db94fe70847535d4c
conflicts="xtools>=0" # /usr/bin/xq
do_check() {
python3 test/test.py
}