Bug 238743

Summary: devel/pydbus-common: Fix HTMLDOCS build
Product: Ports & Packages Reporter: Ting-Wei Lan <lantw44>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (gnome)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix HTMLDOCS build for pydbus-common
none
Fix HTMLDOCS build for pydbus-common (v2) none

Description Ting-Wei Lan 2019-06-21 11:46:33 UTC
Created attachment 205261 [details]
Fix HTMLDOCS build for pydbus-common

It seems that pydbus-common no longer uses sphinx-build executable to generate documentation. Instead, it requires sphinx python module to work.

Since FreeBSD has switched the default python version to 3.6, pydbus-common HTMLDOCS option no longer works because it doesn't specify the flavor of sphinx it needs. pydbus-common explicitly requests python 2.7, but py36-sphinx is installed chosen because it is the default version.

===>   pydbus-common-1.2.8 depends on executable: sphinx-build - not found
===>   Installing existing package /packages/All/py36-sphinx-1.6.5_2,1.txz
[freebsd12-default-workstation-job-01] Installing py36-sphinx-1.6.5_2,1...
...
===>  Configuring for pydbus-common-1.2.8
...
checking python2.7 module: sphinx... no
configure: error: cannot build documentation without sphinx Python module
Comment 1 Ting-Wei Lan 2019-11-29 13:20:25 UTC
Created attachment 209527 [details]
Fix HTMLDOCS build for pydbus-common (v2)

Update the patch for the latest port.