Skip to content

Commit

Permalink
devel/py-python-bugzilla: Fix *_DEPENDS
Browse files Browse the repository at this point in the history
- Update do-test:

Approved by:	lwhsu (maintainer)
  • Loading branch information
sunpoet committed Apr 17, 2022
1 parent 5eae4a6 commit a9493fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devel/py-python-bugzilla/Makefile
Expand Up @@ -12,14 +12,15 @@ COMMENT= Bugzilla XMLRPC access module
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v

.include <bsd.port.mk>

0 comments on commit a9493fd

Please sign in to comment.