Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656262

Summary: dev-python/matplotlib-2.2.2: enable USE=doc without python2
Product: Gentoo Linux Reporter: Petr Cerny [:hrosik] <p.c-bugzilla>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output of emerge --info

Description Petr Cerny [:hrosik] 2018-05-22 08:02:00 UTC
Created attachment 532594 [details]
output of emerge --info

Would it be possible to remove the python2_7 dependency from matplotlib when building documentation: "doc? ( any-of ( python_targets_python2_7 ) )" ?

The package docs seem to build fine with python3_6 on my build system.

The rationale is the dependency on ipython[python_targets_python2_7] which conflicts with >=ipython-6 (which itself is a python3-only package).
Comment 1 Marek Szuba archtester gentoo-dev 2018-05-22 10:44:37 UTC
I have just tried emerging =dev-python/matplotlib-2.2.2-r1 with USE=doc on a system with python2_7 absent and alas, no dice - there have been several problems with running Sphinx.
Comment 2 Petr Cerny [:hrosik] 2018-05-22 12:11:49 UTC
(In reply to Marek Szuba from comment #1)
> I have just tried emerging =dev-python/matplotlib-2.2.2-r1 with USE=doc on a
> system with python2_7 absent and alas, no dice - there have been several
> problems with running Sphinx.

Such as? I have a fairly non-overlayed system - with one exception: dev-python/pandas pulling in dev-python/nbsphinx (which the gentoo ebuild doesn't do) - it may be that it would fix this problem too.
Comment 3 Larry the Git Cow gentoo-dev 2019-05-02 15:11:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3017cf5138cdd90bda307ad0e820e5890350738a

commit 3017cf5138cdd90bda307ad0e820e5890350738a
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-02 15:10:35 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-02 15:10:35 +0000

    dev-python/matplotlib: bump to 2.2.4
    
    Closes: https://bugs.gentoo.org/684798
    Closes: https://bugs.gentoo.org/656262
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/matplotlib/Manifest                     |   1 +
 .../files/matplotlib-2.2.4-doc-fix.patch           |  18 ++
 .../matplotlib-2.2.4-no-jqueryui-download.patch    |  18 ++
 dev-python/matplotlib/matplotlib-2.2.4.ebuild      | 258 +++++++++++++++++++++
 4 files changed, 295 insertions(+)