openbsd-ports/editors/py-neovim/Makefile
sthen d858b7cc2a Ports built with setuptools on python 3.10 don't need a RUN_DEPENDS on
setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.
2022-11-26 23:28:11 +00:00

37 lines
803 B
Makefile

COMMENT = Python plugin support for Neovim
MODPY_EGG_VERSION = 0.4.3
DISTNAME = pynvim-${MODPY_EGG_VERSION}
PKGNAME = py-neovim-${MODPY_EGG_VERSION}
REVISION = 3
CATEGORIES = editors devel
HOMEPAGE = https://github.com/neovim/pynvim
MAINTAINER = Edd Barrett <edd@openbsd.org>
# Apache-2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
MODPY_PYTEST = Yes
PORTHOME = ${WRKDIR}
TEST_ENV = PYTHONPATH=lib
FLAVORS = python3
FLAVOR = python3
RUN_DEPENDS = net/py-msgpack${MODPY_FLAVOR} \
devel/py-greenlet${MODPY_FLAVOR}
TEST_DEPENDS = editors/neovim
# You may need to increase the file descriptor ulimits to run tests.
#
# Test suite hangs if $HOME isn't valid.
#
# Some failures:
# https://github.com/neovim/pynvim/issues/416
.include <bsd.port.mk>