diff options
author | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:16 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-20 10:56:16 +0100 |
commit | ca7b86f80e288ce7832a1f167a7886d39de9c97e (patch) | |
tree | ba909ed99c7a17119ac26eabaf7df6bfa65949da /dev-python/flask-peewee | |
parent | dev-python/editobj: Replace distutils-r1 EXAMPLES use (diff) | |
download | gentoo-ca7b86f80e288ce7832a1f167a7886d39de9c97e.tar.gz gentoo-ca7b86f80e288ce7832a1f167a7886d39de9c97e.tar.bz2 gentoo-ca7b86f80e288ce7832a1f167a7886d39de9c97e.zip |
dev-python/flask-peewee: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/flask-peewee')
-rw-r--r-- | dev-python/flask-peewee/flask-peewee-0.6.7.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
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 cddfc580b3ff..b462257730d9 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 } |