mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user