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 (+9 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 71-77 Link Here
71
	if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
74
	if [ "${PYTHON_SLOT_VERSION}" = 'VIRTUAL' ] ; then
72
		ewarn "WARNING: You set PYTHON_SLOT_VERSION=VIRTUAL. So this ebuild will"
75
		ewarn "WARNING: You set PYTHON_SLOT_VERSION=VIRTUAL. So this ebuild will"
73
		ewarn "use python-2.2*. Zope Corp. only recommends using python-2.1.3 "
76
		ewarn "use python-2.2*. Zope Corp. only recommends using python-2.1.3 "
77
78
		sleep 12
79
	elif [ "${PYTHON_SLOT_VERSION}" != '' ] ; then
80
		ewarn "WARNING: You set PYTHON_SLOT_VERSION=${PYTHON_SLOT_VERSION}. So this ebuild will"
81
		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."
82
		ewarn "with this version of zope. Emerge at your own risk."
83
		ewarn "Python-2.3 is known NOT to work."
75
		sleep 12
84
		sleep 12
76
	fi
85
	fi
77
	enewgroup ${ZGID}
86
	enewgroup ${ZGID}

Return to bug 33372