setconf: update to 0.7.7.

This commit is contained in:
Duncaen 2020-07-08 13:59:39 +02:00
parent 4240f061f5
commit bd20a7930b
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,22 +1,21 @@
# Template file for 'setconf' # Template file for 'setconf'
pkgname=setconf pkgname=setconf
version=0.7.6 version=0.7.7
revision=2 revision=1
archs=noarch archs=noarch
build_style=python-module build_style=python3-module
pycompile_module="setconf.py" pycompile_module="setconf.py"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python3-setuptools"
depends="python python-setuptools" depends="python3-setuptools"
short_desc="Utility for changing settings in configuration textfiles (Python2)" short_desc="Utility for changing settings in configuration textfiles"
maintainer="Duncaen <duncaen@voidlinux.org>" maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="http://setconf.roboticoverlords.org/" homepage="http://setconf.roboticoverlords.org/"
distfiles="https://github.com/xyproto/setconf/archive/${version}.tar.gz" distfiles="https://github.com/xyproto/setconf/archive/${version}.tar.gz"
checksum=183bcabcd859fc86d57666dfd0d4befe96841ea1e664a70e89ffff4def613f4f checksum=0fac23fc484a2531e5a1fe0d30461eeb98d007f9b3aa4c1176fe70a5abe79986
alternatives=" replaces="python3-setconf>=0"
setconf:setconf:/usr/bin/setconf2 provides="python3-setconf-${version}_${revision}"
setconf:setconf.1:/usr/share/man/man1/setconf2.1"
do_check() { do_check() {
./setconf.py --test ./setconf.py --test
@ -24,20 +23,12 @@ do_check() {
} }
post_install() { post_install() {
vman setconf.1 setconf2.1 vman setconf.1
} }
python3-setconf_package() { python3-setconf_package() {
archs=noarch archs=noarch
depends="python3 python3-setuptools" build_style=meta
pycompile_module="setconf.py" short_desc+=" - transitional dummy package"
alternatives=" depends="setconf"
setconf:setconf:/usr/bin/setconf3
setconf:setconf.1:/usr/share/man/man1/setconf3.1"
short_desc="${short_desc/2/3}"
pkg_install() {
vmove usr/bin/setconf3
vmove usr/lib/python3*
vman setconf.1 setconf3.1
}
} }