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 3780A1382C5 for ; Tue, 19 May 2020 19:47:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B7B3E0827; Tue, 19 May 2020 19:47:52 +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 52772E0827 for ; Tue, 19 May 2020 19:47:52 +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 105DC34F146 for ; Tue, 19 May 2020 19:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 309C21D6 for ; Tue, 19 May 2020 19:47:49 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1589917655.c8b4d4f6e0de55fb7d18119ea06196dae06bc6a6.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycparser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycparser/pycparser-2.20.ebuild X-VCS-Directories: dev-python/pycparser/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: c8b4d4f6e0de55fb7d18119ea06196dae06bc6a6 X-VCS-Branch: master Date: Tue, 19 May 2020 19:47:49 +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: e5b34fc1-7ed1-4dab-bb18-43161648d498 X-Archives-Hash: 18329a1eae4650f526d963e0b20cd171 commit: c8b4d4f6e0de55fb7d18119ea06196dae06bc6a6 Author: Mike Gilbert gentoo org> AuthorDate: Tue May 19 19:46:09 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Tue May 19 19:47:35 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b4d4f6 Revert "dev-python/pycparser: trick tests into using CPP variable" This reverts commit f3af4c3be7962780f471641f0d8d2f6b9c335cdc. Bug: https://bugs.gentoo.org/719934 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pycparser/pycparser-2.20.ebuild | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/dev-python/pycparser/pycparser-2.20.ebuild b/dev-python/pycparser/pycparser-2.20.ebuild index 4227f14e0bf..4b222c379ee 100644 --- a/dev-python/pycparser/pycparser-2.20.ebuild +++ b/dev-python/pycparser/pycparser-2.20.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -inherit distutils-r1 toolchain-funcs +inherit distutils-r1 DESCRIPTION="C parser and AST generator written in Python" HOMEPAGE="https://github.com/eliben/pycparser" @@ -41,20 +41,9 @@ python_compile() { } python_test() { - # Trick the tests into using CPP variable - # https://bugs.gentoo.org/719934 - local CPP="$(tc-getCPP)" - mkdir -p "${T}"/bin || die - cat > "${T}"/bin/cpp <<-EOF || die - #!/bin/sh - exec ${CPP} "\$@" - EOF - chmod +x "${T}"/bin/cpp || die - local -x PATH="${T}/bin:${PATH}" - # change workdir to avoid '.' import cd tests || die - ${EPYTHON} -m unittest discover -v || die "Tests fail with ${EPYTHON}" + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } python_install() {