Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399511 - app-text/calibre needs dev-python/python-dateutil:python-2
Summary: app-text/calibre needs dev-python/python-dateutil:python-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2012-01-20 14:20 UTC by Erik Zeek
Modified: 2014-06-14 07:03 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 Erik Zeek 2012-01-20 14:20:20 UTC
Currently calibre fails to run with dev-python/python-dateutil:python-3:

# calibre
Traceback (most recent call last):
  File "/usr/bin/calibre", line 18, in <module>
    from calibre.gui2.main import main
  File "/usr/lib64/calibre/calibre/gui2/__init__.py", line 19, in <module>
    from calibre.utils.date import UNDEFINED_DATE
  File "/usr/lib64/calibre/calibre/utils/date.py", line 13, in <module>
    from dateutil.parser import parse
ImportError: No module named dateutil.parser

Emerging dev-python/python-dateutil:python-2 fixes the problem.
Comment 1 Zac Medico gentoo-dev 2012-01-22 21:58:54 UTC
Thanks, this is fixed in cvs.
Comment 2 Rafal Lalik 2014-06-11 02:36:51 UTC
Could you do the same for calibre versions prior to 1.38? Stable 1.20 is still affected with the bug.

# grep dateutil /usr/portage/app-text/calibre/calibre-*
/usr/portage/app-text/calibre/calibre-1.20.ebuild:48:   dev-python/python-dateutil
/usr/portage/app-text/calibre/calibre-1.20.ebuild:56:   >=dev-python/python-dateutil-1.4.1
/usr/portage/app-text/calibre/calibre-1.25.ebuild:48:   dev-python/python-dateutil
/usr/portage/app-text/calibre/calibre-1.25.ebuild:56:   >=dev-python/python-dateutil-1.4.1
/usr/portage/app-text/calibre/calibre-1.29.ebuild:48:   dev-python/python-dateutil
/usr/portage/app-text/calibre/calibre-1.29.ebuild:55:   >=dev-python/python-dateutil-1.4.1
/usr/portage/app-text/calibre/calibre-1.2.ebuild:53:    dev-python/python-dateutil
/usr/portage/app-text/calibre/calibre-1.2.ebuild:61:    >=dev-python/python-dateutil-1.4.1
/usr/portage/app-text/calibre/calibre-1.38.ebuild:48:   dev-python/python-dateutil[python_targets_python2_7(-)]
/usr/portage/app-text/calibre/calibre-1.38.ebuild:55:   >=dev-python/python-dateutil-1.4.1[python_targets_python2_7(-)]
Comment 3 Zac Medico gentoo-dev 2014-06-14 07:03:38 UTC
(In reply to Rafal Lalik from comment #2)
> Could you do the same for calibre versions prior to 1.38? Stable 1.20 is
> still affected with the bug.

Thanks, all ebuilds are fixed now.