summaryrefslogtreecommitdiff
path: root/eclass/php-ext-source-r3.eclass
AgeCommit message (Collapse)Author
2024-01-15Move {sys-devel → dev-build}/libtoolMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34807 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-03-26php-ext-source-r3.eclass: Quote argument of ":" commandUlrich Müller
This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2022-12-27php-ext-source-r3.eclass: drop EAPI 6 supportDavid Seifert
Signed-off-by: David Seifert <soap@gentoo.org>
2022-03-24*.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller
Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2021-11-24eclass: Enable EAPI 8 on PHP eclassesBrian Evans
Signed-off-by: Brian Evans <grknight@gentoo.org>
2021-09-03php-ext-source-r3.eclass: Move EXPORT_FUNCTIONS below inheritUlrich Müller
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2021-03-31php-ext-source-r3.eclass: mark PHP_EXT_{NAME, NEEDED_USE} as @PRE_INHERITSam James
Signed-off-by: Sam James <sam@gentoo.org>
2020-07-04php-ext-source-r3.eclass: Fix eclassdocMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-02-24eclass: php-ext-source-r3 - Use relative symlink for active iniBrian Evans
Signed-off-by: Brian Evans <grknight@gentoo.org>
2019-09-20eclass: php-ext-source-r3 - Add support for building with PHP 7.4+Brian Evans
Signed-off-by: Brian Evans <grknight@gentoo.org>
2019-01-19php-ext-source-r3.eclass: Add EAPI=7 supportBrian Evans
Signed-off-by: Brian Evans <grknight@gentoo.org>
2018-08-15php-ext-source-r3.eclass: add @SUPPORTED_EAPISMichał Górny
2018-03-22eclass: php-ext-source-r3 - Update documentation of src_prepareBrian Evans
2018-03-21eclass: php-ext-sources-r3 - Apply user patches to all targetsBrian Evans
The original eclass copied sources as part of the exported src_unpack and then attempted to apply default_src_prepare to every PHP_TARGET. As the bug shows, this fails on eapply_user because that function will only ever apply once. Instead, eliminate the php-ext-sources-r3_src_unpack. Move the copy function to src_prepare phase after patches were applied, optionally disabled by PHP_EXT_SKIP_PATCHES=yes. This eclass will only apply patches to PHP_EXT_S. Fixes: https://bugs.gentoo.org/650324
2018-03-02php-ext-source-r3.eclass: Fix documentation of PHP_INI_NAME.Ulrich Müller
This was breaking app-portage/eclass-manpages.
2018-01-29php-ext-source-r3.eclass: Introduce PHP_EXT_NEEDED_USEBrian Evans
This simplifies the dependencies in an ebuild @DESCRIPTION: A list of USE flags to append to each PHP target selected as a valid USE-dependency string. The value should be valid for all targets so USE defaults may be necessary. Example: PHP_EXT_NEEDED_USE="mysql?,pdo,pcre(+)" The PHP dependencies will result in: php_targets_php7-0? ( dev-lang/php:7.0[mysql?,pdo,pcre(+)] ) Bug: https://bugs.gentoo.org/586446
2018-01-29php-ext-source-r3.eclass: Introduce PHP_INI_NAME variableBrian Evans
Currently php-ext-source-r3 saves the enabling ini file as "${PHP_EXT_NAME}.ini". This is problematic when foo module needs to be loaded before bar module as things are read in directory order. This patch introduces PHP_INI_NAME which defaults to PHP_EXT_NAME for backwards-compatibility. Bug: https://bugs.gentoo.org/586446
2017-02-28Drop $Id$ per council decision in bug #611234.Robin H. Johnson
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2016-10-29eclass/php-ext-source-r3: define the variable slot local to src_testGöktürk Yüksek
2016-10-12php-ext-source-r3.eclass: Add src_test functionThomas Deutschmann
php-ext-source-r3 eclass currently does not provide FEATURES=test support like php-ext-pecl-r3 eclass does. This commit will add and export the src_test function from php-ext-pecl-r3 eclass to php-ext-source-r3 eclass to allow testing of PHP standalone extensions as well.
2016-07-09php-ext-source-r3.eclass: new revision supporting EAPI=6.Michael Orlitzky
This is a new revision of the php-ext-source eclass that supports EAPI=6 (only) and cleans up some of the existing code. The list of user-facing changes is, * Support only EAPI=6. * PATCHES array/variable support. * DOCS array support (bug 512184). * Renamed my_conf and PHPSAPILIST variables. Some refactoring was done, but not in a way that consumers should notice. A migration guide can be found on the wiki: https://wiki.gentoo.org/wiki/Project:PHP/Php-ext-source-r3_migration_guide In addition, a number of improvements were suggested by Michał Górny on the gentoo-dev mailing list: https://archives.gentoo.org/gentoo-dev/message/9159cba2eabceb96d8ae16ced6631f1e Gentoo-Bug: 512184