diff options
author | Arthur Zamarin <arthurzam@gmail.com> | 2021-07-24 19:58:40 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-29 20:46:56 +0200 |
commit | f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68 (patch) | |
tree | 0e0aed695cad715061babdcca5ce06e4995edb8f /dev-python/aiohttp-jinja2 | |
parent | dev-python/aiohttp-jinja2: enable py3.10 and disable py3.7 (diff) | |
download | gentoo-f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68.tar.gz gentoo-f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68.tar.bz2 gentoo-f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68.zip |
dev-python/aiohttp-jinja2: use distutils_enable_sphinx for docs
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiohttp-jinja2')
-rw-r--r-- | dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild index 14138d00c26c..6afda9ed0652 100644 --- a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild +++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild @@ -14,25 +14,19 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}] >=dev-python/jinja-2.10[${PYTHON_USEDEP}] " -DEPEND=" - ${RDEPEND} - doc? ( - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) +BDEPEND=" test? ( >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] ) " DOCS=( README.rst ) distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/alabaster src_prepare() { default @@ -43,13 +37,3 @@ src_prepare() { distutils-r1_src_prepare } - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - - distutils-r1_python_install_all -} |