Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691386 - dev-tex/pythontex-0.16 should RDEPEND on dev-python/pygments
Summary: dev-tex/pythontex-0.16 should RDEPEND on dev-python/pygments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-04 08:43 UTC by Nuno Silva
Modified: 2019-08-06 09:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Silva 2019-08-04 08:43:45 UTC
dev-tex/pythontex-0.16 fails at runtime with "ImportError: No module named pygments.styles" if dev-python/pygments isn't installed.

Note that, according to the ebuild, USE=highlighting will pull pygments, so, in order to reproduce this, one must emerge pythontex with USE=-highlighting on a system without pygments. After this, executing pythontex.py with no arguments is enough to trigger the error message.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-06 09:46:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d160337c973b698f74c671bd7e36e672596066

commit 58d160337c973b698f74c671bd7e36e672596066
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2019-08-06 09:44:45 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2019-08-06 09:45:45 +0000

    dev-tex/pythontex: RDEPEND on dev-python/pygments always
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=691386
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 dev-tex/pythontex/pythontex-0.16.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)