d78cb0d201
some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
25 lines
725 B
Bash
25 lines
725 B
Bash
# Template file for 'yq'
|
|
pkgname=yq
|
|
version=2.7.2
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-yaml"
|
|
depends="python3-setuptools"
|
|
depends="jq python3-xmltodict python3-yaml python3-toml"
|
|
checkdepends="jq python3-xmltodict python3-toml"
|
|
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"
|
|
distfiles="${PYPI_SITE}/y/yq/yq-${version}.tar.gz"
|
|
checksum=f7dafd1e53d1f806ffe11de6da814e231d866595e2faae0dfc38135b8ee79bbb
|
|
|
|
do_check() {
|
|
python3 test/test.py
|
|
}
|
|
|
|
post_install() {
|
|
mv "${DESTDIR}/usr/bin/xq" "${DESTDIR}/usr/bin/yq-xq"
|
|
}
|