Thursday, June 20, 2019

Fix textproc/py-commonmark tests by adding TEST_DEPENDS on itself

Paco Esteban just had trouble running the tests for py-commonmark because
the module needs itself installed to run the tests. This simple diff
adds itself to the TEST_DEPENDS to fix that.

Tweak the PERMIT line to the new style while here.

cc sebastia@ (maintainer)

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-commonmark/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 15 May 2019 12:04:41 -0000 1.5
+++ Makefile 20 Jun 2019 13:10:19 -0000
@@ -11,7 +11,7 @@ REVISION= 0
MAINTAINER= Sebastian Reitenbach <sebastia@openbsd.org>

# BSD
-PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE = Yes

MODULES= lang/python
MODPY_PI= Yes
@@ -21,7 +21,8 @@ FLAVORS= python3
FLAVOR?=

RUN_DEPENDS= devel/py-future${MODPY_FLAVOR}
-TEST_DEPENDS= devel/flake8 \
+TEST_DEPENDS= ${FULLPKGNAME}:${FULLPKGPATH} \
+ devel/flake8 \
devel/py-hypothesis${MODPY_FLAVOR}

post-install:

No comments:

Post a Comment