freebsd-ports/editors/py-pynvim/Makefile
Adam Weinberger 3376d309e5 edtors/py-pynvim: Update to 0.4.3
PR:		254925
Approved by:	maintainer
2021-04-09 17:31:09 -04:00

30 lines
889 B
Makefile

PORTNAME= pynvim
DISTVERSION= 0.4.3
CATEGORIES= editors python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= tm@NetBSD.org
COMMENT= Python client and plugin host for Neovim
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.5.0:devel/py-msgpack@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.4.0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= concurrent distutils flavors autoplist
NO_ARCH= yes
SUB_FILES= pkg-message
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
SUFFIX_FOR_PYTHON_3=${PYTHON_MAJOR_VER:M3}
maintainer-test:
# Cannot depend on neovim as it could create a circular dependency
@${ECHO_CMD} "===> Install neovim, then run:"
@${ECHO_CMD} "cd ${WRKSRC} && ${PYTHON_CMD} -m pytest"
.include <bsd.port.mk>