[Bug 269231] textproc/py-sphinx-autodoc-typehints: Fix build dependencies
Date: Wed, 08 Feb 2023 14:31:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269231 --- Comment #2 from Michael Büker <freebsd@michael-bueker.de> --- Sorry for the noise, but there is a problem after all. When applying this patch and building my packages, py39-khard-0.18.0 complains that it cannot import sphinx_autodoc_typehints: =======================<phase: build >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for py39-khard-0.18.0 (cd /wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc && gmake man) gmake[1]: Entering directory '/wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc' Running Sphinx v5.1.1 Extension error: Could not import extension sphinx_autodoc_typehints (exception: cannot import name '__version__' from 'sphinx_autodoc_typehints.version' (/usr/local/lib/python3.9/site-packages/sphinx_autodoc_typehints/version.py)) gmake[1]: *** [Makefile:20: man] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/deskutils/py-khard/work-py39/khard-0.18.0/doc' *** Error code 2 The package is, however, installed in the poudriere build jail: ===> py39-khard-0.18.0 depends on package: py39-sphinx-autodoc-typehints>0 - not found ===> Installing existing package /packages/All/py39-sphinx-autodoc-typehints-1.19.5.pkg [ganymed-default-job-01] Installing py39-sphinx-autodoc-typehints-1.19.5... [ganymed-default-job-01] Extracting py39-sphinx-autodoc-typehints-1.19.5: .......... done ===> py39-khard-0.18.0 depends on package: py39-sphinx-autodoc-typehints>0 - found Let me know how I can help investigate. -- You are receiving this mail because: You are the assignee for the bug.