bug #505638 needs to be implemented, and then www-apps/nikola should enforce support for the necessary Python versions in its dependencies. Otherwise Nikola will not work, despite all deps seemingly being satisfied in portage: remote: Traceback (most recent call last): remote: File "/usr/lib/python-exec/python3.3/nikola", line 34, in <module> remote: from nikola import __main__ remote: File "/usr/lib/python3.3/site-packages/nikola/__init__.py", line 33, in <module> remote: from .nikola import Nikola # NOQA remote: File "/usr/lib/python3.3/site-packages/nikola/nikola.py", line 56, in <module> remote: from .post import Post remote: File "/usr/lib/python3.3/site-packages/nikola/post.py", line 48, in <module> remote: import nikola.utils remote: File "/usr/lib/python3.3/site-packages/nikola/utils.py", line 126, in <module> remote: import PyRSS2Gen as rss remote: ImportError: No module named 'PyRSS2Gen' Reproducible: Always
Should have read this before: PYTHON_COMPAT=( python2_7 ) # 3_3 needs PyRSS2Gen update
I got it to work after bumping dev-python/PyRSS2Gen to 1.1 and adjusting the nikola-6.4.0.ebuild from: python_targets_python2_7? ( =dev-python/configparser-3.2.0*[${PYTHON_USEDEPS}] ) to python_targets_python2_7? ( =dev-python/configparser-3.2.0*[python_targets_python2_7] ) since configparser is included in dev-lang/python-3. Afterwards I just added PYTHON_COMPAT=python3_3 to www-apps/nikola, dev-python/PyRSS2Gen and dev-python/assets. Nikola now warns about assets, so I assume the old 0.1.1 version in portage does not work with the Python 3 version of Nikola (but it seems to work fine with the Python 2 version): WARNING: Nikola: In order to USE_BUNDLES, you must install the "webassets" Python package.
Created attachment 373498 [details, diff] Patch for www-apps/nikola-6.4.0 ebuild with Python 3 support It seems that dev-python/assets-0.1.1 is not the package that www-apps/nikola-6.4.0 actually needs. I attached an ebuild for dev-python/webassets-0.9 to bug #505682, which seems to be the correct one. Please find a patch for Python 3 support in www-apps/nikola-6.4.0 attached.
Has anyone had a look at this recently?
(In reply to Dennis Schridde from comment #4) > Has anyone had a look at this recently? I don't have much time to really look into all the issues, so I'd be happy for someone else to step up and become primary maintainer of this package. Also, I do not have python-3 installed, so I cannot test any proposed solutions for that issue.
Dennis, if you're willing, I could proxy for you. Have you done your quizzes yet? ;)
Done. Thanks for your contributions!