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 E7E82139694 for ; Sun, 23 Apr 2017 11:29:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4EFEE0C04; Sun, 23 Apr 2017 11:29:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B8421E0C04 for ; Sun, 23 Apr 2017 11:29:32 +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 F30CC34071C for ; Sun, 23 Apr 2017 11:29:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 929907443 for ; Sun, 23 Apr 2017 11:29:28 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1492946857.2ee7d72d539753a7e9f9e9752d888f0d9f121f80.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/csound/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/csound/csound-6.08.0.ebuild media-sound/csound/csound-9999.ebuild X-VCS-Directories: media-sound/csound/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 2ee7d72d539753a7e9f9e9752d888f0d9f121f80 X-VCS-Branch: master Date: Sun, 23 Apr 2017 11:29:28 +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-Archives-Salt: d54b1614-3897-48e4-883a-fcaa8df69150 X-Archives-Hash: 77ca81821eac2508298debd3eef5579c commit: 2ee7d72d539753a7e9f9e9752d888f0d9f121f80 Author: David Seifert gentoo org> AuthorDate: Sun Apr 23 10:30:05 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Apr 23 11:27:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee7d72d media-sound/csound: [QA] Add missing python metadata variables Package-Manager: Portage-2.3.5, Repoman-2.3.2 media-sound/csound/csound-6.08.0.ebuild | 10 +++++----- media-sound/csound/csound-9999.ebuild | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/media-sound/csound/csound-6.08.0.ebuild b/media-sound/csound/csound-6.08.0.ebuild index a28fec3c57e..8cc84ab08b7 100644 --- a/media-sound/csound/csound-6.08.0.ebuild +++ b/media-sound/csound/csound-6.08.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -25,7 +25,7 @@ REQUIRED_USE=" java? ( cxx ) linear? ( double-precision ) lua? ( cxx ) - python? ( cxx ) + python? ( ${PYTHON_REQUIRED_USE} cxx ) " RDEPEND=" @@ -82,12 +82,12 @@ DEPEND="${RDEPEND} RESTRICT="test" pkg_pretend() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + if use python || use test ; then python-single-r1_pkg_setup fi diff --git a/media-sound/csound/csound-9999.ebuild b/media-sound/csound/csound-9999.ebuild index 06c09139e74..b67f5ec5779 100644 --- a/media-sound/csound/csound-9999.ebuild +++ b/media-sound/csound/csound-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -31,7 +31,7 @@ REQUIRED_USE=" java? ( cxx ) linear? ( double-precision ) lua? ( cxx ) - python? ( cxx ) + python? ( ${PYTHON_REQUIRED_USE} cxx ) " RDEPEND=" @@ -88,12 +88,12 @@ DEPEND="${RDEPEND} RESTRICT="test" pkg_pretend() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + if use python || use test ; then python-single-r1_pkg_setup fi