From 3b8cba93fab70dd0fa89cebdd4b37c732580e9ac Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 22 Feb 2020 22:07:26 +0100 Subject: */*: [QA] Use consistent function definition formatting Signed-off-by: David Seifert --- sci-chemistry/apbs/apbs-1.4.1-r2.ebuild | 4 ++-- sci-chemistry/bodr/bodr-10.ebuild | 4 ++-- sci-chemistry/bodr/bodr-9-r1.ebuild | 4 ++-- sci-chemistry/easychem/easychem-0.6-r1.ebuild | 4 ++-- sci-chemistry/elem/elem-1.0.3-r2.ebuild | 6 +++--- sci-chemistry/modeller/modeller-9.20.ebuild | 8 ++++---- sci-chemistry/modeller/modeller-9.22.ebuild | 8 ++++---- .../pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild | 4 ++-- .../pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild | 4 ++-- sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild | 4 ++-- sci-chemistry/theseus/theseus-3.0.0.ebuild | 4 ++-- sci-chemistry/theseus/theseus-3.3.0.ebuild | 4 ++-- 12 files changed, 29 insertions(+), 29 deletions(-) (limited to 'sci-chemistry') diff --git a/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild b/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild index 88910ddde996..4ea1cfcd1fad 100644 --- a/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild +++ b/sci-chemistry/apbs/apbs-1.4.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -96,7 +96,7 @@ src_configure() { fi } -src_compile(){ +src_compile() { cmake-utils_src_compile if use python; then append-ldflags -L"${S}"/lib diff --git a/sci-chemistry/bodr/bodr-10.ebuild b/sci-chemistry/bodr/bodr-10.ebuild index 1d5763a1ba8a..4a8ecabc18c3 100644 --- a/sci-chemistry/bodr/bodr-10.ebuild +++ b/sci-chemistry/bodr/bodr-10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,7 +17,7 @@ RDEPEND="" DOCS=( "THANKS" "AUTHORS" "README" "ChangeLog" ) -src_prepare(){ +src_prepare() { sed -i -e "s/COPYING//g" Makefile.* || die } diff --git a/sci-chemistry/bodr/bodr-9-r1.ebuild b/sci-chemistry/bodr/bodr-9-r1.ebuild index 1d5763a1ba8a..4a8ecabc18c3 100644 --- a/sci-chemistry/bodr/bodr-9-r1.ebuild +++ b/sci-chemistry/bodr/bodr-9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -17,7 +17,7 @@ RDEPEND="" DOCS=( "THANKS" "AUTHORS" "README" "ChangeLog" ) -src_prepare(){ +src_prepare() { sed -i -e "s/COPYING//g" Makefile.* || die } diff --git a/sci-chemistry/easychem/easychem-0.6-r1.ebuild b/sci-chemistry/easychem/easychem-0.6-r1.ebuild index 650c236dfeaf..f299712514b9 100644 --- a/sci-chemistry/easychem/easychem-0.6-r1.ebuild +++ b/sci-chemistry/easychem/easychem-0.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -33,7 +33,7 @@ src_compile() { C_FLAGS="${CFLAGS}" emake -e } -src_install () { +src_install() { dobin easychem dodoc TODO } diff --git a/sci-chemistry/elem/elem-1.0.3-r2.ebuild b/sci-chemistry/elem/elem-1.0.3-r2.ebuild index daade3396d36..67290b4c6d85 100644 --- a/sci-chemistry/elem/elem-1.0.3-r2.ebuild +++ b/sci-chemistry/elem/elem-1.0.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -26,11 +26,11 @@ src_configure() { tc-export CC } -src_compile () { +src_compile() { emake all } -src_install () { +src_install() { dobin elem elem-de elem-en rm -rf doc/CVS || die diff --git a/sci-chemistry/modeller/modeller-9.20.ebuild b/sci-chemistry/modeller/modeller-9.20.ebuild index e7e80937b7fc..641395067b0d 100644 --- a/sci-chemistry/modeller/modeller-9.20.ebuild +++ b/sci-chemistry/modeller/modeller-9.20.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -36,12 +36,12 @@ pkg_setup() { esac } -python_prepare_all(){ +python_prepare_all() { sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die distutils-r1_python_prepare_all } -python_compile(){ +python_compile() { cd src/swig || die swig -python -keyword -nodefaultctor -nodefaultdtor -noproxy modeller.i || die distutils-r1_python_compile @@ -52,7 +52,7 @@ python_install() { distutils-r1_python_install } -python_install_all(){ +python_install_all() { cd "${S}" || die sed \ -e "/^EXECUTABLE_TYPE/s:xxx:${EXECTYPE}:g" \ diff --git a/sci-chemistry/modeller/modeller-9.22.ebuild b/sci-chemistry/modeller/modeller-9.22.ebuild index 57f11e16861f..2bc08bd43d4e 100644 --- a/sci-chemistry/modeller/modeller-9.22.ebuild +++ b/sci-chemistry/modeller/modeller-9.22.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -36,12 +36,12 @@ pkg_setup() { esac } -python_prepare_all(){ +python_prepare_all() { sed "s:i386-intel8:${EXECTYPE}:g" -i src/swig/setup.py || die distutils-r1_python_prepare_all } -python_compile(){ +python_compile() { cd src/swig || die swig -python -keyword -nodefaultctor -nodefaultdtor -noproxy modeller.i || die distutils-r1_python_compile @@ -52,7 +52,7 @@ python_install() { distutils-r1_python_install } -python_install_all(){ +python_install_all() { cd "${S}" || die sed \ -e "/^EXECUTABLE_TYPE/s:xxx:${EXECTYPE}:g" \ diff --git a/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild b/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild index 84f0f575775f..e7b2eb7d4771 100644 --- a/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild +++ b/sci-chemistry/pymol-plugins-emovie/pymol-plugins-emovie-1.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,7 +28,7 @@ src_prepare() { epatch "${FILESDIR}"/${PV}-indent.patch } -src_install(){ +src_install() { python_moduleinto pmg_tk/startup python_foreach_impl python_domodule eMovie.py python_foreach_impl python_optimize diff --git a/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild b/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild index 030ecde978e5..d1c826850f60 100644 --- a/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild +++ b/sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -39,7 +39,7 @@ src_prepare() { python_foreach_impl preparation } -src_install(){ +src_install() { dodoc *doc dohtml -r Thanks.html EDMHelp.htm Help diff --git a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild index 8f91aad3f659..6c8eb7c7eea0 100644 --- a/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild +++ b/sci-chemistry/rasmol/rasmol-2.7.5.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -91,7 +91,7 @@ src_compile() { EXTRA_LDOPTIONS="${LDFLAGS}" } -src_install () { +src_install() { libdir=$(get_libdir) insinto /usr/${libdir}/${PN} doins doc/rasmol.hlp diff --git a/sci-chemistry/theseus/theseus-3.0.0.ebuild b/sci-chemistry/theseus/theseus-3.0.0.ebuild index 9eebccc8bc96..583bdf1e28c5 100644 --- a/sci-chemistry/theseus/theseus-3.0.0.ebuild +++ b/sci-chemistry/theseus/theseus-3.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -57,7 +57,7 @@ src_prepare() { -i theseus_align || die } -src_compile () { +src_compile() { emake ltheseus default } diff --git a/sci-chemistry/theseus/theseus-3.3.0.ebuild b/sci-chemistry/theseus/theseus-3.3.0.ebuild index 9eebccc8bc96..583bdf1e28c5 100644 --- a/sci-chemistry/theseus/theseus-3.3.0.ebuild +++ b/sci-chemistry/theseus/theseus-3.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -57,7 +57,7 @@ src_prepare() { -i theseus_align || die } -src_compile () { +src_compile() { emake ltheseus default } -- cgit v1.2.3-65-gdbad