https://www.riverbankcomputing.com/software/pyqtchart/intro PyQtChart is a set of Python bindings for The Qt Company's Qt Charts library (dev-qt/qtcharts in Gentoo). The bindings sit on top of PyQt5 and are implemented as a single module. (originally requested by Mariano Muñoz <mmmarquinez@gmail.com>)
Created attachment 463636 [details] First version This is my first public ebuild. It works for me. I hope this can help.
(In reply to Mariano from comment #1) > Created attachment 463636 [details] > First version > > This is my first public ebuild. It works for me. I hope this can help. There's a typo in the name of the QtCharts dependency, it's named dev-qt/qtcharts, not dev-qt/qtchart. Note the trailing s. Beside that it's working here.
Created attachment 498222 [details] New ebuild PyQtChart-5.9 It works for me in last QT-5.9 version
I have downloaded the ebuild and modified for version 5.12, if fails to install with the following error: >>> Install dev-python/PyQtChart-5.12 into /var/tmp/portage/dev-python/PyQtChart-5.12/image/ * python3_6: running run_in_build_dir installation make -j8 -l8 INSTALL_ROOT=/var/tmp/portage/dev-python/PyQtChart-5.12/image/tmp install cd QtChart/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /var/tmp/portage/dev-python/PyQtChart-5.12/work/PyQtChart_gpl-5.12-python3_6/QtChart/QtChart.pro ) && make -f Makefile install /usr/bin/python3.6 /var/tmp/portage/dev-python/PyQtChart-5.12/work/PyQtChart_gpl-5.12-python3_6/mk_distinfo.py "/var/tmp/portage/dev-python/PyQtChart-5.12/image/tmp" /usr/lib64/python3.6/site-packages/PyQtChart-5.12.dist-info installed.txt /usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/dev-python/PyQtChart-5.12/work/PyQtChart_gpl-5.12-python3_6/QtChart.pyi /var/tmp/portage/dev-python/PyQtChart-5.12/image/tmp/usr/lib64/python3.6/site-packages/PyQt5/QtChart.pyi /usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/dev-python/PyQtChart-5.12/work/PyQtChart_gpl-5.12-python3_6/PyQtChart.api /var/tmp/portage/dev-python/PyQtChart-5.12/image/tmp/usr/share/qt5/qsci/api/python/PyQtChart.api Traceback (most recent call last): File "/var/tmp/portage/dev-python/PyQtChart-5.12/work/PyQtChart_gpl-5.12-python3_6/mk_distinfo.py", line 108, in <module> fn_f = open(fn, 'rb') FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/PyQtChart-5.12/image/tmp/usr/lib64/python3.6/site-packages/PyQt5/QtChart.so' make: *** [Makefile:562: install_distinfo] Error 1 make: *** Waiting for unfinished jobs.... It's a problem of parallel building, running with MAKEOPTS=-j1 solves the issue.
Created attachment 597646 [details] PyQtChart-5.12.ebuild
Created attachment 598826 [details] PyQtChart-5.13.1.ebuild
Comment on attachment 598826 [details] PyQtChart-5.13.1.ebuild Hi Fabio I updated the ebuild to versión 5.13.1 I use it from my personal portage at https://github.com/turulomio/myportage/tree/master/dev-python/PyQtChart and you can download it whenever you want I'm not a Gentoo Dev and I don't know howto make a pull request on it
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f44b561b9b529547c5af2781c346dfc0015815 commit b3f44b561b9b529547c5af2781c346dfc0015815 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-11-16 23:15:12 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-11-16 23:40:12 +0000 profiles: Mask dev-util/eric for removal Bug: https://bugs.gentoo.org/607130 Bug: https://bugs.gentoo.org/701318 Bug: https://bugs.gentoo.org/709862 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)