9f6dbb951d
PR: 246900 Approved by: maintainer
33 lines
981 B
Makefile
33 lines
981 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pynvim
|
|
DISTVERSION= 0.4.1
|
|
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}
|
|
py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trollius>=0:devel/py-trollius@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.4.0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
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>
|