git: 35e66d517366 - main - x11/py-pynput: Fix build

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 08 Sep 2023 08:01:09 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35e66d517366fdbd992797ef1583ece5c1263c6f

commit 35e66d517366fdbd992797ef1583ece5c1263c6f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-08 08:00:40 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-08 08:01:07 +0000

    x11/py-pynput: Fix build
    
    Reported by:    fallout
---
 x11/py-pynput/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/x11/py-pynput/Makefile b/x11/py-pynput/Makefile
index 3bc63b5a8832..3016c8f8c982 100644
--- a/x11/py-pynput/Makefile
+++ b/x11/py-pynput/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pynput
 DISTVERSION=	1.7.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11
 MASTER_SITES=	PYPI # no tests on PYPI, but GitHub tarball doesn't bui;d
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,12 @@ WWW=		https://github.com/moses-palmer/pynput
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING.LGPL
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}evdev>=1.3:devel/py-evdev@${PY_FLAVOR} \
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}evdev>=1.3:devel/py-evdev@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-xlib>0:x11-toolkits/py-python-xlib@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${PY_FLAVOR} \
+		${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
 
 USES=		python
 USE_PYTHON=	distutils autoplist