php-pear-r1.eclass: add support for EAPI=6 and clean up the EAPI check.
authorMichael Orlitzky <mjo@gentoo.org>
Sat, 30 Jan 2016 22:19:38 +0000 (17:19 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Wed, 3 Feb 2016 22:10:24 +0000 (17:10 -0500)
commit6b3110e30b90034b1aefab1fae71a184b1dba582
treec6f753dfa4d2c338ff94d6e9b692c2c106c85d31
parent41d03857189049e12c9e88cd73a7cb77607b9e2c
php-pear-r1.eclass: add support for EAPI=6 and clean up the EAPI check.

The dev-lang/php dependency in php-pear-r1.eclass is calculated based
on the EAPI. In newer EAPIs, we specify the "any slot" operator to
avoid repoman warnings. Previously, the "any slot" operator was added
only for EAPI=5; this commit adds it for EAPI=6.

In addition, EAPIs 0, 1, 2, 3, and 4 are named explicitly in the case
statement. The default "*" case now dies with a warning that the EAPI
is unsupported.
eclass/php-pear-r1.eclass