Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323311 - python.eclass: Allow to define only build-time dependency on Python
Summary: python.eclass: Allow to define only build-time dependency on Python
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard: python-overlay
Keywords: InOverlay, InVCS
: 447052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-09 09:59 UTC by Peter Volkov (RETIRED)
Modified: 2013-03-02 14:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2010-06-09 09:59:00 UTC
Looks like it's impossible to specify only build time dependence on python: both RDEPEND and DEPEND are specified. pidgin and x11-plugins/purple-plugin_pack need python as build time dependency only. Please, provide means either to disable python deps in eclass or to separate DEPEND/RDEPEND. Thanks in advance.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-20 13:26:50 UTC
Support for PYTHON_BDEPEND was recently implemented.
Comment 2 SpanKY gentoo-dev 2012-01-23 23:59:56 UTC
*** Bug 341037 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2012-01-24 00:00:29 UTC
and the diff for adding it to gentoo-x86 is where ?
Comment 4 SpanKY gentoo-dev 2012-01-24 01:33:54 UTC
there's also the issue of python_set_active_version().  currently it only works inside of pkg_setup, but this doesn't really make sense considering the func only matters to compiling, so it should be restricted to src_* steps.  otherwise the eclass ends up aborting due to python not being installed when merging binpkgs.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2012-01-31 22:09:19 UTC
(In reply to comment #4)

'python' can be called in pkg_setup(). Some functions (PYTHON(), python_get_*()) are also affected by python_set_active_version() and are sometimes called in pkg_setup().
Comment 6 SpanKY gentoo-dev 2012-01-31 23:57:18 UTC
(In reply to comment #5)

you're assuming python is available at pkg_* time.  that is a fundamentally invalid assumption.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-13 16:03:41 UTC
*** Bug 447052 has been marked as a duplicate of this bug. ***
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-02 14:12:25 UTC
No new features will be added to python.eclass, so closing as WONTFIX.