34 lines
848 B
Bash
34 lines
848 B
Bash
# Template file for 'setconf'
|
|
pkgname=setconf
|
|
version=0.7.7
|
|
revision=1
|
|
archs=noarch
|
|
build_style=python3-module
|
|
pycompile_module="setconf.py"
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools"
|
|
short_desc="Utility for changing settings in configuration textfiles"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="http://setconf.roboticoverlords.org/"
|
|
distfiles="https://github.com/xyproto/setconf/archive/${version}.tar.gz"
|
|
checksum=0fac23fc484a2531e5a1fe0d30461eeb98d007f9b3aa4c1176fe70a5abe79986
|
|
|
|
replaces="python3-setconf>=0"
|
|
provides="python3-setconf-${version}_${revision}"
|
|
|
|
do_check() {
|
|
./setconf.py --test
|
|
cd testcases && ./test.sh
|
|
}
|
|
|
|
post_install() {
|
|
vman setconf.1
|
|
}
|
|
|
|
python3-setconf_package() {
|
|
archs=noarch
|
|
build_style=meta
|
|
short_desc+=" - transitional dummy package"
|
|
depends="setconf"
|
|
}
|