Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 475824

Summary: >=dev-python/icalendar-3.0: require dev-python/pytz
Product: Gentoo Linux Reporter: Alexander Stein <alexanders83>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://icalendar.readthedocs.org/en/latest/index.html
Whiteboard:
Package list:
Runtime testing required: ---

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