Add MODPY_PYTEST since it is what port uses anyway.

Remove now-unneeded py-test and py-pluggy TEST_DEPENDS

Add many missing TEST_DEPENDS to get majority of tests passing
This commit is contained in:
kmos 2019-11-23 19:00:43 +00:00
parent 9f6a260e75
commit 79ce82c5bf

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2019/11/23 14:44:45 bcallah Exp $
# $OpenBSD: Makefile,v 1.21 2019/11/23 19:00:43 kmos Exp $
MODPY_EGG_VERSION = 130
COMMENT = in-depth comparison of files, archives, and directories
@ -11,15 +11,22 @@ MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PI = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
PORTHOME = ${WRKDIST}
RUN_DEPENDS = archivers/py-libarchive-c${MODPY_FLAVOR} \
devel/py-magic${MODPY_FLAVOR}
TEST_DEPENDS = devel/py-pluggy${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
# Could use a port of tlsh to make more tests work
TEST_DEPENDS = devel/py-argcomplete${MODPY_FLAVOR} \
devel/py-progressbar${MODPY_FLAVOR} \
sysutils/binwalk \
sysutils/py-distro \
textproc/py-defusedxml${MODPY_FLAVOR}
.include <bsd.port.mk>