Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475824 - >=dev-python/icalendar-3.0: require dev-python/pytz
Summary: >=dev-python/icalendar-3.0: require dev-python/pytz
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://icalendar.readthedocs.org/en/l...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-05 12:06 UTC by Alexander Stein
Modified: 2013-07-08 07:57 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 Alexander Stein 2013-07-05 12:06:46 UTC
Starting with release 3.0 icalendar requires pytz. See Dependencies at given URL.

Reproducible: Always

Steps to Reproduce:
1. Install dev-python/icalendar-3.4
2. python
3. import icalendar
Actual Results:  
>>> import icalendar
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/icalendar/__init__.py", line 4, in <module>
    from .cal import (
  File "/usr/lib64/python2.7/site-packages/icalendar/cal.py", line 9, in <module>
    import pytz
ImportError: No module named pytz
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2013-07-08 07:57:17 UTC
yes, quite correct.

    install_requires=[
        'setuptools',
        'python-dateutil',
        'pytz',

While pytz is included in the ebuild, it was behind doc?.
Shifted both 'python-dateutil','pytz' to RDEPEND

  08 Jul 2013; Ian Delaney <idella4@gentoo.org> icalendar-3.4.ebuild:
  Shift deps to RDEPEND, fixes Bug #475824