Emerging pkgcore during installation on a brand new Gentoo system fails, due to python 3.2 being default in 2to3 not converting dict.iteritems and dict.itervalues to dict.items and dict.values. The to-be-attached patch and updated ebuild fix installation.
Created attachment 321086 [details, diff] pkgcore-0.8-replace-itervalues-py3.patch patch setup.py to work with python 3.2.
Created attachment 321088 [details] pkgcore-0.8-r1.ebuild
Comment on attachment 321088 [details] pkgcore-0.8-r1.ebuild --- pkgcore-0.8.ebuild 2012-08-05 07:49:06.000000000 +0200 +++ - 2012-08-12 17:35:14.625723720 +0200 @@ -30,6 +30,10 @@ python_pkg_setup } +src_prepare() { + epatch ${FILESDIR}/${PN}-${PV}-replace-itervalues-py3.patch +} + src_compile() { distutils_src_compile $(use_enable doc html-docs) }
*** This bug has been marked as a duplicate of bug 430130 ***
*** Bug 430130 has been marked as a duplicate of this bug. ***
I still get the same error with this patch. It has done nothing to help my situation. Also this bug has nothing to do with a new install or old of gentoo.
Would anyone be horribly offended if I added this to the ebuild? pkg_setup() { python_set_active_version 2 python_pkg_setup } It would be awesome if the only versions of pkgcore left in the tree were actually able to install...
releasing shortly.