Fix testing

This commit is contained in:
adam 2019-03-20 19:16:03 +00:00
parent 95f8343d75
commit 9f9aea7847

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2019/03/20 16:25:02 wiz Exp $
# $NetBSD: Makefile,v 1.19 2019/03/20 19:16:03 adam Exp $
DISTNAME= Markdown-3.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@ -10,16 +10,12 @@ HOMEPAGE= https://Python-Markdown.github.io/
COMMENT= XHTML generator using a simple markup
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} markdown_py markdown_py${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} run-tests.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"