git: 54021a8b696e - main - deskutils/py-py3status: Add GEVENT and UDEV options

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jul 18 17:56:22 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=54021a8b696e9fb94e95154a51997bbea079f85d

commit 54021a8b696e9fb94e95154a51997bbea079f85d
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-18 17:47:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-18 17:47:14 +0000

    deskutils/py-py3status: Add GEVENT and UDEV options
---
 deskutils/py-py3status/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/deskutils/py-py3status/Makefile b/deskutils/py-py3status/Makefile
index dd03b59d58d5..3f11528182e3 100644
--- a/deskutils/py-py3status/Makefile
+++ b/deskutils/py-py3status/Makefile
@@ -17,4 +17,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	GEVENT UDEV
+GEVENT_DESC=	Gevent support
+UDEV_DESC=	UDEV support
+
+GEVENT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>=1.1:devel/py-gevent@${PY_FLAVOR}
+UDEV_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyudev>=0.21.0:devel/py-pyudev@${PY_FLAVOR}
+
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list