mirror of https://git.FreeBSD.org/ports.git
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
This commit is contained in:
parent
5e97ec42fa
commit
c34f0cf60c
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue