PORTNAME= pynput DISTVERSIONPREFIX= v DISTVERSION= 1.7.7 CATEGORIES= x11 #MASTER_SITES= PYPI # no tarball on PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Send virtual input commands WWW= https://github.com/moses-palmer/pynput LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.LGPL PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}evdev>=1.3:devel/py-evdev@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-xlib>0:x11-toolkits/py-python-xlib@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.3.1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}twine>=4.0:devel/py-twine@${PY_FLAVOR} \ ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} USES= python USE_PYTHON= distutils autoplist pytest # PyTest doesn't run tests because test file names don't begin with test_, see https://github.com/moses-palmer/pynput/issues/618 USE_GITHUB= yes GH_ACCOUNT= moses-palmer NO_ARCH= yes TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} TEST_WRKSRC= ${WRKSRC}/tests .include