commit: ea6956048bcc981026586d867da137936fbc1917 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 10 15:31:59 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 10 15:31:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea695604
sys-apps/less: style fixes Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/less/less-618_beta.ebuild | 11 ++++++----- sys-apps/less/less-9999.ebuild | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sys-apps/less/less-618_beta.ebuild b/sys-apps/less/less-618_beta.ebuild index 9add6f6c1d52..afce93c3d215 100644 --- a/sys-apps/less/less-618_beta.ebuild +++ b/sys-apps/less/less-618_beta.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + WANT_AUTOMAKE=none WANT_LIBTOOL=none -if [[ $PV == 9999 ]]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/gwsw/less" inherit git-r3 fi @@ -21,8 +22,8 @@ MY_PV=${PV/_beta/-beta} MY_P=${PN}-${MY_PV} DESCRIPTION="Excellent text file viewer" HOMEPAGE="http://www.greenwoodsoftware.com/less/" -[ $PV != 9999 ] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P/?beta} +[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P/?beta} LICENSE="|| ( GPL-3 BSD-2 )" SLOT="0" @@ -37,7 +38,7 @@ RDEPEND="${DEPEND}" src_prepare() { default # Per upstream README to prepare live build - [ $PV == 9999 ] && emake -f Makefile.aut distfiles + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. # https://bugs.gentoo.org/870412 eautoreconf diff --git a/sys-apps/less/less-9999.ebuild b/sys-apps/less/less-9999.ebuild index 9add6f6c1d52..afce93c3d215 100644 --- a/sys-apps/less/less-9999.ebuild +++ b/sys-apps/less/less-9999.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + WANT_AUTOMAKE=none WANT_LIBTOOL=none -if [[ $PV == 9999 ]]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/gwsw/less" inherit git-r3 fi @@ -21,8 +22,8 @@ MY_PV=${PV/_beta/-beta} MY_P=${PN}-${MY_PV} DESCRIPTION="Excellent text file viewer" HOMEPAGE="http://www.greenwoodsoftware.com/less/" -[ $PV != 9999 ] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P/?beta} +[[ ${PV} != 9999 ]] && SRC_URI="http://www.greenwoodsoftware.com/less/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P/?beta} LICENSE="|| ( GPL-3 BSD-2 )" SLOT="0" @@ -37,7 +38,7 @@ RDEPEND="${DEPEND}" src_prepare() { default # Per upstream README to prepare live build - [ $PV == 9999 ] && emake -f Makefile.aut distfiles + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. # https://bugs.gentoo.org/870412 eautoreconf