summaryrefslogtreecommitdiff
path: root/comms/py-streamdeck
diff options
context:
space:
mode:
Diffstat (limited to 'comms/py-streamdeck')
-rw-r--r--comms/py-streamdeck/Makefile13
-rw-r--r--comms/py-streamdeck/distinfo6
2 files changed, 9 insertions, 10 deletions
diff --git a/comms/py-streamdeck/Makefile b/comms/py-streamdeck/Makefile
index 7acbd1628054..687d4e89c3b1 100644
--- a/comms/py-streamdeck/Makefile
+++ b/comms/py-streamdeck/Makefile
@@ -1,5 +1,5 @@
PORTNAME= streamdeck
-DISTVERSION= 0.9.6
+DISTVERSION= 0.9.7
CATEGORIES= comms python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,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