diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2022-03-04 16:52:43 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2022-03-05 13:40:34 +0000 |
commit | 0dbd3e11b0e216510942a9c8f64340c9520a9449 (patch) | |
tree | 78be6642df6d90186d462dac3734de0e368f47ec | |
parent | 3b2616f516d4d756133bd44438e3ffedc51450b2 (diff) | |
download | ports-0dbd3e11b0e216510942a9c8f64340c9520a9449.tar.gz ports-0dbd3e11b0e216510942a9c8f64340c9520a9449.zip |
devel/py-apispec: py-prance is required as a runtime dependency
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)
-rw-r--r-- | devel/py-apispec/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/py-apispec/Makefile b/devel/py-apispec/Makefile index 58a0c1157aff..d4320c1a3769 100644 --- a/devel/py-apispec/Makefile +++ b/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} @@ -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} \ |