git: 343e1d991563 - main - sysutils/nut-devel: Update to the latest networkupstools/nut github commit

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 02 Aug 2022 22:39:59 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=343e1d99156319626f24bb97d37a5c8455ee568d

commit 343e1d99156319626f24bb97d37a5c8455ee568d
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-08-02 22:39:13 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-08-02 22:39:27 +0000

    sysutils/nut-devel: Update to the latest networkupstools/nut github commit
---
 sysutils/nut-devel/Makefile  | 9 ++++++---
 sysutils/nut-devel/distinfo  | 6 +++---
 sysutils/nut-devel/pkg-plist | 2 ++
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/sysutils/nut-devel/Makefile b/sysutils/nut-devel/Makefile
index dea4b2605394..40ba7db3c4d4 100644
--- a/sysutils/nut-devel/Makefile
+++ b/sysutils/nut-devel/Makefile
@@ -17,12 +17,12 @@ CONFLICTS=	nut-[0-9]*
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	networkupstools
-GH_TAGNAME=	4143afd43
-NUT_COMMIT_DATE=	2022.07.18
+GH_TAGNAME=	4e3d0ecce
+NUT_COMMIT_DATE=	2022.08.01
 
 MAKE_JOBS_UNSAFE=	yes
 GNU_CONFIGURE=	yes
-USES=		autoreconf:build compiler:c11 gmake libtool pkgconfig python:build
+USES=		autoreconf:build compiler:c11 gmake libtool pkgconfig python
 USE_LDCONFIG=	yes
 
 NUT_USER?=	uucp
@@ -71,6 +71,9 @@ CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/nut \
 		--with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig \
 		--with-user=${NUT_USER} \
 		--with-group=${NUT_GROUP} \
+		--with-python=${PYTHON_CMD} \
+		--without-python2 \
+		--with-python3=${PYTHON_CMD} \
 		--with-dev
 
 CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
diff --git a/sysutils/nut-devel/distinfo b/sysutils/nut-devel/distinfo
index 9b4872e57e37..c946e80d2a4e 100644
--- a/sysutils/nut-devel/distinfo
+++ b/sysutils/nut-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658155219
-SHA256 (networkupstools-nut-2022.07.18-4143afd43_GH0.tar.gz) = 136c3bde83552f58fbc66a624e14bfd28f4cb4cbda3f94de9abc2eb19b3d1f2d
-SIZE (networkupstools-nut-2022.07.18-4143afd43_GH0.tar.gz) = 3348297
+TIMESTAMP = 1659477009
+SHA256 (networkupstools-nut-2022.08.01-4e3d0ecce_GH0.tar.gz) = c9ae3156e5130de82772cd3cdc43a8ea466bead19452b761246531576c93b923
+SIZE (networkupstools-nut-2022.08.01-4e3d0ecce_GH0.tar.gz) = 3499781
diff --git a/sysutils/nut-devel/pkg-plist b/sysutils/nut-devel/pkg-plist
index 51fabcb8782c..66f4d6398ca9 100644
--- a/sysutils/nut-devel/pkg-plist
+++ b/sysutils/nut-devel/pkg-plist
@@ -52,6 +52,8 @@ lib/libnutscan.a
 lib/libnutscan.so
 lib/libnutscan.so.2
 lib/libnutscan.so.2.0.0
+%%PYTHON_SITELIBDIR%%/PyNUT.py
+%%PYTHON_SITELIBDIR%%/test_nutclient.py
 libdata/pkgconfig/libnutclient.pc
 libdata/pkgconfig/libnutscan.pc
 libdata/pkgconfig/libupsclient.pc