24 lines
751 B
Bash
24 lines
751 B
Bash
# Template file for 'yq'
|
|
pkgname=yq
|
|
version=3.4.3
|
|
revision=1
|
|
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 <orphan@voidlinux.org>"
|
|
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=ba586a1a6f30cf705b2f92206712df2281cd320280210e7b7b80adcb8f256e3b
|
|
|
|
do_check() {
|
|
python3 test/test.py
|
|
}
|
|
|
|
post_install() {
|
|
mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq"
|
|
}
|