Skip to content

Commit

Permalink
media-sound/csound: [QA] Add missing python metadata variables
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.5, Repoman-2.3.2
  • Loading branch information
SoapGentoo committed Apr 23, 2017
1 parent 7c4fb16 commit 2ee7d72
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions media-sound/csound/csound-6.08.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -25,7 +25,7 @@ REQUIRED_USE="
java? ( cxx )
linear? ( double-precision )
lua? ( cxx )
python? ( cxx )
python? ( ${PYTHON_REQUIRED_USE} cxx )
"

RDEPEND="
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions media-sound/csound/csound-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -31,7 +31,7 @@ REQUIRED_USE="
java? ( cxx )
linear? ( double-precision )
lua? ( cxx )
python? ( cxx )
python? ( ${PYTHON_REQUIRED_USE} cxx )
"

RDEPEND="
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2ee7d72

Please sign in to comment.