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 62D7E138335 for ; Mon, 25 Nov 2019 12:35:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31401E0A10; Mon, 25 Nov 2019 12:35:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 C557BE0A10 for ; Mon, 25 Nov 2019 12:35:34 +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 EA47A34D388 for ; Mon, 25 Nov 2019 12:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 92A158C7 for ; Mon, 25 Nov 2019 12:35:30 +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: <1574685307.c7987ffe157fe95c602f40cbd0ef3cd3e8e54357.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gmpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/gmpy/gmpy-2.0.8-r1.ebuild X-VCS-Directories: dev-python/gmpy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c7987ffe157fe95c602f40cbd0ef3cd3e8e54357 X-VCS-Branch: master Date: Mon, 25 Nov 2019 12:35:30 +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: 19732c4d-42de-4a4c-a713-2a68e666b31f X-Archives-Hash: 22cf63b484f1c4031f884b9e5d76a2c4 commit: c7987ffe157fe95c602f40cbd0ef3cd3e8e54357 Author: Michał Górny gentoo org> AuthorDate: Mon Nov 25 12:24:57 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 25 12:35:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7987ffe dev-python/gmpy: Use distutils_enable_sphinx Signed-off-by: Michał Górny gentoo.org> dev-python/gmpy/gmpy-2.0.8-r1.ebuild | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/dev-python/gmpy/gmpy-2.0.8-r1.ebuild b/dev-python/gmpy/gmpy-2.0.8-r1.ebuild index 49b20e3409b..206a2329c1f 100644 --- a/dev-python/gmpy/gmpy-2.0.8-r1.ebuild +++ b/dev-python/gmpy/gmpy-2.0.8-r1.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="LGPL-3+" SLOT="2" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="doc mpir" +IUSE="mpir" RDEPEND=" >=dev-libs/mpc-1.0.2:= @@ -27,18 +27,14 @@ RDEPEND=" mpir? ( sci-libs/mpir:= )" DEPEND="${RDEPEND}" BDEPEND=" - app-arch/unzip - doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )" + app-arch/unzip" PATCHES=( "${FILESDIR}"/${P}-fix-mpir-types.patch "${FILESDIR}"/gmpy-2.0.8-test-exit-status.patch ) -python_check_deps() { - use doc || return 0 - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} +distutils_enable_sphinx docs python_prepare_all() { distutils-r1_python_prepare_all @@ -60,13 +56,6 @@ python_compile() { distutils-r1_python_compile } -python_compile_all() { - if use doc; then - emake -C docs html - HTML_DOCS=( docs/_build/html/. ) - fi -} - python_test() { cd test || die "${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}"