duiadns: rebuild for Python 3.11

This commit is contained in:
Andrew J. Hesford 2022-09-19 21:09:56 -04:00
parent deca81c0ab
commit d422f09ee4

View File

@ -1,9 +1,7 @@
# Template file for 'duiadns'
pkgname=duiadns
version=1.2
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
revision=3
depends="python3-netifaces python3-netaddr python3-requests"
short_desc="Python client for Duiadns dynamic DNS hosting service"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
@ -16,11 +14,12 @@ _duiadns_homedir="/var/empty"
_duiadns_descr="duiadns user"
make_dirs="/var/cache/duiadns 0755 _duiadns _duiadns"
conf_files="/etc/duiadns.conf"
# Package defines no tests
make_check=no
python_version=3
post_install() {
vlicense LICENSE.txt
do_install() {
vbin duiadns
vinstall sample.conf 0600 etc duiadns.conf
vsv duiadns
vlicense LICENSE.txt
}