dev-python/six: Remove pkg_setup check

Running python_foreach_impl from pkg_setup causes more problems
than it is worth.

Bug: https://bugs.gentoo.org/569962

Package-Manager: portage-2.2.26_p32
This commit is contained in:
Mike Gilbert
2015-12-28 11:27:15 -05:00
parent ff1c52dd8f
commit ee672ed083

View File

@@ -26,16 +26,6 @@ PATCHES=(
"${FILESDIR}"/1.9.0-mapping.patch
)
pkg_setup() {
six_dir_check() {
local dir="${ROOT%/}$(python_get_sitedir)"/six
if [[ -d "${dir}" ]]; then
die "${PN} doesn't work if ${dir} is a directory #546730"
fi
}
python_foreach_impl six_dir_check
}
python_prepare_all() {
# https://bitbucket.org/gutworth/six/issues/139/
sed \