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 /sci-libs/openblas
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 'sci-libs/openblas')
-rw-r--r--sci-libs/openblas/openblas-0.3.6.ebuild12
-rw-r--r--sci-libs/openblas/openblas-0.3.7.ebuild12
2 files changed, 12 insertions, 12 deletions
diff --git a/sci-libs/openblas/openblas-0.3.6.ebuild b/sci-libs/openblas/openblas-0.3.6.ebuild
index f52bf5c6ece1..9aa17003313d 100644
--- a/sci-libs/openblas/openblas-0.3.6.ebuild
+++ b/sci-libs/openblas/openblas-0.3.6.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
@@ -45,7 +45,7 @@ pkg_setup() {
export PREFIX="${EPREFIX}/usr"
}
-src_unpack () {
+src_unpack() {
default
mv "${WORKDIR}"/*OpenBLAS* "${S}" || die
if use index-64bit; then
@@ -53,7 +53,7 @@ src_unpack () {
fi
}
-src_compile () {
+src_compile() {
emake
emake -Cinterface shared-blas-lapack
if use index-64bit; then
@@ -65,7 +65,7 @@ src_test() {
emake tests
}
-src_install () {
+src_install() {
emake install DESTDIR="${D}" OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/${PN} \
OPENBLAS_LIBRARY_DIR='$(PREFIX)'/$(get_libdir)
dodoc GotoBLAS_*.txt *.md Changelog.txt
@@ -90,7 +90,7 @@ src_install () {
fi
}
-pkg_postinst () {
+pkg_postinst() {
use eselect-ldso || return
local libdir=$(get_libdir) me="openblas"
@@ -119,7 +119,7 @@ pkg_postinst () {
fi
}
-pkg_postrm () {
+pkg_postrm() {
if use eselect-ldso; then
eselect blas validate
eselect lapack validate
diff --git a/sci-libs/openblas/openblas-0.3.7.ebuild b/sci-libs/openblas/openblas-0.3.7.ebuild
index f52bf5c6ece1..9aa17003313d 100644
--- a/sci-libs/openblas/openblas-0.3.7.ebuild
+++ b/sci-libs/openblas/openblas-0.3.7.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
@@ -45,7 +45,7 @@ pkg_setup() {
export PREFIX="${EPREFIX}/usr"
}
-src_unpack () {
+src_unpack() {
default
mv "${WORKDIR}"/*OpenBLAS* "${S}" || die
if use index-64bit; then
@@ -53,7 +53,7 @@ src_unpack () {
fi
}
-src_compile () {
+src_compile() {
emake
emake -Cinterface shared-blas-lapack
if use index-64bit; then
@@ -65,7 +65,7 @@ src_test() {
emake tests
}
-src_install () {
+src_install() {
emake install DESTDIR="${D}" OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/${PN} \
OPENBLAS_LIBRARY_DIR='$(PREFIX)'/$(get_libdir)
dodoc GotoBLAS_*.txt *.md Changelog.txt
@@ -90,7 +90,7 @@ src_install () {
fi
}
-pkg_postinst () {
+pkg_postinst() {
use eselect-ldso || return
local libdir=$(get_libdir) me="openblas"
@@ -119,7 +119,7 @@ pkg_postinst () {
fi
}
-pkg_postrm () {
+pkg_postrm() {
if use eselect-ldso; then
eselect blas validate
eselect lapack validate