mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 23:08:09 -07:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user