Skip to content

Commit

Permalink
devel/py-apispec: py-prance is required as a runtime dependency
Browse files Browse the repository at this point in the history
When running apispec, the following message has been displayed:

ModuleNotFoundError: validate_spec requires prance to be installed.

Installing devel/py-prance fixed the problem.

PR:		262344
Approved by:	Goran Mekić (maintainer)
  • Loading branch information
thierry-FreeBSD committed Mar 5, 2022
1 parent 3b2616f commit 0dbd3e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devel/py-apispec/Makefile
@@ -1,5 +1,6 @@
PORTNAME= apispec
DISTVERSION= 5.1.1
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,6 +11,7 @@ COMMENT= Pluggable API specification generator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}prance>0:devel/py-prance@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}marshmallow>0:devel/py-marshmallow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
Expand Down

0 comments on commit 0dbd3e1

Please sign in to comment.