dev-php/twig: add twig-1.29.0 with support for building the C extension.
authorMichael Orlitzky <mjo@gentoo.org>
Thu, 22 Dec 2016 00:08:44 +0000 (19:08 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Thu, 22 Dec 2016 00:56:12 +0000 (19:56 -0500)
commit8c4b6858a198135640c9128d64f1cf865ae420b6
tree91c01cd8510c72ae229aa92c8cb82b7b1c76eaee
parent20bebd7d2b1c8c290739bf74cb3761ccef12452c
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
dev-php/twig/Manifest
dev-php/twig/metadata.xml
dev-php/twig/twig-1.29.0.ebuild [new file with mode: 0644]