Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44724 - QA: zope ebuild has dynamic RDEPEND
Summary: QA: zope ebuild has dynamic RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 22:27 UTC by Marius Mauch (RETIRED)
Modified: 2004-07-24 15:10 UTC (History)
1 user (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 Marius Mauch (RETIRED) gentoo-dev 2004-03-14 22:27:25 UTC
if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
	RDEPEND="virtual/python"
	python='python'
elif [ "${PYTHON_SLOT_VERSION}" != '' ] ; then
	RDEPEND="=dev-lang/python-${PYTHON_SLOT_VERSION}*"
	python="python${PYTHON_SLOT_VERSION}"
else
	RDEPEND="=dev-lang/python-2.1.3*"
	python='python2.1'
fi

is broken behaviour as it doesn't work with portage's cache mechanism. Portage variables can't be assigned conditionally if the condition depends on the local environment.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-15 02:18:57 UTC
currently i don't see a possibility to change that, but with zope 2.7 there will be no problems with python anymore since it will work with the latest version
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-03-26 23:15:38 UTC
As I said, it doesn't work at all right now, it will always RDEPEND on python-2.1.3 unless the user manually deletes the cache entries for zope.
Comment 3 Jodok Batlogg (RETIRED) gentoo-dev 2004-07-24 15:10:55 UTC
the new ebuilds >=net-zope/zope-2.7.1 don't have that problem anymore