Python 3 support was added to dev-python/icalendar in version 3.6. The 3.6.1 ebuild as it is right now however does not compile the module for Python 3. Making the following change to the PYTHON_COMPAT list results in a successful build & run for me on ~amd64. -PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 ) +PYTHON_COMPAT=( python{2_6,2_7,3_3} pypy pypy2_0 ) http://icalendar.readthedocs.org/en/latest/ (see roadmap)
~/cvsPortage/gentoo-x86/dev-python/icalendar $ ebuild icalendar-3.6.1.ebuild clean test install ------------------------------------------------------------ * python2_7: running distutils-r1_run_phase distutils-r1_python_install_all >>> Completed installing icalendar-3.6.1 into /mnt/gen2/TmpDir/portage/dev-python/icalendar-3.6.1/image/ 16 Apr 2014; Ian Delaney <idella4@gentoo.org> icalendar-3.6.1.ebuild: add py3 support, fixes Bug #507560