git: dbcfc7e72375 - main - www/py-django-simple-captcha: Fix build with DOCS option enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 09:32:42 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbcfc7e7237532da6c6f607d32c7b915897266bc commit dbcfc7e7237532da6c6f607d32c7b915897266bc Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-26 09:29:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-26 09:29:30 +0000 www/py-django-simple-captcha: Fix build with DOCS option enabled running build_sphinx Running Sphinx v5.3.0 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sphinx/config.py", line 350, in eval_config_file exec(code, namespace) File "/wrkdirs/usr/ports/www/py-django-simple-captcha/work-py39/django-simple-captcha-0.5.14/docs/conf.py", line 17, in <module> from six import u ModuleNotFoundError: No module named 'six' *** Error code 1 Approved by: portmgr (blanket) With hat: python --- www/py-django-simple-captcha/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/py-django-simple-captcha/Makefile b/www/py-django-simple-captcha/Makefile index c84cf446a8ed..ed61cae9db34 100644 --- a/www/py-django-simple-captcha/Makefile +++ b/www/py-django-simple-captcha/Makefile @@ -25,7 +25,8 @@ NO_ARCH= yes PORTDOCS= * OPTIONS_DEFINE= DOCS MIGRATIONS -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" MIGRATIONS_DESC= Schema and data migration support (via south) MIGRATIONS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}south>0:databases/py-south@${PY_FLAVOR}