Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485020 - =dev-python/speaklater-1.3 - Port to Python3.
Summary: =dev-python/speaklater-1.3 - Port to Python3.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/mitsuhiko/speaklat...
Whiteboard:
Keywords:
Depends on:
Blocks: 485024 485026
  Show dependency tree
 
Reported: 2013-09-15 16:29 UTC by René 'Necoro' Neumann
Modified: 2015-08-07 23:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
speaklater-1.3-py3-support.patch (speaklater-1.3-py3-support.patch,4.30 KB, patch)
2013-09-15 16:29 UTC, René 'Necoro' Neumann
Details | Diff
speaklater-1.3-r1-to-2.ebuild.patch (file_485020.txt,569 bytes, patch)
2013-09-15 19:47 UTC, Tom Wijsman (TomWij) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2013-09-15 16:29:01 UTC
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, ...).
Comment 1 René 'Necoro' Neumann 2013-09-15 16:48:23 UTC
--- /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
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-15 19:47:37 UTC
Created attachment 358734 [details, diff]
speaklater-1.3-r1-to-2.ebuild.patch

Attached reporter's ebuild patch.
Comment 3 René 'Necoro' Neumann 2014-07-17 16:16:53 UTC
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?
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2015-08-07 23:08:45 UTC
* 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