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 6BB03138350 for ; Mon, 6 Apr 2020 18:45:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFC1EE096F; Mon, 6 Apr 2020 18:45:12 +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 8ED5AE096F for ; Mon, 6 Apr 2020 18:45:12 +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 947C634F007 for ; Mon, 6 Apr 2020 18:45:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD40A19B for ; Mon, 6 Apr 2020 18:45:09 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1586198676.fc93a7a89a63b07e103b38e640185b510c18b7c3.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/docs.eclass X-VCS-Directories: eclass/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: fc93a7a89a63b07e103b38e640185b510c18b7c3 X-VCS-Branch: dev Date: Mon, 6 Apr 2020 18:45:09 +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: cddb367e-5c54-471b-8f78-7681d870f7fd X-Archives-Hash: 1bbc06e7adee3d3d49105f8e55c60966 Message-ID: <20200406184509.SzeVCvwXRS9itWy3JGpyZuUx_03wHpfeqY24VMyAuT8@z> commit: fc93a7a89a63b07e103b38e640185b510c18b7c3 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Apr 6 18:44:36 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Apr 6 18:44:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc93a7a8 eclass/docs: small fixes Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> eclass/docs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/docs.eclass b/eclass/docs.eclass index 618d8a5..e3eaaa3 100644 --- a/eclass/docs.eclass +++ b/eclass/docs.eclass @@ -93,7 +93,7 @@ esac # because these eclasses are incompatible. # We also need to set 'something' to be able # to inherit python-any-r1 at all -if [[ ! ${PYTHON_COMPAT} ]]; then +if [[ -z "${PYTHON_COMPAT}" ]]; then PYTHON_COMPAT=( python3_{6,7,8} ) inherit python-any-r1 else @@ -299,7 +299,7 @@ fi # If this is a python package using distutils-r1 # then put the compile function in the specific # python function, else just put it in src_compile -if [[ ${DISTUTILS_USE_SETUPTOOLS} ]]; then +if [[ -n "${DISTUTILS_USE_SETUPTOOLS}" ]]; then python_compile_all() { docs_compile; } else src_compile() { docs_compile; }