Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 33372 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-zope/zope/zope-2.6.2.ebuild (-3 / +7 lines)
Lines 23-28 Link Here
23
if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
23
if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
24
	RDEPEND="virtual/python"
24
	RDEPEND="virtual/python"
25
	python='python'
25
	python='python'
26
elif [ "${PYTHON_SLOT_VERSION}" != '' ] ; then
27
	RDEPEND="=dev-lang/python-${PYTHON_SLOT_VERSION}*"
28
	python="python${PYTHON_SLOT_VERSION}"
26
else
29
else
27
	RDEPEND="=dev-lang/python-2.1.3*"
30
	RDEPEND="=dev-lang/python-2.1.3*"
28
	python='python2.1'
31
	python='python2.1'
Lines 68-77 Link Here
68
}
71
}
69
72
70
pkg_setup() {
73
pkg_setup() {
71
	if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
74
	if [ "${PYTHON_SLOT_VERSION}" != '' ] ; then
72
		ewarn "WARNING: You set PYTHON_SLOT_VERSION=VIRTUAL. So this ebuild will"
75
		ewarn "WARNING: You set PYTHON_SLOT_VERSION=${PYTHON_SLOT_VERSION}. So this ebuild will"
73
		ewarn "use python-2.2*. Zope Corp. only recommends using python-2.1.3 "
76
		ewarn "use python-${PYTHON_SLOT_VERSION}*. Zope Corp. only recommends using python-2.1.3 "
74
		ewarn "with this version of zope. Emerge at your own risk."
77
		ewarn "with this version of zope. Emerge at your own risk."
78
		ewarn "Python-2.3 is known NOT to work."
75
		sleep 12
79
		sleep 12
76
	fi
80
	fi
77
	enewgroup ${ZGID}
81
	enewgroup ${ZGID}

Return to bug 33372