Bug 1577602 - texlive-minted should require /usr/bin/pygmentize
Summary: texlive-minted should require /usr/bin/pygmentize
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-13 12:19 UTC by Miro Hrončok
Modified: 2018-05-14 16:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-14 16:14:28 UTC
Type: Bug


Attachments (Terms of Use)

Description Miro Hrončok 2018-05-13 12:19:06 UTC
Description of problem:
texlive-minted requires python-pygments. It should instead require /usr/bin/pygmentize.

Version-Release number of selected component (if applicable):
texlive-minted-svn44855-4.fc29.noarch
texlive-2017-4.fc29.src

How reproducible:
Easy


Steps to Reproduce:
$ mock -r fedora-rawhide-x86_64 --init
$ mock -r fedora-rawhide-x86_64 --install /usr/bin/xelatex texlive-minted
$ mock -r fedora-rawhide-x86_64 --shell

# cat > minted.tex << EOF
\documentclass{article}
\usepackage{minted}

\begin{document}
\begin{minted}{pycon}
>>> "SUCCESS"
'SUCCESS'
\end{minted}
\end{document}
EOF

# xelatex -shell-escape minted.tex



Actual results:
! Package minted Error: You must have `pygmentize' installed to use this package.


Expected results: Should successfully build.


Additional info:

$ mock -r fedora-rawhide-x86_64 --install  /usr/bin/pygmentize
# xelatex -shell-escape minted.tex

All good.

/usr/bin/pygmentize is not in python2-pygments (that one provides python-pygments). It is in fact in python3-pygments. However just requiring /usr/bin/pygmentize will abstract us from this.


Note You need to log in before you can comment on or make changes to this bug.