Files
gentoo/dev-python/cliff-tablib/cliff-tablib-1.1-r2.ebuild
T
David Seifert 939c31646d dev-python/cliff-tablib: Replace distutils-r1 EXAMPLES use
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
2020-03-20 10:56:01 +01:00

32 lines
786 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Formatter extensions of JSON, YAML, and HTML output for the cliff framework"
HOMEPAGE="https://github.com/dreamhost/cliff-tablib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
IUSE="doc examples"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="dev-python/tablib[${PYTHON_USEDEP}]
dev-python/cliff[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
if use examples; then
docinto examples
dodoc -r demoapp/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}