Skip to content

Commit

Permalink
dev-python/colorama: fix install with USE=examples
Browse files Browse the repository at this point in the history
Bug: 575896

Package-Manager: portage-2.2.27
  • Loading branch information
Andrey Grozin committed Mar 2, 2016
1 parent e72bae8 commit 149e7fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dev-python/colorama/colorama-0.3.6-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ IUSE="examples"
PATCHES=( "${FILESDIR}"/${P}.patch )

python_install_all() {
use examples && local EXAMPLES=( demos/. )
distutils-r1_python_install_all

if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
}

0 comments on commit 149e7fe

Please sign in to comment.