commit: 85db31f0291b8a329e26a9535e8e4733eab3de85 Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> AuthorDate: Mon Mar 26 10:09:11 2018 +0000 Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> CommitDate: Mon Mar 26 10:09:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85db31f0
dev-python/socketpool: fix EXAMPLES in EAPI 6 Also don't install unneeded files in /usr/socketpool Closes: https://bugs.gentoo.org/651064 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/socketpool/socketpool-0.5.3.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/socketpool/socketpool-0.5.3.ebuild b/dev-python/socketpool/socketpool-0.5.3.ebuild index 60c307504a9..e73308b6f45 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 }