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
"${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 \