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 CC434138359 for ; Fri, 14 Aug 2020 23:22:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 251D8E08BB; Fri, 14 Aug 2020 23:22:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 09EA5E08BB for ; Fri, 14 Aug 2020 23:22:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E622D34F3A7 for ; Fri, 14 Aug 2020 23:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E3FE329 for ; Fri, 14 Aug 2020 23:22:21 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1597447291.612cd2e6fa190ff3a3e0d6f5bd281f91c1adf7db.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx-jinja/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild X-VCS-Directories: dev-python/sphinx-jinja/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 612cd2e6fa190ff3a3e0d6f5bd281f91c1adf7db X-VCS-Branch: master Date: Fri, 14 Aug 2020 23:22:21 +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: d853c1c0-2b90-4657-b237-66c6e0bb9a5f X-Archives-Hash: ffe5b9b3caafc03d8a47dcb4b409efbf commit: 612cd2e6fa190ff3a3e0d6f5bd281f91c1adf7db Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Aug 3 21:23:55 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Aug 14 23:21:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612cd2e6 dev-python/sphinx-jinja: Drop superfluous calls to python_is_python3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild index bc90a9dd204..45fa7d86089 100644 --- a/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild +++ b/dev-python/sphinx-jinja/sphinx-jinja-0.3.0.ebuild @@ -26,9 +26,8 @@ DEPEND="${RDEPEND} dev-python/sphinx-testing[${PYTHON_USEDEP}] )" python_prepare() { - if python_is_python3; then - sed -i -e "s/import urllib/import urllib.request as urllib/" sphinxcontrib/jinja.py || die - fi + sed -e "s/import urllib/import urllib.request as urllib/" \ + -i sphinxcontrib/jinja.py || die } python_test() {