diff options
author | David Seifert <soap@gentoo.org> | 2020-02-22 22:07:26 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-02-22 22:07:26 +0100 |
commit | 3b8cba93fab70dd0fa89cebdd4b37c732580e9ac (patch) | |
tree | cbcb946c9c0769acaec3648b63979c24ec30a5c2 /dev-libs | |
parent | x11-libs/libxcb: Version bump to 1.14 (diff) | |
download | gentoo-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-libs')
28 files changed, 55 insertions, 55 deletions
diff --git a/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild b/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild index 9920bcb5065a..b4f12bd147aa 100644 --- a/dev-libs/389-adminutil/389-adminutil-1.1.15.ebuild +++ b/dev-libs/389-adminutil/389-adminutil-1.1.15.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 @@ -40,7 +40,7 @@ src_configure() { --disable-tests } -src_install () { +src_install() { emake DESTDIR="${D}" install dodoc README NEWS } diff --git a/dev-libs/cloog/cloog-0.18.4.ebuild b/dev-libs/cloog/cloog-0.18.4.ebuild index 8f6da941a169..32de5f518041 100644 --- a/dev-libs/cloog/cloog-0.18.4.ebuild +++ b/dev-libs/cloog/cloog-0.18.4.ebuild @@ -50,7 +50,7 @@ multilib_src_configure() { } # The default src_test() fails, so we'll just run these directly -multilib_src_test () { +multilib_src_test() { echo ">>> Test phase [check]: ${CATEGORY}/${PF}" emake -j1 check } diff --git a/dev-libs/cloog/cloog-9999.ebuild b/dev-libs/cloog/cloog-9999.ebuild index 87fbec10982d..e7da11ae632b 100644 --- a/dev-libs/cloog/cloog-9999.ebuild +++ b/dev-libs/cloog/cloog-9999.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" @@ -52,7 +52,7 @@ multilib_src_configure() { } # The default src_test() fails, so we'll just run these directly -multilib_src_test () { +multilib_src_test() { echo ">>> Test phase [check]: ${CATEGORY}/${PF}" emake -j1 check } diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r2.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r2.ebuild index 56229e40dfb3..073334c252cd 100644 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r2.ebuild +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r2.ebuild @@ -232,7 +232,7 @@ multilib_src_install_all() { fi } -pkg_postinst () { +pkg_postinst() { # Generate an empty sasldb2 with correct permissions. if ( use berkdb || use gdbm ) && [[ ! -f "${EROOT}/etc/sasl2/sasldb2" ]] ; then einfo "Generating an empty sasldb2 with correct permissions ..." diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r3.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r3.ebuild index 6db032431f6a..c27466f0e5f7 100644 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r3.ebuild +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r3.ebuild @@ -233,7 +233,7 @@ multilib_src_install_all() { fi } -pkg_postinst () { +pkg_postinst() { # Generate an empty sasldb2 with correct permissions. if ( use berkdb || use gdbm ) && [[ ! -f "${EROOT}/etc/sasl2/sasldb2" ]] ; then einfo "Generating an empty sasldb2 with correct permissions ..." diff --git a/dev-libs/libf2c/libf2c-20130927-r1.ebuild b/dev-libs/libf2c/libf2c-20130927-r1.ebuild index 4b977242dc7b..d5e8ade2f5ef 100644 --- a/dev-libs/libf2c/libf2c-20130927-r1.ebuild +++ b/dev-libs/libf2c/libf2c-20130927-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 @@ -43,7 +43,7 @@ src_compile() { emake -f makefile.u libf2c.so } -src_install () { +src_install() { doheader f2c.h dolib.so libf2c.so.2 diff --git a/dev-libs/libite/libite-2.0.0.ebuild b/dev-libs/libite/libite-2.0.0.ebuild index 0380b8e161c4..b5328e1645dd 100644 --- a/dev-libs/libite/libite-2.0.0.ebuild +++ b/dev-libs/libite/libite-2.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,11 +17,11 @@ PATCHES=( "${FILESDIR}"/${P}-fix-path.patch ) -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/libite/libite-2.1.0.ebuild b/dev-libs/libite/libite-2.1.0.ebuild index 285bb078460a..f0baf554132e 100644 --- a/dev-libs/libite/libite-2.1.0.ebuild +++ b/dev-libs/libite/libite-2.1.0.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 @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/liblzw/liblzw-0.2-r1.ebuild b/dev-libs/liblzw/liblzw-0.2-r1.ebuild index 84d097d32022..ca3863803346 100644 --- a/dev-libs/liblzw/liblzw-0.2-r1.ebuild +++ b/dev-libs/liblzw/liblzw-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=7 @@ -11,11 +11,11 @@ LICENSE="public-domain" SLOT="0" KEYWORDS="amd64 arm hppa ia64 m68k s390 sh x86" -src_configure(){ +src_configure() { econf --disable-static } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die } diff --git a/dev-libs/libowfat/libowfat-0.31-r1.ebuild b/dev-libs/libowfat/libowfat-0.31-r1.ebuild index 9bd8cf6f80af..409b88fc630f 100644 --- a/dev-libs/libowfat/libowfat-0.31-r1.ebuild +++ b/dev-libs/libowfat/libowfat-0.31-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -33,7 +33,7 @@ src_compile() { $( use diet || echo 'DIET=' ) } -src_install () { +src_install() { emake \ DESTDIR="${D}" \ LIBDIR="/usr/$(get_libdir)" \ diff --git a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild index ec7eeb15d713..73e7e07f579a 100644 --- a/dev-libs/libpqxx/libpqxx-6.4.5.ebuild +++ b/dev-libs/libpqxx/libpqxx-6.4.5.ebuild @@ -76,7 +76,7 @@ src_test() { fi } -src_install () { +src_install() { use doc && HTML_DOCS=( doc/html/. ) default diff --git a/dev-libs/libsigsegv/libsigsegv-2.11.ebuild b/dev-libs/libsigsegv/libsigsegv-2.11.ebuild index 4cb02dd461be..aff78bfa71f7 100644 --- a/dev-libs/libsigsegv/libsigsegv-2.11.ebuild +++ b/dev-libs/libsigsegv/libsigsegv-2.11.ebuild @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" -src_configure () { +src_configure() { econf --enable-shared } -src_test () { +src_test() { if [[ ${FEATURES} = *sandbox* ]] ; then # skip tests as they will fail ewarn "Skipped tests. Please disable sandbox to run tests." diff --git a/dev-libs/libsigsegv/libsigsegv-2.12-r1.ebuild b/dev-libs/libsigsegv/libsigsegv-2.12-r1.ebuild index cf4a6bd2bccb..b96708a8c486 100644 --- a/dev-libs/libsigsegv/libsigsegv-2.12-r1.ebuild +++ b/dev-libs/libsigsegv/libsigsegv-2.12-r1.ebuild @@ -24,11 +24,11 @@ src_prepare() { eautoreconf } -src_configure () { +src_configure() { econf --enable-shared } -src_test () { +src_test() { emake check } diff --git a/dev-libs/libsigsegv/libsigsegv-2.12.ebuild b/dev-libs/libsigsegv/libsigsegv-2.12.ebuild index daab877388a4..7087b3ad69e4 100644 --- a/dev-libs/libsigsegv/libsigsegv-2.12.ebuild +++ b/dev-libs/libsigsegv/libsigsegv-2.12.ebuild @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="" -src_configure () { +src_configure() { econf --enable-shared } -src_test () { +src_test() { if [[ ${FEATURES} = *sandbox* ]] ; then # skip tests as they will fail ewarn "Skipped tests. Please disable sandbox to run tests." diff --git a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild b/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild index a1c0f4c691a6..05b7e5912ad9 100644 --- a/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild +++ b/dev-libs/libstroke/libstroke-0.5.1-r1.ebuild @@ -26,7 +26,7 @@ src_prepare() { eautoreconf } -src_install () { +src_install() { emake DESTDIR="${D}" install dodoc CREDITS ChangeLog README } diff --git a/dev-libs/libuev/libuev-2.1.0.ebuild b/dev-libs/libuev/libuev-2.1.0.ebuild index 299e8c4aa126..335ee07ddd8d 100644 --- a/dev-libs/libuev/libuev-2.1.0.ebuild +++ b/dev-libs/libuev/libuev-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/libuev/libuev-2.1.2.ebuild b/dev-libs/libuev/libuev-2.1.2.ebuild index e82786a75198..335ee07ddd8d 100644 --- a/dev-libs/libuev/libuev-2.1.2.ebuild +++ b/dev-libs/libuev/libuev-2.1.2.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 @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/libuev/libuev-2.2.0.ebuild b/dev-libs/libuev/libuev-2.2.0.ebuild index aab6a4daf462..b5c9b2d941bd 100644 --- a/dev-libs/libuev/libuev-2.2.0.ebuild +++ b/dev-libs/libuev/libuev-2.2.0.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 @@ -13,11 +13,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/libuev/libuev-2.3.0.ebuild b/dev-libs/libuev/libuev-2.3.0.ebuild index 2980b3bbb0e2..c4a3bb57a119 100644 --- a/dev-libs/libuev/libuev-2.3.0.ebuild +++ b/dev-libs/libuev/libuev-2.3.0.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 @@ -12,11 +12,11 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="static-libs" -src_configure(){ +src_configure() { econf --enable-static=$(usex static-libs) } -src_install(){ +src_install() { default find "${D}" -name '*.la' -delete || die rm "${D}/usr/share/doc/${PF}/LICENSE" || die diff --git a/dev-libs/ntl/ntl-9.3.0.ebuild b/dev-libs/ntl/ntl-9.3.0.ebuild index 50bb3ea10db7..e2a691d8a312 100644 --- a/dev-libs/ntl/ntl-9.3.0.ebuild +++ b/dev-libs/ntl/ntl-9.3.0.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 @@ -74,7 +74,7 @@ src_install() { fi } -src_test(){ +src_test() { # the current ebuild need static library to run tests emake ntl.a diff --git a/dev-libs/ntl/ntl-9.6.4.ebuild b/dev-libs/ntl/ntl-9.6.4.ebuild index 971d4e14c572..e672e758c1bf 100644 --- a/dev-libs/ntl/ntl-9.6.4.ebuild +++ b/dev-libs/ntl/ntl-9.6.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=6 @@ -77,7 +77,7 @@ src_install() { fi } -src_test(){ +src_test() { # the current ebuild need static library to run tests emake ntl.a diff --git a/dev-libs/redland-bindings/redland-bindings-1.0.17.1.ebuild b/dev-libs/redland-bindings/redland-bindings-1.0.17.1.ebuild index 73d8c3bf66ef..f4203f58c317 100644 --- a/dev-libs/redland-bindings/redland-bindings-1.0.17.1.ebuild +++ b/dev-libs/redland-bindings/redland-bindings-1.0.17.1.ebuild @@ -44,7 +44,7 @@ pkg_setup() { use python && python-single-r1_pkg_setup } -src_prepare(){ +src_prepare() { default if use php ; then local slot diff --git a/dev-libs/svrcore/svrcore-4.0.4-r1.ebuild b/dev-libs/svrcore/svrcore-4.0.4-r1.ebuild index 86751402c273..9b17ea88d8b9 100644 --- a/dev-libs/svrcore/svrcore-4.0.4-r1.ebuild +++ b/dev-libs/svrcore/svrcore-4.0.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -28,7 +28,7 @@ src_configure() { econf --with-pic } -src_install () { +src_install() { default # cope with libraries being in /usr/lib/svrcore diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.25.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.25.ebuild index d3a25cc40126..163266c3fa7c 100644 --- a/dev-libs/xapian-bindings/xapian-bindings-1.2.25.ebuild +++ b/dev-libs/xapian-bindings/xapian-bindings-1.2.25.ebuild @@ -156,7 +156,7 @@ src_test() { fi } -src_install () { +src_install() { emake DESTDIR="${D}" install if use java; then diff --git a/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild b/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild index 92179df8b117..018c4ab7d02c 100644 --- a/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild +++ b/dev-libs/xerces-c/xerces-c-3.2.2-r1.ebuild @@ -95,7 +95,7 @@ src_compile() { use doc && cmake-utils_src_compile doc-style createapidocs doc-xml } -src_install () { +src_install() { cmake-utils_src_install # package provides .pc files diff --git a/dev-libs/xerces-c/xerces-c-9999.ebuild b/dev-libs/xerces-c/xerces-c-9999.ebuild index 58bfc849abd0..aaa442c31bfc 100644 --- a/dev-libs/xerces-c/xerces-c-9999.ebuild +++ b/dev-libs/xerces-c/xerces-c-9999.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=6 @@ -91,7 +91,7 @@ src_compile() { use doc && cmake-utils_src_compile doc-style createapidocs doc-xml } -src_install () { +src_install() { cmake-utils_src_install # package provides .pc files diff --git a/dev-libs/zlog/zlog-1.2.12-r1.ebuild b/dev-libs/zlog/zlog-1.2.12-r1.ebuild index d49daa11b495..2dcde049b63d 100644 --- a/dev-libs/zlog/zlog-1.2.12-r1.ebuild +++ b/dev-libs/zlog/zlog-1.2.12-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=6 @@ -24,7 +24,7 @@ src_compile() { emake CC="$(tc-getCC)" } -src_test () { +src_test() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" test } diff --git a/dev-libs/zlog/zlog-1.2.12.ebuild b/dev-libs/zlog/zlog-1.2.12.ebuild index ca74561e511e..6e6621253781 100644 --- a/dev-libs/zlog/zlog-1.2.12.ebuild +++ b/dev-libs/zlog/zlog-1.2.12.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=6 @@ -23,7 +23,7 @@ src_prepare() { epatch "${FILESDIR}/zlog_no_werr.patch" } -src_test () { +src_test() { emake test } |