Summary: | media-gfx/exiv2: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Stefan Briesenick (RETIRED) <sbriesen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-04-06 17:25:07 UTC
hmmm. Python is only needed for building the docs. So it doesn't install any python modules. But: ebuild fail if used with python 3.1. I try to investigate what to do. DEPEND="... doc? ( =dev-lang/python-2* ..." pkg_setup() { if use doc; then python_set_active_version 2 python_pkg_setup fi } no, that's not the right thing ;) it's just a small python script doc/templates/gen.py, which is only used for generating the docs. I did a version bump and fixed it there. I had to use the shebang-patch-feature, because of the "print is now a function" change in python3. Though it's a nice feauture, it breaks all old scripts. :-( I don't want to fix the old versions until anyone complains. All old versions are stable and I don't want to touch them. But I will remove the oldest version. |