Summary: | dev-vcs/git: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ricmm |
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-07-22 21:20:23 UTC
From build log of dev-vcs/git-1.7.2: GEN git-svn GEN git-remote-testgit File "<string>", line 1 import sys; print 'lib/python%i.%i/site-packages' % sys.version_info[:2] ^ SyntaxError: invalid syntax GEN git-instaweb GEN git-mergetool--lib I've gone with single-version of python2 support. Python3 support is a long way behind. Support multiple versions of python2 requires a large revamp of the build system, which I'm not undertaking at this time. The ebuilds should call python_mod_optimize() and python_mod_cleanup(). Example: use python && python_mod_optimize git_remote_helpers I have added calls to python_mod_optimize() and python_mod_cleanup(). Just a heads up. git has removed the python helper script since 1.8.5-rc0. https://github.com/git/git/commit/ae34ac126fa609fb17955b02c685d7de164b4e54 |