From d422f09ee4075fbc39e72f35f273868ade799a67 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 19 Sep 2022 21:09:56 -0400 Subject: [PATCH] duiadns: rebuild for Python 3.11 --- srcpkgs/duiadns/template | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/srcpkgs/duiadns/template b/srcpkgs/duiadns/template index f9fc5ab5e0b..8c9ad575349 100644 --- a/srcpkgs/duiadns/template +++ b/srcpkgs/duiadns/template @@ -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 " @@ -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 }