avoid using ${var^} and ${var,} as they do not work in bash-3.2
authorMike Frysinger <vapier@gentoo.org>
Wed, 11 Nov 2015 01:26:49 +0000 (20:26 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 11 Nov 2015 01:53:23 +0000 (20:53 -0500)
Once these upgrade to EAPI=6, they can use these case modification
features, so leave a reminder note in there.

29 files changed:
app-admin/yaala/yaala-0.7.3-r1.ebuild
app-office/calligra/calligra-2.9.6.ebuild
app-office/calligra/calligra-2.9.7.ebuild
app-office/calligra/calligra-9999.ebuild
app-text/searchmonkey/searchmonkey-2.0.0.ebuild
dev-db/SchemaSync/SchemaSync-0.9.2.ebuild
dev-java/groovy/groovy-2.4.5.ebuild
dev-python/SchemaObject/SchemaObject-0.5.3.ebuild
dev-python/cvxopt/cvxopt-1.1.6-r2.ebuild
dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
dev-scheme/gauche/gauche-0.9.3.3.ebuild
dev-scheme/gauche/gauche-0.9.4-r1.ebuild
dev-vcs/cssc/cssc-1.4.0.ebuild
eclass/cvs.eclass
games-board/gambit/gambit-1.0.1.ebuild
games-board/gambit/gambit-1.0.3.ebuild
games-fps/xonotic/xonotic-0.8.0.ebuild
games-fps/xonotic/xonotic-0.8.1.ebuild
media-sound/clementine/clementine-1.2.2.ebuild
media-sound/clementine/clementine-1.2.3.ebuild
media-sound/clementine/clementine-9999.ebuild
net-analyzer/apinger/apinger-0.4.1.ebuild
net-dns/dnsmasq/dnsmasq-2.66.ebuild
net-dns/dnsmasq/dnsmasq-2.72-r2.ebuild
net-dns/dnsmasq/dnsmasq-2.75.ebuild
sci-mathematics/sha1-polyml/sha1-polyml-5.5.0.ebuild
sys-devel/byfl/byfl-1.4.ebuild
sys-devel/byfl/byfl-9999.ebuild

index 22d252f61c3ccc2109769fdc83c837a24f6bdd36..0b19caef71b4ea722cd98eb1d80aba25e7b6f2ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,17 +28,20 @@ src_prepare() {
 src_install() {
        dobin ${PN}
 
-       exeinto /usr/lib64/perl5/vendor_perl/${PN^}/
-       doexe lib/${PN^}/*.pm
+       # Switch to ^y when we switch to EAPI=6.
+       local mod="Y${PN:1}"
 
-       exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Data/
-       doexe lib/${PN^}/Data/*.pm
+       exeinto /usr/lib64/perl5/vendor_perl/${mod}/
+       doexe lib/${mod}/*.pm
 
-       exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Parser/
-       doexe lib/${PN^}/Parser/*.pm
+       exeinto /usr/lib64/perl5/vendor_perl/${mod}/Data/
+       doexe lib/${mod}/Data/*.pm
 
-       exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Report/
-       doexe lib/${PN^}/Report/*.pm
+       exeinto /usr/lib64/perl5/vendor_perl/${mod}/Parser/
+       doexe lib/${mod}/Parser/*.pm
+
+       exeinto /usr/lib64/perl5/vendor_perl/${mod}/Report/
+       doexe lib/${mod}/Report/*.pm
 
        dodoc AUTHORS CHANGELOG README{,.persistency,.selections}
 
index 4031e5beaaa65c98ba1486ddf815f186dc6f5e5f..ea5198b88d1527aea6a0d75d513c838bf0d4a27f 100644 (file)
@@ -160,7 +160,10 @@ src_configure() {
 
        # applications
        for cal_ft in ${CAL_FTS}; do
-               use calligra_features_${cal_ft} && myproducts+=( ${cal_ft^^} )
+               # Switch to ^^ when we switch to EAPI=6.
+               #local prod=${cal_ft^^}
+               local prod=$(tr '[:lower:]' '[:upper:]' <<<"${cal_ft}")
+               use calligra_features_${cal_ft} && myproducts+=( "${prod}" )
        done
 
        local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" )
index 97cea479c13fb3a9dd08d1507cab6e1777d5fdfd..0822a6951c581b41d019fd64c24299f699e9ddcf 100644 (file)
@@ -157,7 +157,10 @@ src_configure() {
 
        # applications
        for cal_ft in ${CAL_FTS}; do
-               use calligra_features_${cal_ft} && myproducts+=( ${cal_ft^^} )
+               # Switch to ^^ when we switch to EAPI=6.
+               #local prod=${cal_ft^^}
+               local prod=$(tr '[:lower:]' '[:upper:]' <<<"${cal_ft}")
+               use calligra_features_${cal_ft} && myproducts+=( "${prod}" )
        done
 
        local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" )
index 97cea479c13fb3a9dd08d1507cab6e1777d5fdfd..0822a6951c581b41d019fd64c24299f699e9ddcf 100644 (file)
@@ -157,7 +157,10 @@ src_configure() {
 
        # applications
        for cal_ft in ${CAL_FTS}; do
-               use calligra_features_${cal_ft} && myproducts+=( ${cal_ft^^} )
+               # Switch to ^^ when we switch to EAPI=6.
+               #local prod=${cal_ft^^}
+               local prod=$(tr '[:lower:]' '[:upper:]' <<<"${cal_ft}")
+               use calligra_features_${cal_ft} && myproducts+=( "${prod}" )
        done
 
        local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" )
index 9bf17458ddd11962bf19151a7a5f8500046954dc..89c1cf9e730c4a5137302fa0e10195a46f2256cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,8 @@ MY_P=${PN}_v${PV}
 
 DESCRIPTION="Powerful text searches using regular expressions"
 HOMEPAGE="http://searchmonkey.sourceforge.net/"
-SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN^}/${PV}%20%5Bstable%5D/${MY_P}.zip"
+# Switch to ^s when we switch to EAPI=6.
+SRC_URI="mirror://sourceforge/project/${PN}/S${MY_PN:1}/${PV}%20%5Bstable%5D/${MY_P}.zip"
 
 LICENSE="GPL-3"
 SLOT="2"
index d11c55cae690d1cfff6b5fe5ac1e2bfc4c797625..2769787743be4258e6caabf3bd31332cc10a2777 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,9 @@ DESCRIPTION="MySQL Schema Versioning and Migration Utility"
 HOMEPAGE="http://schemasync.org/"
 SRC_URI="http://www.schemasync.org/downloads/${P}.tar.gz"
 
-pn="${PN,,}"
+# Switch to ,, when we switch to EAPI=6.
+#pn="${PN,,}"
+pn="schemasync"
 
 LICENSE="Apache-2.0"
 SLOT="0"
index 62183ff87c6dc75b285d042353303fa641ee50f4..d6d53f01fc773fd847b9fa760a882e7ea8aa7707 100644 (file)
@@ -7,7 +7,9 @@ JAVA_PKG_IUSE="doc source"
 
 inherit java-pkg-2 java-pkg-simple versionator
 
-MY_PN="${PN^^}"
+# Switch to ^^ when we switch to EAPI=6.
+#MY_PN="${PN^^}"
+MY_PN="GROOVY"
 MY_PV="$(replace_all_version_separators _ ${PV})"
 MY_P="${MY_PN}_${MY_PV}"
 
index 5cb07d3f8834abee01d1a89a5f33644473481bf8..6c56950b7f637ad0ff8bf650b878d16c278b06d4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -12,7 +12,9 @@ DESCRIPTION="A simple Python object interface to a MySQL database schema"
 HOMEPAGE="http://matuson.com/code/schemaobject/"
 SRC_URI="http://www.matuson.com/code/schemaobject/downloads/${P}.tar.gz"
 
-pn="${PN,,}"
+# Switch to ,, when we switch to EAPI=6.
+#pn="${PN,,}"
+pn="schemaobject"
 S="${WORKDIR}/${pn}"
 
 LICENSE="Apache-2.0"
index 256fcd3eb8404017ad5cfec6b710c52a116e9e2f..150ba15258957fe54a683deeb734b6ce7cd43322 100644 (file)
@@ -61,9 +61,13 @@ python_prepare_all(){
        }
 
        use_cvx() {
-               if use $1 ; then
+               local flag=$1
+               if use ${flag} ; then
+                       # Switch to ^^ when we switch to EAPI=6.
+                       #local uflag=${flag^^}
+                       local uflag=$(tr '[:lower:]' '[:upper:]' <<<"${flag}")
                        sed -i \
-                               -e "s/\(BUILD_${1^^} =\) 0/\1 1/" \
+                               -e "s/\(BUILD_${uflag} =\) 0/\1 1/" \
                                setup.py || die
                fi
        }
index 14215b85d0a220ff748dd39405e4b93ecfb1f889..3b670e5c3cdfe39faa4c2d58dcbc9fcc839dd1d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,8 @@ EAPI="5"
 
 inherit eutils
 
-MY_P="${P^g}"
+# Switch to ^g when we switch to EAPI=6.
+MY_P="G${P:1}"
 
 DESCRIPTION="OpenGL binding for Gauche"
 HOMEPAGE="http://practical-scheme.net/gauche/"
index 45b7fe38815d7e9b184790ffdf8973afc0ebe264..57687ddbac7ce1589e01e4553cf217b09b85d0aa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,8 @@ EAPI="5"
 
 inherit eutils
 
-MY_P="${P^g}"
+# Switch to ^g when we switch to EAPI=6.
+MY_P="G${P:1}"
 
 DESCRIPTION="OpenGL binding for Gauche"
 HOMEPAGE="http://practical-scheme.net/gauche/"
index ee0aa0df39781956c80f7a4a4cb8deb487f41dba..da7ad5f7fea61b6a5d885e947acce35bcc97b6cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,8 @@ EAPI="5"
 
 inherit autotools eutils
 
-MY_P="${P^g}"
+# Switch to ^g when we switch to EAPI=6.
+MY_P="G${P:1}"
 
 DESCRIPTION="A Unix system friendly Scheme Interpreter"
 HOMEPAGE="http://practical-scheme.net/gauche/"
index edcf1be6c676c9e9057eb2bd33646fa4c85500ec..2dbbe970ca2fd09ab51328a7c93b783e973a8b17 100644 (file)
@@ -6,7 +6,8 @@ EAPI="5"
 
 inherit autotools eutils
 
-MY_P="${P^g}"
+# Switch to ^g when we switch to EAPI=6.
+MY_P="G${P:1}"
 
 DESCRIPTION="A Unix system friendly Scheme Interpreter"
 HOMEPAGE="http://practical-scheme.net/gauche/"
index 4435d37edee438ae32f563acef8adcd7e86d7cef..3d138e2a56ebeda6ee856f18aad69da6349f8815 100644 (file)
@@ -1,12 +1,17 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit autotools eutils
 
+# Switch to ^^ when we switch to EAPI=6.
+#MY_PN="${PN^^}"
+MY_PN="CSSC"
+MY_P="${MY_PN}-${PV}"
+
 DESCRIPTION="The GNU Project's replacement for SCCS"
-SRC_URI="mirror://gnu/${PN}/${P^^}.tar.gz"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
 HOMEPAGE="https://www.gnu.org/software/cssc/"
 SLOT="0"
 LICENSE="GPL-3"
@@ -20,7 +25,7 @@ DEPEND="
 
 DOCS=( AUTHORS ChangeLog NEWS README )
 
-S="${WORKDIR}/${P^^}"
+S="${WORKDIR}/${MY_P}"
 
 src_prepare() {
        epatch \
index b9c8a818b6ca1e86bc334a4f56c027550adfdc7f..58efcf1aa2b6683eacc4051bbbd77398ad15c5ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -566,7 +566,7 @@ cvs_src_unpack() {
        # Implement some of base_src_unpack's functionality; note however
        # that base.eclass may not have been inherited!
        if [[ -n ${PATCHES} ]] ; then
-               debug-print "${FUNCNAME}: PATCHES=${PATCHES,} S=${S}, autopatching"
+               debug-print "${FUNCNAME}: PATCHES=${PATCHES}, S=${S}, autopatching"
                cd "${S}"
                epatch ${PATCHES}
                # Make sure we don't try to apply patches more than once,
index 9a55d662d015e271e61840e7709c76e505ac7edd..cd8832041c266c2c1ed38906f123e8c6ccae0383 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,9 +7,12 @@ EAPI="5"
 CMAKE_IN_SOURCE_BUILD=true
 inherit cmake-utils games
 
+# Switch to ^ when we switch to EAPI=6.
+MY_P="G${P:1}"
+
 DESCRIPTION="Qt-based chess application + engine \"gupta\""
 HOMEPAGE="http://sourceforge.net/projects/gambitchess/"
-SRC_URI="mirror://sourceforge/project/${PN}chess/${PN^}-${PV}/${PN^}-${PV}-src.tar.bz2"
+SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-src.tar.bz2"
 
 LICENSE="CC0-1.0"
 SLOT="0"
@@ -23,7 +26,7 @@ DEPEND="dev-qt/qtcore:4
        x11-libs/libX11"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/${PN^}-${PV}-src
+S="${WORKDIR}/${MY_P}-src"
 
 src_configure() {
        local mycmakeargs=(
@@ -45,7 +48,8 @@ src_install() {
        doins -r data/* || die
 
        doicon artwork/icons/${PN}/${PN}.svg
-       make_desktop_entry ${PN}chess ${PN^} ${PN} Game || die
+       # Switch to ^ when we switch to EAPI=6.
+       make_desktop_entry ${PN}chess G${PN:1} ${PN} Game || die
        dodoc doc/contributors.txt || die
 
        dogamesbin engine/gupta/gupta || die
index 9a55d662d015e271e61840e7709c76e505ac7edd..cd8832041c266c2c1ed38906f123e8c6ccae0383 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,9 +7,12 @@ EAPI="5"
 CMAKE_IN_SOURCE_BUILD=true
 inherit cmake-utils games
 
+# Switch to ^ when we switch to EAPI=6.
+MY_P="G${P:1}"
+
 DESCRIPTION="Qt-based chess application + engine \"gupta\""
 HOMEPAGE="http://sourceforge.net/projects/gambitchess/"
-SRC_URI="mirror://sourceforge/project/${PN}chess/${PN^}-${PV}/${PN^}-${PV}-src.tar.bz2"
+SRC_URI="mirror://sourceforge/project/${PN}chess/${MY_P}/${MY_P}-src.tar.bz2"
 
 LICENSE="CC0-1.0"
 SLOT="0"
@@ -23,7 +26,7 @@ DEPEND="dev-qt/qtcore:4
        x11-libs/libX11"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}"/${PN^}-${PV}-src
+S="${WORKDIR}/${MY_P}-src"
 
 src_configure() {
        local mycmakeargs=(
@@ -45,7 +48,8 @@ src_install() {
        doins -r data/* || die
 
        doicon artwork/icons/${PN}/${PN}.svg
-       make_desktop_entry ${PN}chess ${PN^} ${PN} Game || die
+       # Switch to ^ when we switch to EAPI=6.
+       make_desktop_entry ${PN}chess G${PN:1} ${PN} Game || die
        dodoc doc/contributors.txt || die
 
        dogamesbin engine/gupta/gupta || die
index a725428083a07ac051d3fde710dc2b73858dea7a..4fa4fedf5e3694c083ab5bad3f5a6bdc9c17298b 100644 (file)
@@ -5,7 +5,8 @@
 EAPI=5
 inherit eutils check-reqs games
 
-MY_PN="${PN^}"
+# Switch to ^ when we switch to EAPI=6.
+MY_PN="X${PN:1}"
 DESCRIPTION="Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine"
 HOMEPAGE="http://www.xonotic.org/"
 SRC_URI="http://dl.xonotic.org/${P}.zip"
index cea73568b1de868c0f3c2ac4fb432b8514f3a17e..1cf837c624b016d99940b655eddf0a1f9b744ed0 100644 (file)
@@ -1,11 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit eutils check-reqs toolchain-funcs games
 
-MY_PN="${PN^}"
+# Switch to ^ when we switch to EAPI=6.
+MY_PN="X${PN:1}"
 DESCRIPTION="Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine"
 HOMEPAGE="http://www.xonotic.org/"
 SRC_URI="http://dl.xonotic.org/${P}.zip"
index 9a65d1032530e7f367124af52473ab2fd4a8d3af..9eb2fe105b3e76ee5f2b2c1c3c3b75a5732b747a 100644 (file)
@@ -87,8 +87,9 @@ DOCS="Changelog"
 # https://github.com/clementine-player/Clementine/issues/3935
 RESTRICT="test"
 
+# Switch to ^ when we switch to EAPI=6.
 [[ ${PV} == *9999* ]] || \
-S="${WORKDIR}/${P^}"
+S="${WORKDIR}/C${P:1}"
 
 PATCHES=(
        "${FILESDIR}"/${P}-fix-build.patch
index 22d7690b0239d64c1f2ff6b4eacb780bd14a7641..ace65742d613e747e85e5210fd995c69d4d7e98a 100644 (file)
@@ -90,8 +90,9 @@ DOCS="Changelog"
 # https://github.com/clementine-player/Clementine/issues/3935
 RESTRICT="test"
 
+# Switch to ^ when we switch to EAPI=6.
 [[ ${PV} == *9999* ]] || \
-S="${WORKDIR}/${P^}"
+S="${WORKDIR}/C${P:1}"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.2.3-namespaces.patch"
index e8970fff8f50cdf4b769d181bb31b2bcbe48eae6..e1e83c0137ebcc55fc4843dd23692ed12ca965f6 100644 (file)
@@ -88,8 +88,9 @@ DOCS="Changelog"
 # https://github.com/clementine-player/Clementine/issues/3935
 RESTRICT="test"
 
+# Switch to ^ when we switch to EAPI=6.
 [[ ${PV} == *9999* ]] || \
-S="${WORKDIR}/${P^}"
+S="${WORKDIR}/C${P:1}"
 
 src_prepare() {
        cmake-utils_src_prepare
index b52981599b4f59fb49ccb90f0f7a61c0987d8334..05290113aadfc5864cd4fd501367993815cc11d4 100644 (file)
@@ -5,9 +5,14 @@
 EAPI=5
 inherit autotools
 
+# Switch to ^^ when we switch to EAPI=6.
+#MY_PN="${PN^^}"
+MY_PN="APINGER"
+MY_P="${MY_PN}_${PV//./_}"
+
 DESCRIPTION="Alarm Pinger"
 HOMEPAGE="https://github.com/Jajcus/apinger/"
-SRC_URI="${HOMEPAGE}archive/${PN^^}_${PV//./_}.tar.gz -> ${P}.tar.gz"
+SRC_URI="${HOMEPAGE}archive/${MY_P}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -18,7 +23,7 @@ DEPEND="
        virtual/yacc
 "
 
-S=${WORKDIR}/${PN}-${PN^^}_${PV//./_}
+S="${WORKDIR}/${PN}-${MY_P}"
 
 DOCS=( AUTHORS ChangeLog NEWS README TODO )
 
index 74eef761c495b90c02c6353f57a4a5eed5229050..a5dfba9bdd5c61fc62bf90523575e5f2e4c4a3ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -47,7 +47,9 @@ use_have() {
        fi
 
        local UWORD=${2:-$1}
-       UWORD=${UWORD^^*}
+       # Switch to ^^ when we switch to EAPI=6.
+       #UWORD=${UWORD^^}
+       UWORD=$(tr '[:lower:]' '[:upper:]' <<<"${UWORD}")
 
        if ! use ${1}; then
                echo " -DNO_${UWORD}"
index 2f14c001a891c6de52f0bf14077909d4f9751b5a..b119b064ce7290ea42be12529a1d6b378e2678bc 100644 (file)
@@ -69,7 +69,9 @@ use_have() {
        shift
 
        while [[ ${uword} ]]; do
-               uword=${uword^^*}
+               # Switch to ^^ when we switch to EAPI=6.
+               #uword=${uword^^}
+               uword=$(tr '[:lower:]' '[:upper:]' <<<"${uword}")
 
                if ! use "${useflag}"; then
                        echo -n " -DNO_${uword}"
index 05bc1cd731454779780d726ff7570be9594ca008..ecc0a1b9d74117c0ebc64659180f9c9c6307d606 100644 (file)
@@ -64,7 +64,9 @@ use_have() {
        shift
 
        while [[ ${uword} ]]; do
-               uword=${uword^^*}
+               # Switch to ^^ when we switch to EAPI=6.
+               #uword=${uword^^}
+               uword=$(tr '[:lower:]' '[:upper:]' <<<"${uword}")
 
                if ! use "${useflag}"; then
                        echo -n " -DNO_${uword}"
index b8150e07cd2b28e94ca3aee3b05e5d5e79e2be7c..a5d68567de68e9902db142d5775bf724317f60fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -60,9 +60,11 @@ src_prepare() {
 }
 
 src_compile() {
-       arch=$(uname -m)
-       uos=$(uname)
-       los=${uos,,}
+       local arch=$(uname -m)
+       local uos=$(uname)
+       # Switch to ,, when we switch to EAPI=6.
+       #local los=${uos,,}
+       local los=$(tr '[:upper:]' '[:lower:]' <<<"${uos}")
        ./build "${arch}-${los}" || die "build failed"
 }
 
index e57a7eac468cf039a774972def3d52472cdbedd5..4744ebfed7ff56e2f273f70a8cc94463f549257c 100644 (file)
@@ -8,7 +8,8 @@ inherit autotools-utils flag-o-matic
 
 if [ "${PV}" = "9999" ]; then
        LLVM_VERSION="3.7.0"
-       EGIT_REPO_URI="git://github.com/losalamos/${PN^b}.git https://github.com/losalamos/${PN}.git"
+       # Switch to ^b when we switch to EAPI=6.
+       EGIT_REPO_URI="git://github.com/losalamos/B${PN:1}.git https://github.com/losalamos/${PN}.git"
        inherit git-2
        KEYWORDS=""
        AUTOTOOLS_AUTORECONF=1
index e57a7eac468cf039a774972def3d52472cdbedd5..4744ebfed7ff56e2f273f70a8cc94463f549257c 100644 (file)
@@ -8,7 +8,8 @@ inherit autotools-utils flag-o-matic
 
 if [ "${PV}" = "9999" ]; then
        LLVM_VERSION="3.7.0"
-       EGIT_REPO_URI="git://github.com/losalamos/${PN^b}.git https://github.com/losalamos/${PN}.git"
+       # Switch to ^b when we switch to EAPI=6.
+       EGIT_REPO_URI="git://github.com/losalamos/B${PN:1}.git https://github.com/losalamos/${PN}.git"
        inherit git-2
        KEYWORDS=""
        AUTOTOOLS_AUTORECONF=1