$ qlist z3 /usr/bin/z3 /usr/include/z3/z3.h /usr/include/z3/z3_v1.h /usr/include/z3/z3_macros.h /usr/include/z3/z3_api.h /usr/include/z3/z3_ast_containers.h /usr/include/z3/z3_algebraic.h /usr/include/z3/z3_polynomial.h /usr/include/z3/z3_rcf.h /usr/include/z3/z3_fixedpoint.h /usr/include/z3/z3_optimization.h /usr/include/z3/z3_interp.h /usr/include/z3/z3_fpa.h /usr/include/z3/z3++.h /usr/lib64/libz3.so /usr/lib64/python2.7/site-packages/setup.py /usr/lib64/python2.7/site-packages/z3test.py /usr/lib64/python2.7/site-packages/setup.pyc /usr/lib64/python2.7/site-packages/z3test.pyc /usr/lib64/python2.7/site-packages/setup.pyo /usr/lib64/python2.7/site-packages/z3test.pyo The python installation is clearly broken, especially that setup.py lies directly in the site-packages. The python module itself is missing though.
Thanks for reporting, fixed in both z3-4.4.1 and z3-4.5.0. To obtain the fix, you will need to rebuild it, since I haven't revbumped it. If you build it something like: USE="examples python" emerge -av -1 sci-mathematics/z3 Then you can try out the python example if you like: in a directory where you would like to try it out: cp -pR /usr/share/z3/examples/examples/python/* . python example.py commit 7cea2dfa7e45f8d6fb0a0fbd5b3ff808ca25a585 Author: Mark Wright <gienah@gentoo.org> Date: Sat Jan 28 19:48:44 2017 +1100 sci-mathematics/z3: Fix python API, thanks to Jonas Jelten for reporting. Create shared library soname symlinks. Add examples USE flag. Add || die on cat of files, except in pkg_postinst() where we want it to ignore any errors. Gentoo-Bug: 605892
Any chance to get python3 support in gentoo repos? Adding it in PYTHON_COMPAT seems to do the job
Mateusz, please reopen a new ticket for this feature request. see also https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide
I'm going to look at Python 3 soonish.