Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656262 - dev-python/matplotlib-2.2.2: enable USE=doc without python2
Summary: dev-python/matplotlib-2.2.2: enable USE=doc without python2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-22 08:02 UTC by Petr Cerny [:hrosik]
Modified: 2019-05-02 15:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info (emerge.info,6.45 KB, application/x-info)
2018-05-22 08:02 UTC, Petr Cerny [:hrosik]
Details

Note You need to log in before you can comment on or make changes to this bug.
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 (RETIRED) 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(+)