summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-22 22:07:26 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-22 22:07:26 +0100
commit3b8cba93fab70dd0fa89cebdd4b37c732580e9ac (patch)
treecbcb946c9c0769acaec3648b63979c24ec30a5c2 /dev-ada
parentx11-libs/libxcb: Version bump to 1.14 (diff)
downloadgentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.tar.gz
gentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.tar.bz2
gentoo-3b8cba93fab70dd0fa89cebdd4b37c732580e9ac.zip
*/*: [QA] Use consistent function definition formatting
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gnat-suite-bin/gnat-suite-bin-2014.ebuild4
-rw-r--r--dev-ada/gnat-suite-bin/gnat-suite-bin-2016.ebuild4
-rw-r--r--dev-ada/gnat-suite-bin/gnat-suite-bin-2017.ebuild4
-rw-r--r--dev-ada/gnat-suite-bin/gnat-suite-bin-2018.ebuild4
-rw-r--r--dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild2
-rw-r--r--dev-ada/gnatcoll-db/gnatcoll-db-2019.ebuild4
-rw-r--r--dev-ada/libadalang/libadalang-2018-r2.ebuild6
-rw-r--r--dev-ada/libadalang/libadalang-2019-r1.ebuild4
-rw-r--r--dev-ada/xmlada/xmlada-2019-r1.ebuild8
9 files changed, 20 insertions, 20 deletions
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2014.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2014.ebuild
index 84e63a9aef84..1563a86ca648 100644
--- a/dev-ada/gnat-suite-bin/gnat-suite-bin-2014.ebuild
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2014.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"
@@ -100,7 +100,7 @@ src_install() {
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
-pkg_postinst () {
+pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2016.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2016.ebuild
index fe753f78bac8..cd65dfa8890a 100644
--- a/dev-ada/gnat-suite-bin/gnat-suite-bin-2016.ebuild
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2016.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"
@@ -95,7 +95,7 @@ src_install() {
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
-pkg_postinst () {
+pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2017.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2017.ebuild
index 538f8b0544bb..47430b2c1028 100644
--- a/dev-ada/gnat-suite-bin/gnat-suite-bin-2017.ebuild
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2017.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"
@@ -95,7 +95,7 @@ src_install() {
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
-pkg_postinst () {
+pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2018.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2018.ebuild
index a6d08d2be740..04ffaf338d72 100644
--- a/dev-ada/gnat-suite-bin/gnat-suite-bin-2018.ebuild
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2018.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"
@@ -75,7 +75,7 @@ src_install() {
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
-pkg_postinst () {
+pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
diff --git a/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild b/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild
index 587a7e9955f3..8e8d445e3d3d 100644
--- a/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild
+++ b/dev-ada/gnat-suite-bin/gnat-suite-bin-2019.ebuild
@@ -75,7 +75,7 @@ src_install() {
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib
}
-pkg_postinst () {
+pkg_postinst() {
einfo "GNAT GPL is now installed. To launch it, you must put"
einfo " ${PREFIX}/bin"
einfo "in front of your PATH environment variable. The following"
diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-2019.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-2019.ebuild
index e061c4cf6a6f..58c774b5e3c6 100644
--- a/dev-ada/gnatcoll-db/gnatcoll-db-2019.ebuild
+++ b/dev-ada/gnatcoll-db/gnatcoll-db-2019.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
@@ -40,7 +40,7 @@ S="${WORKDIR}"/${PN}-${commitId}
PATCHES=( "${FILESDIR}"/${PN}-2018-gentoo.patch )
-pkg_setup () {
+pkg_setup() {
python-single-r1_pkg_setup
ada_setup
}
diff --git a/dev-ada/libadalang/libadalang-2018-r2.ebuild b/dev-ada/libadalang/libadalang-2018-r2.ebuild
index 6c587d89b913..bbb04ac9fc4f 100644
--- a/dev-ada/libadalang/libadalang-2018-r2.ebuild
+++ b/dev-ada/libadalang/libadalang-2018-r2.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
@@ -54,11 +54,11 @@ src_compile() {
--build-mode='prod' || die
}
-src_test () {
+src_test() {
ada/manage.py test | grep FAILED && die
}
-src_install () {
+src_install() {
ada/manage.py \
$(use_enable shared) \
$(use_enable static-libs static) \
diff --git a/dev-ada/libadalang/libadalang-2019-r1.ebuild b/dev-ada/libadalang/libadalang-2019-r1.ebuild
index 02d37bc01231..2d2c39e9b8db 100644
--- a/dev-ada/libadalang/libadalang-2019-r1.ebuild
+++ b/dev-ada/libadalang/libadalang-2019-r1.ebuild
@@ -59,12 +59,12 @@ src_compile() {
--build-mode='prod' || die
}
-src_test () {
+src_test() {
ada/manage.py test | tee libadalang.testOut;
grep -q FAILED libadalang.testOut && die
}
-src_install () {
+src_install() {
ada/manage.py \
-v \
--library-types $libtype \
diff --git a/dev-ada/xmlada/xmlada-2019-r1.ebuild b/dev-ada/xmlada/xmlada-2019-r1.ebuild
index 794b5c7d879d..a08b9acda13c 100644
--- a/dev-ada/xmlada/xmlada-2019-r1.ebuild
+++ b/dev-ada/xmlada/xmlada-2019-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=7
@@ -28,11 +28,11 @@ S="${WORKDIR}"/${MYP}-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
-src_configure () {
+src_configure() {
econf --prefix="${D}"/usr
}
-src_compile () {
+src_compile() {
build () {
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
@@ -55,7 +55,7 @@ src_test() {
grep -q DIFF xmlada.testLog && die
}
-src_install () {
+src_install() {
build () {
gprinstall -XLIBRARY_TYPE=$1 -f -p -XBUILD=Production \
-XPROCESSORS=$(makeopts_jobs) --prefix="${D}"/usr \