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-php/twig | |
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-php/twig')
-rw-r--r-- | dev-php/twig/twig-1.40.1-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-php/twig/twig-1.42.3-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-php/twig/twig-1.42.3.ebuild | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/dev-php/twig/twig-1.40.1-r1.ebuild b/dev-php/twig/twig-1.40.1-r1.ebuild index c06e5c627361..5935eab4bd1d 100644 --- a/dev-php/twig/twig-1.40.1-r1.ebuild +++ b/dev-php/twig/twig-1.40.1-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 @@ -20,7 +20,7 @@ DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" # Test fail due to missing Symphony dependencies RESTRICT="test" -src_install(){ +src_install() { # The autoloader requires the 'T' in "Twig" capitalized. insinto "/usr/share/php/${MY_PN}/lib" doins -r lib/"${MY_PN}"/* @@ -37,13 +37,13 @@ src_install(){ use doc && dodoc -r doc } -src_test(){ +src_test() { cp "${FILESDIR}/Autoloader.php" "${S}" || die phpunit --bootstrap Autoloader.php || die "test suite failed" rm "${S}/Autoloader.php" || die } -pkg_postinst(){ +pkg_postinst() { elog "${PN} has been installed in /usr/share/php/${MY_PN}/." elog "To use it in a script, require('${MY_PN}/Autoloader.php')" } diff --git a/dev-php/twig/twig-1.42.3-r1.ebuild b/dev-php/twig/twig-1.42.3-r1.ebuild index 6e54e7688809..1b651a90eb5c 100644 --- a/dev-php/twig/twig-1.42.3-r1.ebuild +++ b/dev-php/twig/twig-1.42.3-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 @@ -20,7 +20,7 @@ DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" # Test fail due to missing Symphony dependencies RESTRICT="test" -src_install(){ +src_install() { # The autoloader requires the 'T' in "Twig" capitalized. insinto "/usr/share/php/${MY_PN}/lib/${MY_PN}" doins -r lib/"${MY_PN}"/* @@ -37,13 +37,13 @@ src_install(){ use doc && dodoc -r doc } -src_test(){ +src_test() { cp "${FILESDIR}/Autoloader.php" "${S}" || die phpunit --bootstrap Autoloader.php || die "test suite failed" rm "${S}/Autoloader.php" || die } -pkg_postinst(){ +pkg_postinst() { elog "${PN} has been installed in /usr/share/php/${MY_PN}/." elog "To use it in a script, require('${MY_PN}/Autoloader.php')" } diff --git a/dev-php/twig/twig-1.42.3.ebuild b/dev-php/twig/twig-1.42.3.ebuild index c06e5c627361..5935eab4bd1d 100644 --- a/dev-php/twig/twig-1.42.3.ebuild +++ b/dev-php/twig/twig-1.42.3.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 @@ -20,7 +20,7 @@ DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" # Test fail due to missing Symphony dependencies RESTRICT="test" -src_install(){ +src_install() { # The autoloader requires the 'T' in "Twig" capitalized. insinto "/usr/share/php/${MY_PN}/lib" doins -r lib/"${MY_PN}"/* @@ -37,13 +37,13 @@ src_install(){ use doc && dodoc -r doc } -src_test(){ +src_test() { cp "${FILESDIR}/Autoloader.php" "${S}" || die phpunit --bootstrap Autoloader.php || die "test suite failed" rm "${S}/Autoloader.php" || die } -pkg_postinst(){ +pkg_postinst() { elog "${PN} has been installed in /usr/share/php/${MY_PN}/." elog "To use it in a script, require('${MY_PN}/Autoloader.php')" } |