dev-python/six: Remove pkg_setup check
authorMike Gilbert <floppym@gentoo.org>
Mon, 28 Dec 2015 16:27:15 +0000 (11:27 -0500)
committerMike Gilbert <floppym@gentoo.org>
Mon, 28 Dec 2015 16:27:19 +0000 (11:27 -0500)
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

dev-python/six/six-1.10.0.ebuild

index b00b76cf9777b03c5d5e0d9ddd97483f9fdfa9c1..cb6a767b38154081e3941bbe45d4401ecd65ecdb 100644 (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 \