Summary: | app-arch/createrepo: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dabbott, idella4 |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 | ||
Attachments: |
createrepo-0.9.8-r1.ebuild
createrepo-0.9.8-r1.ebuild ebuild patch |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-03-07 17:07:03 UTC
Created attachment 230091 [details]
createrepo-0.9.8-r1.ebuild
Installs with 2 or 3 but will only work with 2 because of old style print statements.
You can also remove dev-lang/python from RDEPEND, because PYTHON_DEPEND="2" already changes DEPEND/RDEPEND. Created attachment 230201 [details]
createrepo-0.9.8-r1.ebuild
Created attachment 292257 [details, diff]
ebuild patch
re-tested
python2 2.5 2.6 2.7 3.1 3.2. Fails on python 2.5
Adjusted to EAPI 3, minor change D -> ED
re-assigned. python team please review. correction @@ -2,7 +2,12 -RDEPEND="dev-lang/python +RDEPEND=">=dev-python/urlgrabber-2.9.0 - >=dev-python/urlgrabber-2.9.0 Had not read comment 2 Fixed, thanks Ian. (In reply to comment #4 and comment #7) Portage itself requires Python >=2.6 and it has no relation to Python version required by other packages. If you install sys-apps/portage with USE="python3", then you will be able to set active version of Python 2 to 2.4 or 2.5 and still use Portage (Portage will use active version of Python 3 regardless of active version of Python 2). Use PYTHON_DEPEND="2". |