From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF19A139000 for ; Thu, 29 Jul 2021 18:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF9BEE0920; Thu, 29 Jul 2021 18:47:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5AD2E0920 for ; Thu, 29 Jul 2021 18:47:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B7BE342BB6 for ; Thu, 29 Jul 2021 18:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5065484F for ; Thu, 29 Jul 2021 18:47:02 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1627584416.f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp-jinja2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild X-VCS-Directories: dev-python/aiohttp-jinja2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68 X-VCS-Branch: master Date: Thu, 29 Jul 2021 18:47:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60de9522-8bd6-468e-82d9-bd2fe86cfbcc X-Archives-Hash: c4d40554deb2e34029a6bca6a44dd8f5 commit: f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68 Author: Arthur Zamarin gmail com> AuthorDate: Sat Jul 24 16:58:40 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jul 29 18:46:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a8d94c dev-python/aiohttp-jinja2: use distutils_enable_sphinx for docs Signed-off-by: Arthur Zamarin gmail.com> Signed-off-by: Michał Górny gentoo.org> .../aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild | 20 ++------------------ 1 file 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 14138d00c26..6afda9ed065 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 -}