summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-29 16:43:42 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-01-29 16:43:42 +0000
commitbca5dee930df1876854e8725d5295aa3783b311e (patch)
treef3ef0893d3adaf3326f2b3adbbd2ddbb3fd212ea /python-updater
parentProperly handle packages not supporting installation for multiple Python vers... (diff)
downloadpython-updater-bca5dee930df1876854e8725d5295aa3783b311e.tar.gz
python-updater-bca5dee930df1876854e8725d5295aa3783b311e.tar.bz2
python-updater-bca5dee930df1876854e8725d5295aa3783b311e.zip
Delete eclass check, which causes many false positives, relies on deprecated PYVER variable and is incompatible with packages, which set active version of Python.
Diffstat (limited to 'python-updater')
-rwxr-xr-xpython-updater24
1 files changed, 0 insertions, 24 deletions
diff --git a/python-updater b/python-updater
index a172dc5..d4bd86b 100755
--- a/python-updater
+++ b/python-updater
@@ -48,7 +48,6 @@ CUSTOM_PMS_COMMAND=""
ADDITIONAL_OPTIONS=""
# Checks
-CHECK_ECLASS=0
CHECK_MANUAL=1
CHECK_PYLIBDIR=1
CHECK_PYTHON_ABIS=1
@@ -97,7 +96,6 @@ done)
package manager.
-eCHECK --enable-CHECK
Enable CHECK where CHECK can be one of:
- * eclass (Disabled by default)
* pylibdir (Enabled by default)
* PYTHON_ABIS (Enabled by default)
* shared_linking (Enabled by default)
@@ -305,12 +303,6 @@ while [[ -n "${1}" ]]; do
shift
PIPE_COMMAND="${1}"
;;
- -eeclass|--enable-eclass)
- CHECK_ECLASS=1
- ;;
- -declass|--disable-eclass)
- CHECK_ECLASS=0
- ;;
-emanual|--enable-manual)
CHECK_MANUAL=1
;;
@@ -455,9 +447,6 @@ fi
[[ CHECK_PYLIBDIR -ne 0 ]] \
&& veinfo 1 'check "pylibdir" enabled.' \
|| veinfo 1 'check "pylibdir" disabled.'
-[[ CHECK_ECLASS -ne 0 ]] \
- && veinfo 1 'check "eclass" enabled.' \
- || veinfo 1 'check "eclass" disabled.'
[[ CHECK_MANUAL -ne 0 ]] \
&& veinfo 1 'check "manual" enabled.' \
|| veinfo 1 'check "manual" disabled.'
@@ -643,19 +632,6 @@ for content in $(find ${PKG_DBDIR}/ -name CONTENTS | sort); do
eoutdent && eoutdent
fi
fi
-
- if [[ CHECK_ECLASS -ne 0 ]]; then
- get_vdb_variable PYVER "${environment_file}"
- if echo "${PYVER}" | grep -qE "$(get_OLD_PYTHON_VERSIONS_REGEX)"; then
- PKGS_TO_REMERGE+=" ${CATPKGVER}"
- eindent
- einfo "Adding to list: ${CATPKGVER}"
- eindent
- veinfo 1 "check: eclass [ Ebuild set PYVER=${PYVER} ]"
- eoutdent && eoutdent
- continue
- fi
- fi
done
# Pipe to command if we have one