3.0.2 stable https://matplotlib.org/
Created attachment 556278 [details] ebuild this ebuild works for my local overlay
Any news on update?
...
(In reply to lumbrius from comment #1) > Created attachment 556278 [details] > ebuild > > this ebuild works for my local overlay Works for me, thanks!
I DONT UNDERSTAND WHY IT TAKES MORE THAN HALF A YEAR TO PUSH WORKING EBUILD INTO TREE IS GENTOO DEAD?????
To be honest in that particular case there may be another hold up. If I am not mistaken matplotlib-3+ is python3 only and we don't have stuff to have different versions of a python package depending on the version of python used. Could be added package masked though, it is done for other packages.
by now, 3.0.3 is stable... https://matplotlib.org/ --
(In reply to François Bissey from comment #6) > To be honest in that particular case there may be another hold up. If I am > not mistaken matplotlib-3+ is python3 only and we don't have stuff to have > different versions of a python package depending on the version of python > used. > Could be added package masked though, it is done for other packages. Why doesn't it work using -python_targets_python2_7 like in ipython-7.5.0 ? --- # grep matplot ipython-7.5.0.ebuild IUSE="doc examples matplotlib notebook nbconvert qt5 +smp test" matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP},-python_targets_python2_7] )
Because apparently, this approach is problematic :) See bug 684962. I'm still working out the kinks, but if ipython 7.5 goes through unscathed, we can apply the same recipe for matplotlib. But circular dependencies and dropping py2 doesn't mix happily. It's ugly.
Created attachment 575002 [details] Using a fake USE python2 with a fakeVoid dependency This my ebuild uses --- # emerge -1 =dev-python/matplotlib-3.0.3::pmaci; emerge =dev-python/ipython-7.5.0::gentoo These are the packages that would be merged, in order: Calculating dependencies . ...... done! emerge: there are no ebuilds to satisfy "dev-python/pythonThreeOnly-fakeVoid". (dependency required by "dev-python/matplotlib-3.0.3::pmaci[python_targets_python2_7]" [ebuild]) (dependency required by "=dev-python/matplotlib-3.0.3::pmaci" [argument]) These are the packages that would be merged, in order: Calculating dependencies ... done! emerge: there are no ebuilds built with USE flags to satisfy "dev-python/matplotlib[python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_targets_python2_7]". !!! One of the following packages is required to complete your request: - dev-python/matplotlib-3.0.3::pmaci (Change USE: -python_targets_python2_7) (dependency required by "dev-python/ipython-7.5.0::gentoo" [ebuild]) (dependency required by "=dev-python/ipython-7.5.0::gentoo" [argument]) maci /common/pmaci/dev-python/matplotlib # --- but when correctly written in /etc/portage/package.use: dev-python/matplotlib -python_targets_python2_7 then this output: --- # emerge =dev-python/ipython-7.5.0::gentoo These are the packages that would be merged, in order: Calculating dependencies ........ done! [ebuild N ] dev-python/matplotlib-3.0.3::pmaci USE="cairo -doc -examples -excel -gtk2 gtk3 -latex qt5 -test -tk -wxwidgets" PYTHON_TARGETS="-pypy3 -python2_7 -python3_5 python3_6 -python3_7" 0 KiB [ebuild R #] dev-python/ipython-7.5.0::gentoo USE="-doc examples matplotlib* -nbconvert -notebook qt5 smp -test" PYTHON_TARGETS="-python3_5 python3_6 -python3_7" 0 KiB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] ---
I have just tested and successfully merged my ebuild. If using it, there must be inserted a new profile package.use.mask =dev-python/matplotlib-3.0.3 -python_targets_python2_7 with a warning in the comment that there may never be introduce an ebuild dev-python/pythonThreeOnly-fakeVoid This way per package.use.mask is lesser intrusive than a package.mask The output of my merge: --- maci /common/pmaci/dev-python/matplotlib # emerge =dev-python/ipython-7.5.0 These are the packages that would be merged, in order: Calculating dependencies . . ....... done! [ebuild N ] dev-python/matplotlib-3.0.3::pmaci USE="cairo -doc -examples -excel -gtk2 gtk3 -latex qt5 -test -tk -wxwidgets" PYTHON_TARGETS="-pypy3 -python2_7 -python3_5 python3_6 -python3_7" 0 KiB [ebuild R #] dev-python/ipython-7.5.0::gentoo USE="-doc examples matplotlib* -nbconvert -notebook qt5 smp -test" PYTHON_TARGETS="-python3_5 python3_6 -python3_7" 0 KiB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 2) dev-python/matplotlib-3.0.3::pmaci >>> Installing (1 of 2) dev-python/matplotlib-3.0.3::pmaci >>> Emerging (2 of 2) dev-python/ipython-7.5.0::gentoo >>> Installing (2 of 2) dev-python/ipython-7.5.0::gentoo >>> Recording dev-python/ipython in "world" favorites file... >>> Jobs: 2 of 2 complete Load avg: 2.17, 2.02, 2.16 * Messages for package dev-python/ipython-7.5.0: * Log file: /var/log/portage/build/dev-python/ipython-7.5.0:20190503-125722.log * dev-python/sympy for sympyprinting * dev-python/line_profiler for %lprun magic command * dev-python/memory_profiler for %mprun magic command >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
(In reply to Virgil Dupras from comment https://bugs.gentoo.org/684962#7) > I will solve this by dropping py2 on the whole jupyter stack. See bug 685040 Yeah, though I felt happy to find this "special" portage circumventing of above, I later thought of the many portage healthiness tools, these might not feel happy.
After using USE=eselect-ldso as described in https://wiki.gentoo.org/wiki/Blas-lapack-switch arpack compiles, so I'd like to close this as invalid. Thanks all for help!
Terribly sorry I just posted in wrong window =/
3.1.1 stable (https://github.com/matplotlib/matplotlib/releases); perhaps update the bug title?
In the meantime 2.2.x release is not supported anymore, see the project page. >For Python 2 support, Matplotlib 2.2.x will be continued as a LTS release and updated with bugfixes until January 1, 2020.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e099f966bfcfe82d06cf946568d6874ff37e1be4 commit e099f966bfcfe82d06cf946568d6874ff37e1be4 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2020-01-26 01:13:40 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-01-26 01:19:01 +0000 dev-python/matplotlib: bump to 3.1.2. - Unbundle qhull. - Depend on pyobject:3[cairo] for USE="gtk3 cairo". - p/arch/arm64/package.use.mask: mask USE=wxwidgets dev-python/wxpython does not have arm64 keyword. Closes: https://bugs.gentoo.org/671796 Closes: https://bugs.gentoo.org/680176 Closes: https://bugs.gentoo.org/665560 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-python/matplotlib/Manifest | 1 + .../matplotlib-3.1.2-no-jqueryui-download.patch | 15 ++ .../matplotlib/files/matplotlib-3.1.2-qhull.patch | 20 ++ dev-python/matplotlib/matplotlib-3.1.2.ebuild | 244 +++++++++++++++++++++ profiles/arch/arm64/package.use.mask | 4 + 5 files changed, 284 insertions(+)