Added
Link Here
|
1 |
PORTNAME= streamdeck |
2 |
DISTVERSION= 0.9.5 |
3 |
CATEGORIES= comms python |
4 |
MASTER_SITES= PYPI |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
7 |
MAINTAINER= tiago.gasiba@gmail.com |
8 |
COMMENT= Python library to control the Elgato Stream Deck |
9 |
WWW= https://github.com/abcminiuser/python-elgato-streamdeck |
10 |
|
11 |
LICENSE= MIT |
12 |
LICENSE_COMB= single |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
BUILD_DEPENDS= \ |
16 |
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} |
18 |
LIB_DEPENDS= libhidapi.so:comms/hidapi |
19 |
RUN_DEPENDS= \ |
20 |
${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1:graphics/py-pillow@${PY_FLAVOR} |
21 |
|
22 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.2.1:devel/py-pytest@${PY_FLAVOR} |
23 |
|
24 |
USES= python dos2unix |
25 |
USE_PYTHON= autoplist pep517 |
26 |
|
27 |
post-patch: |
28 |
${RM} ${WRKSRC}/src/StreamDeck/Transport/LibUSBHIDAPI.py.orig |
29 |
|
30 |
TEST_WRKSRC= ${WRKSRC}/test |
31 |
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER} |
32 |
TEST_TARGET= test.py |
33 |
|
34 |
.include <bsd.port.mk> |