mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 03:16:44 -04:00
Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
32 lines
941 B
Makefile
32 lines
941 B
Makefile
PORTNAME= pynvim
|
|
DISTVERSION= 0.4.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= tm@NetBSD.org
|
|
COMMENT= Python client and plugin host for Neovim
|
|
WWW= https://pynvim.readthedocs.io/en/latest/
|
|
|
|
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
|
|
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>
|