Created attachment 358726 [details, diff] speaklater-1.3-py3-support.patch I carved out the necessary parts of the patch by Thomas Waldmann (see URL) to add Py3-support for speaklater-1.3. The attached patch does only include the changes to speaklater.py -- the rest is somewhat unecessary clutter (changes to .gitignore, tox.ini, documentation in setup.py, ...).
--- /usr/portage/dev-python/speaklater/speaklater-1.3-r1.ebuild 2013-09-05 21:01:15.000000000 +0200 +++ speaklater-1.3-r2.ebuild 2013-09-15 18:01:11.356168270 +0200 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/dev-python/speaklater/speaklater-1.3-r1.ebuild,v 1.2 2013/09/05 18:46:44 mgorny Exp $ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) +PYTHON_COMPAT=( python{2_6,2_7,3_3} pypy2_0 ) inherit distutils-r1 DESCRIPTION="Lazy strings for Python" @@ -18,6 +18,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/nose[${PYTHON_USEDEP}] )" +PATCHES=( "${FILESDIR}/${P}-py3-support.patch" ) DISTUTILS_IN_SOURCE_BUILD=1
Created attachment 358734 [details, diff] speaklater-1.3-r1-to-2.ebuild.patch Attached reporter's ebuild patch.
Given that is the reason two other packages can not get py3-support, can we expect this patch be added to the tree (upstream seems dead in that respect), or is this inpropable?
* dev-python/speaklater Available versions: 1.3-r1 {test PYTHON_TARGETS="pypy python2_7 python3_3 python3_4"} Homepage: https://github.com/mitsuhiko/speaklater Description: Lazy strings for Python Has got support for python 3.x