git: c34f0cf60c15 - main - comms/py-streamdeck: Update to 0.9.7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Sep 2025 22:35:13 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c34f0cf60c1532456faff56645ae820ed5d960b4
commit c34f0cf60c1532456faff56645ae820ed5d960b4
Author: gatekeeper <tiago.gasiba@gmail.com>
AuthorDate: 2025-09-01 19:16:53 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-09-01 22:34:44 +0000
comms/py-streamdeck: Update to 0.9.7
- Use framework pytest for tests
ChangeLog:
https://github.com/abcminiuser/python-elgato-streamdeck/blob/0.9.7/CHANGELOG
PR: 289005
---
comms/py-streamdeck/Makefile | 14 ++++++--------
comms/py-streamdeck/distinfo | 6 +++---
2 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/comms/py-streamdeck/Makefile b/comms/py-streamdeck/Makefile
index 86d039258704..687d4e89c3b1 100644
--- a/comms/py-streamdeck/Makefile
+++ b/comms/py-streamdeck/Makefile
@@ -1,6 +1,5 @@
PORTNAME= streamdeck
-DISTVERSION= 0.9.6
-PORTREVISION= 1
+DISTVERSION= 0.9.7
CATEGORIES= comms python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,18 +15,17 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAV
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
LIB_DEPENDS= libhidapi.so:comms/hidapi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR}
-USES= dos2unix python
+USES= dos2unix pytest python
USE_PYTHON= autoplist pep517
+PYTEST_ARGS= test.py
+# Note: PYTEST_ARGS isn't respected if pytest is placed in USE_PYTHON section
post-patch:
${RM} ${WRKSRC}/src/StreamDeck/Transport/LibUSBHIDAPI.py.orig
-TEST_WRKSRC= ${WRKSRC}/test
-DO_MAKE_TEST= ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}
-TEST_TARGET= test.py
-
NO_ARCH= yes
+TEST_WRKSRC= ${WRKSRC}/test
+
.include <bsd.port.mk>
diff --git a/comms/py-streamdeck/distinfo b/comms/py-streamdeck/distinfo
index 3894d95d1923..f027e45edc5d 100644
--- a/comms/py-streamdeck/distinfo
+++ b/comms/py-streamdeck/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741397217
-SHA256 (streamdeck-0.9.6.tar.gz) = ec42d9b711b352ea274ad305a6eb48ece1eed3a5bffe70b928e082dce0f788f0
-SIZE (streamdeck-0.9.6.tar.gz) = 2556726
+TIMESTAMP = 1756745770
+SHA256 (streamdeck-0.9.7.tar.gz) = 8d586e66286f8ee039af0979e49026b45abe87f7f933af15a38e2387c1e3508e
+SIZE (streamdeck-0.9.7.tar.gz) = 2557584