diff --git a/dev-python/flask-peewee/flask-peewee-0.6.7.ebuild b/dev-python/flask-peewee/flask-peewee-0.6.7.ebuild index cddfc580b3ff2..b462257730d99 100644 --- a/dev-python/flask-peewee/flask-peewee-0.6.7.ebuild +++ b/dev-python/flask-peewee/flask-peewee-0.6.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -41,7 +41,11 @@ python_test() { python_install_all() { use doc && local HTML_DOCS=( docs/_build/html/. ) - use examples && local EXAMPLES=( example/. ) + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi distutils-r1_python_install_all }