1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python2_7 python3_6 )
9 DESCRIPTION="A sphinx extension for embedding block diagrams using blockdiag"
11 HOMEPAGE="https://github.com/blockdiag/sphinxcontrib-blockdiag"
13 SRC_URI="https://github.com/blockdiag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
24 dev-python/sphinx[${PYTHON_USEDEP}]
25 >=dev-python/blockdiag-1.5.0[${PYTHON_USEDEP}]
30 python_prepare_all() {
31 sed -i -e /build-base/d setup.cfg || die
32 distutils-r1_python_prepare_all