24 lines
737 B
Bash
24 lines
737 B
Bash
# Template file for 'yq'
|
|
pkgname=yq
|
|
version=3.2.2
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm"
|
|
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=8dbb7a0c937ddbfc3dd175e6478f40960c140d3e8b1f1a0315de76384d66650a
|
|
|
|
do_check() {
|
|
python3 test/test.py
|
|
}
|
|
|
|
post_install() {
|
|
mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq"
|
|
}
|