diff options
author | 2016-12-21 19:08:44 -0500 | |
---|---|---|
committer | 2016-12-21 19:56:12 -0500 | |
commit | 8c4b6858a198135640c9128d64f1cf865ae420b6 (patch) | |
tree | 91c01cd8510c72ae229aa92c8cb82b7b1c76eaee /dev-php/twig/metadata.xml | |
parent | net-libs/axtls: remove older unstable versions (diff) | |
download | gentoo-8c4b6858a198135640c9128d64f1cf865ae420b6.tar.gz gentoo-8c4b6858a198135640c9128d64f1cf865ae420b6.tar.bz2 gentoo-8c4b6858a198135640c9128d64f1cf865ae420b6.zip |
dev-php/twig: add twig-1.29.0 with support for building the C extension.
A few versions of Twig have been released since the version we have in
the tree, so the first goal of the new ebuild is simply to bring our
tree to parity with upstream.
But the new ebuild also adds a feature, the ability to build the C
extension for Twig. In older versions of PHP, the C implementation
provides improved performance over the pure-PHP implementation. The
only "older version" we support is php:5.6, so the C extension is only
built when the user's PHP_TARGETS contains "php5-6". The extension
will only be built with USE=extension; otherwise users who did not
want the extension would be required to add "php5-6" to PHP_TARGETS in
order to appease our eclass.
Upstream does not currently support building the extension against
php:7.0 or php:7.1, but the performance improvement is not so great
with those versions of PHP anyway.
Gentoo-Bug: 566468
Gentoo-Bug: 566470
Suggested-by: Dennis Schridde
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php/twig/metadata.xml')
-rw-r--r-- | dev-php/twig/metadata.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-php/twig/metadata.xml b/dev-php/twig/metadata.xml index d768205a45ff..dabafbf620df 100644 --- a/dev-php/twig/metadata.xml +++ b/dev-php/twig/metadata.xml @@ -9,4 +9,9 @@ <email>php-bugs@gentoo.org</email> <name>PHP</name> </maintainer> - </pkgmetadata> + <use> + <flag name="extension"> + Build the C extension (only for php-5.6.x). + </flag> + </use> +</pkgmetadata> |