| Summary: | app-text/calibre requires Python 2.5 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Cirus <s-worm> |
| Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | python, s-worm |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Python team, what's the best way to require Python 2.5? Simply >= in the dependency? (In reply to comment #1) > Python team, what's the best way to require Python 2.5? Simply >= in the > dependency? > add NEED_PYTHON=2.5 before inheriting distutils. Thanks Ali, thanks Cirus, this is fixed :) |
cd src/calibre/gui2 && python make.py cd src/calibre && python translations/__init__.py python resources.py Traceback (most recent call last): File "resources.py", line 10, in ? from calibre import __appname__ File "/var/tmp/portage/app-text/calibre-0.4.53/work/calibre-0.4.53/src/calibre/__init__.py", line 222 codec = 'cp1252' if iswindows else 'utf8' ^ SyntaxError: invalid syntax make: *** [resources] Error 1 make: *** Waiting for unfinished jobs.... File "make.py", line 58 alias = ' alias="library"' if x == p/'library.png' else '' ^ SyntaxError: invalid syntax make: *** [gui2] Error 1 Traceback (most recent call last): File "translations/__init__.py", line 7, in ? import sys, os, cStringIO, tempfile, subprocess, functools, tarfile ImportError: No module named functools make: *** [translations] Error 1 http://calibre.kovidgoyal.net/ticket/492 http://docs.python.org/lib/module-functools.html version dev-lang/python-2.5 need support and missing ~x86 support