-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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}
# 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[*]}" )
# 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[*]}" )
# 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[*]}" )
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
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}"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
}
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
}
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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/"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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/"
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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/"
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/"
-# 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"
DOCS=( AUTHORS ChangeLog NEWS README )
-S="${WORKDIR}/${P^^}"
+S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch \
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# 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,
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
x11-libs/libX11"
RDEPEND="${DEPEND}"
-S="${WORKDIR}"/${PN^}-${PV}-src
+S="${WORKDIR}/${MY_P}-src"
src_configure() {
local mycmakeargs=(
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
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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"
x11-libs/libX11"
RDEPEND="${DEPEND}"
-S="${WORKDIR}"/${PN^}-${PV}-src
+S="${WORKDIR}/${MY_P}-src"
src_configure() {
local mycmakeargs=(
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
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"
-# 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"
# 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
# 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"
# 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
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"
virtual/yacc
"
-S=${WORKDIR}/${PN}-${PN^^}_${PV//./_}
+S="${WORKDIR}/${PN}-${MY_P}"
DOCS=( AUTHORS ChangeLog NEWS README TODO )
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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}"
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}"
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}"
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
}
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"
}
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
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