mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 16:47:21 -08:00
python.eclass, distutils.eclass: Ban for EAPI=6
Ban deprecated python and distutils eclasses to avoid being accidentally enabled in EAPI 6.
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
# This eclass is DEPRECATED. Please use python-r1, python-single-r1
|
||||
# or python-any-r1 instead.
|
||||
|
||||
if [[ ${EAPI} == 6 ]]; then
|
||||
die "${ECLASS}.eclass is banned in EAPI ${EAPI}"
|
||||
fi
|
||||
|
||||
if [[ ${_PYTHON_UTILS_R1} ]]; then
|
||||
die 'python.eclass can not be used with python-r1 suite eclasses.'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user