diff --git a/dev-python/socketpool/socketpool-0.5.3.ebuild b/dev-python/socketpool/socketpool-0.5.3.ebuild index 60c307504a979..e73308b6f4542 100644 --- a/dev-python/socketpool/socketpool-0.5.3.ebuild +++ b/dev-python/socketpool/socketpool-0.5.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -26,6 +26,12 @@ python_test() { } python_install_all() { - use examples && local EXAMPLES=( examples/. ) + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi distutils-r1_python_install_all + + # package installs unneeded LICENSE files here + rm -rf "${ED}"/usr/socketpool || die }