35e66d5173
Reported by: fallout
30 lines
875 B
Makefile
30 lines
875 B
Makefile
PORTNAME= pynput
|
|
DISTVERSION= 1.7.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= PYPI # no tests on PYPI, but GitHub tarball doesn't bui;d
|
|
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} \
|
|
${PY_DEPENDS}
|
|
RUN_DEPENDS= ${PY_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
TEST_WRKSRC= ${WRKSRC}/tests
|
|
|
|
.include <bsd.port.mk>
|