Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213310 - dev-python/epydoc-3.0.1 with texlive support
Summary: dev-python/epydoc-3.0.1 with texlive support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2008-03-13 21:39 UTC by Sandro Bonazzola
Modified: 2008-05-12 09:45 UTC (History)
1 user (show)

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


Attachments
better deps for texlive (epydoctex.patch,732 bytes, patch)
2008-03-13 23:14 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola 2008-03-13 21:39:18 UTC
Here is a proposed patch to epydoc-3.0.1 ebuild for having texlive support in epydoc:
--- epydoc-3.0.1.ebuild 2008-03-13 22:16:24.000000000 +0100
+++ epydoc-3.0.1-r1.ebuild      2008-03-13 22:34:55.000000000 +0100
@@ -14,7 +14,10 @@
 IUSE="doc pdf"

 RDEPEND="dev-python/docutils
-       pdf? ( virtual/tetex )"
+       pdf? (|| (
+               ( dev-texlive/texlive-latexextra        dev-texlive/texlive-latexrecommended dev-texlive/texlive-fontsrecommended)
+               virtual/tetex
+       ))"

 src_install() {
        distutils_src_install
Comment 1 Sandro Bonazzola 2008-03-13 21:43:53 UTC
Mmm here one that make repoman happy:
--- epydoc-3.0.1.ebuild 2008-03-13 22:16:24.000000000 +0100
+++ epydoc-3.0.1-r1.ebuild      2008-03-13 22:39:45.000000000 +0100
@@ -14,7 +14,10 @@
 IUSE="doc pdf"

 RDEPEND="dev-python/docutils
-       pdf? ( virtual/tetex )"
+       pdf? ( || (
+               ( dev-texlive/texlive-latexextra dev-texlive/texlive-latexrecommended dev-texlive/texlive-fontsrecommended )
+               virtual/tetex
+       ) )"

 src_install() {
        distutils_src_install
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-13 22:23:48 UTC
Erm? Really don't see what are you fixing here? virtual/tetex is already provided by app-text/texlive...
Comment 3 Alexis Ballier gentoo-dev 2008-03-13 22:30:34 UTC
(In reply to comment #2)
> Erm? Really don't see what are you fixing here? virtual/tetex is already
> provided by app-text/texlive...

probably because it makes use of non mandatory packages like the *extra ones; that said, the patch as is doesnt solve any issue.
Anyway, it's a good idea to change virtual/tetex to virtual/latex-base; I'll try to prepare a patch if I can understand how epydoc works ;)
Comment 4 Alexis Ballier gentoo-dev 2008-03-13 23:14:20 UTC
Created attachment 146069 [details, diff]
better deps for texlive

latexextra should be the only extra package needed.

I've renamed the pdf useflag to latex since as far as I understand it epydoc supports latex, ps and pdf output and they all go through latex.
Comment 5 Sandro Bonazzola 2008-03-14 10:15:25 UTC
(In reply to comment #4)
> Created an attachment (id=146069) [edit]
> better deps for texlive

Yes, really better deps. This solve the issue I've tried to fix with the submitted patch.
Comment 6 Alexis Ballier gentoo-dev 2008-05-12 09:45:28 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Created an attachment (id=146069) [edit]
> > better deps for texlive
> 
> Yes, really better deps. This solve the issue I've tried to fix with the
> submitted patch.
> 

then applied, I hope python herd is fine with the useflag renaming as they didnt complain there