git: 0dbd3e11b0e2 - main - devel/py-apispec: py-prance is required as a runtime dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Mar 2022 13:40:51 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0dbd3e11b0e216510942a9c8f64340c9520a9449
commit 0dbd3e11b0e216510942a9c8f64340c9520a9449
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-04 16:52:43 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-03-05 13:40:34 +0000
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)
---
devel/py-apispec/Makefile | 2 ++
1 file changed, 2 insertions(+)
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} \