git: 64b2298a6d98 - main - www/py-django40: unbreak build for HTML docs (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Jun 2022 16:21:13 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=64b2298a6d98dfcc467c328b18293f558fa92c59 commit 64b2298a6d98dfcc467c328b18293f558fa92c59 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-06-27 16:13:05 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-06-27 16:13:05 +0000 www/py-django40: unbreak build for HTML docs (+) Django40 require at least sphinx 4.5.0 to generate offline HTML docs. Set version check for dependency Another issue is gmake-style construction in docs/Makefile which caused build errors with non-default python. Force gmake usage for HTMLDOCS option to resolve build issue. Pointyhat to: wen (for skipped dependencies chech) Approved by: portmgr blanket (fix build) --- www/py-django40/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/py-django40/Makefile b/www/py-django40/Makefile index c760244ec277..2172d0c9a53d 100644 --- a/www/py-django40/Makefile +++ b/www/py-django40/Makefile @@ -46,14 +46,15 @@ OPTIONS_GROUP_DATABASE= PGSQL MYSQL SQLITE OPTIONS_DEFAULT=SQLITE HTMLDOCS_DESC= Install HTML documentation (requires Sphinx) -HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} +HTMLDOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=4.5.0,1:textproc/py-sphinx@${PY_FLAVOR} HTMLDOCS_IMPLIES= DOCS +HTMLDOCS_USES= gmake PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR} SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} post-build-HTMLDOCS-on: - cd ${WRKSRC}/docs && ${MAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER} + cd ${WRKSRC}/docs && ${GMAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER} post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1