FS#65018 - [graphviz] Enable python3 bindings
Attached to Project:
Arch Linux
Opened by loqs (loqs) - Thursday, 02 January 2020, 21:06 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 18 January 2020, 00:54 GMT
Opened by loqs (loqs) - Thursday, 02 January 2020, 21:06 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 18 January 2020, 00:54 GMT
|
Details
Description:
The detection of python3 fails due to a cached result from python one detection. --enable-python=no or the attached patch allow building python 3 bindings. Additional info: * graphviz 2.42.3-1 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Saturday, 18 January 2020, 00:54 GMT
Reason for closing: Fixed
Additional comments about closing: graphviz-2.42.3-2 in [extra]
Saturday, 18 January 2020, 00:54 GMT
Reason for closing: Fixed
Additional comments about closing: graphviz-2.42.3-2 in [extra]
- /usr/lib/graphviz/python2/libgv_python2.so
- /usr/lib/graphviz/python3/libgv_python3.so
- /usr/lib/python2.7/site-packages/gv.py
- /usr/lib/python3.8/site-packages/gv.py
Could you say a little bit more about what your proposed patch would achieve?
shows configure running again with PYTHON=python2 which passes the python 1 check so the cached header check reused for python 3 also passes.
Additionally I should have checked the contents of the package. Sorry for the confusion I caused.
The patch I provided would only help building a package without python2 bindings without needing to pass --enable-python=no to configure.
Could python be added as an optional dependency for the python 3 bindings? I believe it is pulled in at build time as a dependency of mono.
[1] https://bbs.archlinux.org/viewtopic.php?pid=1882783#p1882783
[2] https://gitlab.com/graphviz/graphviz/issues/1626
[3] graphviz-2.42.3-1-x86_64-prepare.log.xz
[4] graphviz-2.42.3-1-x86_64-build.log.xz
graphviz-2.42.3-1-x86_64-buil... (154.9 KiB)