git: 7b1694c26d63 - main - devel/tevent: Fixed packaging error with Python 3.7.

From: Timur I. Bakeyev <timur_at_FreeBSD.org>
Date: Tue, 25 Oct 2022 23:22:05 UTC
The branch main has been updated by timur:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7b1694c26d63e0dddc1ed14adcf504d5c4b8e420

commit 7b1694c26d63e0dddc1ed14adcf504d5c4b8e420
Author:     Timur I. Bakeyev <timur@FreeBSD.org>
AuthorDate: 2022-10-25 09:17:28 +0000
Commit:     Timur I. Bakeyev <timur@FreeBSD.org>
CommitDate: 2022-10-25 23:21:16 +0000

    devel/tevent: Fixed packaging error with Python 3.7.
    
    PR:             267148
---
 devel/tevent/Makefile  | 16 ++++++++--------
 devel/tevent/pkg-plist |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/devel/tevent/Makefile b/devel/tevent/Makefile
index cf7f5f3fe098..9bb73a5187ff 100644
--- a/devel/tevent/Makefile
+++ b/devel/tevent/Makefile
@@ -1,29 +1,29 @@
 PORTNAME=			tevent
 DISTVERSION=			0.13.0
-PORTREVISION=			0
+PORTREVISION=			1
 PORTEPOCH=			0
 CATEGORIES=			devel
 MASTER_SITES=			SAMBA
 
 MAINTAINER=			timur@FreeBSD.org
 COMMENT=			Talloc based event loop library
-WWW=		https://tevent.samba.org/
+WWW=				https://tevent.samba.org/
 
 LICENSE=			LGPL3
 
 BUILD_DEPENDS=			talloc>=2.3.4:devel/talloc
 RUN_DEPENDS=			talloc>=2.3.4:devel/talloc
 
-USES=				compiler pkgconfig shebangfix  waf
+USES=				compiler pkgconfig shebangfix waf
 USE_LDCONFIG=			yes
 SHEBANG_GLOB=			*.py
 WAF_CMD=			buildtools/bin/waf
 CONFIGURE_LOG=			bin/config.log
 
 PKGCONFIGDIR?=			${PREFIX}/libdata/pkgconfig
-PLIST_SUB+=			PKGCONFIGDIR=${PKGCONFIGDIR:S;^${PREFIX}/;;}
+PLIST_SUB=			PKGCONFIGDIR=${PKGCONFIGDIR:S;^${PREFIX}/;;}
 
-CONFIGURE_ARGS+=		--mandir=${MANPREFIX}/man \
+CONFIGURE_ARGS=			--mandir=${MANPREFIX}/man \
 				--disable-rpath \
 				--disable-rpath-install \
 				--bundled-libraries=!talloc,cmocka \
@@ -43,12 +43,12 @@ DEBUG_CONFIGURE_ON=		--verbose --enable-debug
 DEBUG_MAKE_ARGS=		--verbose
 
 PYTHON_USES=			gettext-runtime python:3.6+
-PYTHON_USE+=			python=py3kplist
+PYTHON_USE=			python=py3kplist
 PYTHON_USES_OFF=		python:build,test
 PYTHON_CONFIGURE_OFF=		--disable-python
 
-MANPAGES_CONFIGURE_ENV_OFF+=	XSLTPROC="true"
-MANPAGES_BUILD_DEPENDS+=	${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
+MANPAGES_CONFIGURE_ENV_OFF=	XSLTPROC="true"
+MANPAGES_BUILD_DEPENDS=		${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
 				xsltproc:textproc/libxslt
 # No fancy color error messages
 CFLAGS+=			${CFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/devel/tevent/pkg-plist b/devel/tevent/pkg-plist
index 151f5ea3ffb3..bf60cf03f8ed 100644
--- a/devel/tevent/pkg-plist
+++ b/devel/tevent/pkg-plist
@@ -1,7 +1,7 @@
 include/tevent.h
 lib/libtevent.so
 lib/libtevent.so.0
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/tevent%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/tevent.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/_tevent%%PYTHON_EXT_SUFFIX%%.so
 %%PYTHON%%%%PYTHON_SITELIBDIR%%/tevent.py
 %%PKGCONFIGDIR%%/tevent.pc