dev-php/PEAR-PHP_Beautifier: new revision sans the php-pear-r1 eclass.
authorMichael Orlitzky <mjo@gentoo.org>
Tue, 10 Jan 2017 04:07:38 +0000 (23:07 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Tue, 10 Jan 2017 04:32:47 +0000 (23:32 -0500)
commitc122fda674ae055121fecd550bb3d814d76ae4f2
tree9c2b29b82f3a2a5865caaa8f68c7f3bcfc0be32e
parentd96c728fa062aa3dc605a94c8402de571fd4186d
dev-php/PEAR-PHP_Beautifier: new revision sans the php-pear-r1 eclass.

This new revision drops the php-pear-r1 eclass in order to fix some
otherwise-unfixable issues. First, the ebuild has been updated to
EAPI=6; that one was easy. Two new USE flags to enable the CLI and
installation of the examples were added -- that and the removal
of the eclass caused some RDEPEND changes.

We now have custom src_prepare() and src_install() phases:

  * In src_prepare, we replace the strings @package_version@ and
    @php_bin@ everywhere in the source code using sed. We also
    apply a new patch to use the default error_reporting, which
    hides a bunch of ugly errors.

  * The src_install phase now installs the examples to the proper
    location, and only installs the CLI script with USE=cli.

Package-Manager: portage-2.3.0
dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r1.ebuild [deleted file]
dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r2.ebuild [new file with mode: 0644]
dev-php/PEAR-PHP_Beautifier/files/use_default_error_reporting.patch [new file with mode: 0644]
dev-php/PEAR-PHP_Beautifier/metadata.xml