dev-lang/php: add "coverage" USE flag to build with --enable-gcov.
authorMichael Orlitzky <mjo@gentoo.org>
Fri, 9 Dec 2016 14:18:52 +0000 (09:18 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Fri, 9 Dec 2016 16:12:29 +0000 (11:12 -0500)
commit1798839ee565695baa83ea68f08993fa12579ebf
tree8fb5af10f8567f9c01f7bf8bd0f43850a17935cc
parentb927a5a1af16a7f0c161fcd606916344ef33439b
dev-lang/php: add "coverage" USE flag to build with --enable-gcov.

We add three new revisions, one for each supported branch of PHP. The
new revisions have a "coverage" flag, which was chosen because a few
other packages in ::gentoo have decided on the same flag name. When
enabled, USE=coverage will pull in dev-util/lcov from the Linux Test
Project, and PHP will be built with --enable-gcov.

Since users won't be running code coverage reports on the PHP source
tree itself (at least not the one used by their package manager), this
is probably only useful for extension developers who would like to run
code coverage reports on the test suites for their extensions. It also
requires GCC to work, since lcov wraps GCC's gcov. Both of those
caveats have been mentioned in the USE flag description.

Gentoo-Bug: 542178

Package-Manager: portage-2.3.0
dev-lang/php/metadata.xml
dev-lang/php/php-5.6.28-r2.ebuild [moved from dev-lang/php/php-5.6.28-r1.ebuild with 99% similarity]
dev-lang/php/php-7.0.14-r1.ebuild [moved from dev-lang/php/php-7.0.14.ebuild with 99% similarity]
dev-lang/php/php-7.1.0-r3.ebuild [moved from dev-lang/php/php-7.1.0-r2.ebuild with 99% similarity]