Skip to content

Commit 3b8cba9

Browse files
committed
*/*: [QA] Use consistent function definition formatting
Signed-off-by: David Seifert <[email protected]>
1 parent 0aa6646 commit 3b8cba9

File tree

922 files changed

+1638
-1638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

922 files changed

+1638
-1638
lines changed

app-accessibility/sound-icons/sound-icons-0.1.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -14,7 +14,7 @@ IUSE=""
1414

1515
RDEPEND="app-accessibility/speech-dispatcher"
1616

17-
src_compile(){
17+
src_compile() {
1818
einfo "Nothing to compile."
1919
}
2020

app-admin/bcfg2/bcfg2-1.2.4-r1.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2016 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=5
@@ -58,7 +58,7 @@ python_install() {
5858
fi
5959
}
6060

61-
pkg_postinst () {
61+
pkg_postinst() {
6262
if use server; then
6363
einfo "If this is a new installation, you probably need to run:"
6464
einfo " bcfg2-admin init"

app-admin/cgmanager/cgmanager-0.41.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ src_configure() {
3838
--with-init-script=systemd
3939
}
4040

41-
src_install () {
41+
src_install() {
4242
default
4343

4444
# I see no reason to have the tests in the filesystem. Drop them

app-admin/cgmanager/cgmanager-0.42.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -38,7 +38,7 @@ src_configure() {
3838
--with-init-script=systemd
3939
}
4040

41-
src_install () {
41+
src_install() {
4242
default
4343

4444
# I see no reason to have the tests in the filesystem. Drop them

app-admin/pwcrypt/pwcrypt-1.2.2-r2.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -16,7 +16,7 @@ IUSE=""
1616

1717
DOCS=( CREDITS README )
1818

19-
src_prepare() {
19+
src_prepare() {
2020
default
2121
sed -i "s/make\( \|$\)/\$(MAKE)\1/g" Makefile.in || die
2222
sed -i \

app-admin/verynice/verynice-1.1-r3.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -25,7 +25,7 @@ src_compile() {
2525
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr
2626
}
2727

28-
src_install(){
28+
src_install() {
2929
emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install
3030
doinitd "${FILESDIR}"/verynice
3131
systemd_dounit "${FILESDIR}"/verynice.service

app-arch/brotli/brotli-1.0.6-r1.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ src_compile() {
6060
use python && distutils-r1_src_compile
6161
}
6262

63-
python_test(){
63+
python_test() {
6464
esetup.py test || die
6565
}
6666

app-arch/brotli/brotli-1.0.7.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ src_compile() {
5959
use python && distutils-r1_src_compile
6060
}
6161

62-
python_test(){
62+
python_test() {
6363
esetup.py test || die
6464
}
6565

app-arch/brotli/brotli-9999.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ src_compile() {
5959
use python && distutils-r1_src_compile
6060
}
6161

62-
python_test(){
62+
python_test() {
6363
esetup.py test || die
6464
}
6565

app-arch/lz5/lz5-2.0.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2017 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -25,7 +25,7 @@ src_compile() {
2525
emake -Cprograms CC="$(tc-getCC)" lz5
2626
}
2727

28-
src_install(){
28+
src_install() {
2929
emake install DESTDIR="${D}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
3030
if ! use static-libs; then
3131
rm "${D}"/usr/$(get_libdir)/liblz5.a || die

app-backup/duplicity/duplicity-0.8.09-r1.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SRC_URI="https://code.launchpad.net/${PN}/$(ver_cut 1-2)-series/${PV}/+download/
1212

1313
LICENSE="GPL-3"
1414
SLOT="0"
15-
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
15+
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
1616
IUSE="s3 test"
1717

1818
CDEPEND="

app-backup/rear/rear-1.15-r1.ebuild

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2017 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI="5"
@@ -29,13 +29,13 @@ RDEPEND="
2929
udev? ( virtual/udev )
3030
"
3131

32-
src_prepare () {
32+
src_prepare() {
3333
epatch "${FILESDIR}/${P}-add-support-for-gentoo-kernels.patch"
3434
}
3535

36-
src_compile () { :; }
36+
src_compile() { :; }
3737

38-
src_install () {
38+
src_install() {
3939
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
4040
# drive with the label 'REAR_000' is connected, which in turn is the
4141
# default label when running the `rear format` command.

app-backup/rear/rear-1.17.0.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2017 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI="5"
@@ -31,9 +31,9 @@ RDEPEND="
3131
udev? ( virtual/udev )
3232
"
3333

34-
src_compile () { :; }
34+
src_compile() { :; }
3535

36-
src_install () {
36+
src_install() {
3737
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
3838
# drive with the label 'REAR_000' is connected, which in turn is the
3939
# default label when running the `rear format` command.

app-backup/rear/rear-1.17.1.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2017 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI="5"
@@ -31,9 +31,9 @@ RDEPEND="
3131
udev? ( virtual/udev )
3232
"
3333

34-
src_compile () { :; }
34+
src_compile() { :; }
3535

36-
src_install () {
36+
src_install() {
3737
# Deploy udev USB rule and udev will autostart ReaR workflows in case a USB
3838
# drive with the label 'REAR_000' is connected, which in turn is the
3939
# default label when running the `rear format` command.

app-backup/tsm/tsm-7.1.8.0.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2018 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -114,7 +114,7 @@ src_unpack() {
114114
chmod -R u+w "${S}" || die
115115
}
116116

117-
src_install(){
117+
src_install() {
118118
cp -a opt "${D}" || die
119119
cp -a usr "${D}" || die
120120

app-backup/tsm/tsm-8.1.6.0.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2018 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -114,7 +114,7 @@ src_unpack() {
114114
chmod -R u+w "${S}" || die
115115
}
116116

117-
src_install(){
117+
src_install() {
118118
cp -a opt "${D}" || die
119119
cp -a usr "${D}" || die
120120

app-benchmarks/contest/contest-0.61-r1.ebuild

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2017 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -19,7 +19,7 @@ PATCHES=(
1919
"${FILESDIR}/${P}-fix-buildsystem.patch"
2020
)
2121

22-
src_prepare () {
22+
src_prepare() {
2323
# fix #570250 by restoring pre-GCC5 inline semantics
2424
append-cflags -std=gnu89
2525

app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2015 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=5
@@ -19,7 +19,7 @@ IUSE="cpu_flags_x86_sse pic"
1919

2020
S="${WORKDIR}/${MY_P}"
2121

22-
src_configure(){
22+
src_configure() {
2323
local obj
2424
local arch_prefix=./
2525

@@ -53,7 +53,7 @@ src_configure(){
5353
echo "ramsmp: ${obj[@]}" > Makefile
5454
}
5555

56-
src_install(){
56+
src_install() {
5757
dobin ramsmp
5858
dosym ramsmp /usr/bin/ramspeed
5959
dodoc HISTORY README

app-cdr/dumpet/dumpet-2.1_p20140601-r1.ebuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ src_compile() {
3737
emake CFLAGS="${CFLAGS}" dumpet
3838
}
3939

40-
pkg_setup(){
40+
pkg_setup() {
4141
tc-export CC
4242
}

app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2018 Gentoo Foundation
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=5
@@ -22,18 +22,18 @@ RDEPEND=""
2222

2323
S=${WORKDIR}/${MY_P}
2424

25-
src_prepare () {
25+
src_prepare() {
2626
sed -i "s:wirouterkeyrec:${PN}:" src/*.h || die
2727
}
2828

29-
src_compile () {
29+
src_compile() {
3030
emake \
3131
CC="$(tc-getCC)" \
3232
CFLAGS="${CFLAGS}" \
3333
LDFLAGS="${LDFLAGS}"
3434
}
3535

36-
src_install () {
36+
src_install() {
3737
newbin build/wirouterkeyrec ${PN}
3838
insinto /etc/${PN}
3939
doins config/agpf_config.lst config/teletu_config.lst

app-crypt/eid-mw/eid-mw-4.4.1.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -77,14 +77,14 @@ src_install() {
7777
fi
7878
}
7979

80-
pkg_postinst(){
80+
pkg_postinst() {
8181
if use gtk; then
8282
gnome2_schemas_update
8383
gnome2_icon_cache_update
8484
fi
8585
}
8686

87-
pkg_postrm(){
87+
pkg_postrm() {
8888
if use gtk; then
8989
gnome2_schemas_update
9090
gnome2_icon_cache_update

app-crypt/eid-mw/eid-mw-4.4.19.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -86,15 +86,15 @@ src_install() {
8686
fi
8787
}
8888

89-
pkg_postinst(){
89+
pkg_postinst() {
9090
if use gtk; then
9191
gnome2_schemas_update
9292
xdg_desktop_database_update
9393
xdg_icon_cache_update
9494
fi
9595
}
9696

97-
pkg_postrm(){
97+
pkg_postrm() {
9898
if use gtk; then
9999
gnome2_schemas_update
100100
xdg_desktop_database_update

app-crypt/eid-mw/eid-mw-4.4.23.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -86,15 +86,15 @@ src_install() {
8686
fi
8787
}
8888

89-
pkg_postinst(){
89+
pkg_postinst() {
9090
if use gtk; then
9191
gnome2_schemas_update
9292
xdg_desktop_database_update
9393
xdg_icon_cache_update
9494
fi
9595
}
9696

97-
pkg_postrm(){
97+
pkg_postrm() {
9898
if use gtk; then
9999
gnome2_schemas_update
100100
xdg_desktop_database_update

app-crypt/eid-mw/eid-mw-9999.ebuild

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2018 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=6
@@ -68,14 +68,14 @@ src_install() {
6868
fi
6969
}
7070

71-
pkg_postinst(){
71+
pkg_postinst() {
7272
if use gtk; then
7373
gnome2_schemas_update
7474
gnome2_icon_cache_update
7575
fi
7676
}
7777

78-
pkg_postrm(){
78+
pkg_postrm() {
7979
if use gtk; then
8080
gnome2_schemas_update
8181
gnome2_icon_cache_update

0 commit comments

Comments
 (0)