Summary: | dev-util/bam: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Mounir Lamouri (volkmar) (RETIRED) <volkmar> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | idella4 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 | ||
Attachments: |
ebuild patch
revised ebuild patch revised ebuild patch |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
2010-06-16 20:12:10 UTC
Created attachment 292385 [details]
ebuild patch
Tested, left at EAPI 2. all ok
(In reply to comment #1) This package needs Python 2, and only at build time. Don't set PYTHON_DEPEND. If new syntax of PYTHON_DEPEND/PYTHON_BDEPEND was available in gentoo-x86, then PYTHON_BDEPEND="doc? ( <<2>> ) test? ( <<2>> )" should be used. In the meantime, please use: DEPEND="${RDEPEND} doc? ( =dev-lang/python-2* ) test? ( =dev-lang/python-2* )" Please use: pkg_setup() { if use doc || use test; then python_set_active_version 2 python_pkg_setup fi } Created attachment 293015 [details, diff]
revised ebuild patch
(In reply to comment #3) This patch is not for unmodified ebuilds. Created attachment 293849 [details, diff]
revised ebuild patch
Fixed in the new bumped version. |