summaryrefslogtreecommitdiff
path: root/editors/py-pynvim/Makefile
blob: 2f080e80f155054bc9f57f4c4334a8b57304755e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

PORTNAME=	pynvim
DISTVERSION=	0.4.2
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>