From: Mike Gilbert Date: Mon, 28 Dec 2015 16:27:15 +0000 (-0500) Subject: dev-python/six: Remove pkg_setup check X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ee672ed083b9ef11353088e6b6252c28404d38c7;p=gentoo.git 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 --- diff --git a/dev-python/six/six-1.10.0.ebuild b/dev-python/six/six-1.10.0.ebuild index b00b76cf9777..cb6a767b3815 100644 --- a/dev-python/six/six-1.10.0.ebuild +++ b/dev-python/six/six-1.10.0.ebuild @@ -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 \