Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398927 - php-ext-source-r2.eclass: Improve support for EAPI >=4
Summary: php-ext-source-r2.eclass: Improve support for EAPI >=4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-14 23:28 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2013-04-14 10:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Set REQUIRED_USE in EAPI >=4 (php-ext-source-r2.eclass-REQUIRED_USE.patch,1.64 KB, patch)
2012-01-14 23:28 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff
Update list of EAPIs (php-ext-source-r2.eclass-EAPI_list.patch,253 bytes, patch)
2012-01-14 23:32 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2012-01-14 23:28:11 UTC
Created attachment 298957 [details, diff]
Set REQUIRED_USE in EAPI >=4

I suggest that php-ext-source-r2.eclass set REQUIRED_USE in EAPI >=4 instead of abusing self-dependencies on =${CATEGORY}/${PF}.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-01-14 23:32:07 UTC
Created attachment 298959 [details, diff]
Update list of EAPIs

Ebuilds in overlays can use other EAPIs supported by Portage. Please update the list of EAPIs accepted by this eclass.
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2012-01-30 09:13:25 UTC
(In reply to comment #0)
> 
> I suggest that php-ext-source-r2.eclass set REQUIRED_USE in EAPI >=4 instead of
> abusing self-dependencies on =${CATEGORY}/${PF}.

We are working on migrating our part of the tree to EAPI=4 in order to avoid this hack. Once that is done we will make use of REQUIRED_USE.

(In reply to comment #1)
> 
> Ebuilds in overlays can use other EAPIs supported by Portage. Please update the
> list of EAPIs accepted by this eclass.

This is not something we are willing to support. If start allowing overlay-specific EAPIs things will quickly get out of hand. If you need something like this, I suggest creating an overlay-specific version of this eclass.
Comment 3 Ole Markus With (RETIRED) gentoo-dev 2013-01-02 18:19:49 UTC
The following is a list of packages using php-ext-* with EAPI < 4.

./sci-geosciences/mapserver/mapserver-6.0.1.ebuild EAPI=3
./dev-libs/xapian-bindings/xapian-bindings-1.2.12.ebuild EAPI="3"
./dev-libs/ossp-uuid/ossp-uuid-1.6.2-r1.ebuild EAPI="2"
./dev-php/igbinary/igbinary-1.1.1-r1.ebuild EAPI="2"
./dev-php/ffmpeg-php/ffmpeg-php-0.6.0-r1.ebuild EAPI="3"
./dev-php/pecl-id3/pecl-id3-0.2-r2.ebuild EAPI=3
./dev-php/pecl-dbx/pecl-dbx-1.1.2.ebuild EAPI="3"
./dev-php/xhprof/xhprof-0.9.2.ebuild EAPI="2"
./dev-php/pecl-gnupg/pecl-gnupg-1.3.2-r1.ebuild EAPI="3"
./dev-php/xdebug/xdebug-2.1.2.ebuild EAPI="2"
./dev-php/pecl-ps/pecl-ps-1.3.6-r1.ebuild EAPI=3
./dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1.ebuild EAPI=3
./dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.1-r1.ebuild EAPI=3
./dev-php/pecl-mongo/pecl-mongo-1.2.9.ebuild EAPI=3
./dev-php/pecl-mongo/pecl-mongo-1.3.0.ebuild EAPI=3
./dev-php/pecl-oauth/pecl-oauth-1.2.2.ebuild EAPI="2"
./dev-php/suhosin/suhosin-0.9.33.ebuild EAPI="2"
./dev-php/pecl-http/pecl-http-1.7.1.ebuild EAPI="3"
./dev-php/pecl-http/pecl-http-1.7.0-r1.ebuild EAPI="3"
./dev-php/libvirt-php/libvirt-php-0.4.2.ebuild EAPI=3
./dev-php/libvirt-php/libvirt-php-0.4.1.ebuild EAPI=3
./dev-php/pecl-radius/pecl-radius-1.2.5-r1.ebuild EAPI=3
./dev-php/pecl-memcached/pecl-memcached-1.0.2-r1.ebuild EAPI="2"
./dev-php/pecl-crack/pecl-crack-0.4-r1.ebuild EAPI="3"
./dev-php/pecl-pam/pecl-pam-1.0.2-r1.ebuild EAPI=3
./dev-php/adodb-ext/adodb-ext-504-r2.ebuild EAPI="2"
./dev-php/pecl-dio/pecl-dio-0.0.4_rc4-r2.ebuild EAPI="3"
./dev-php/pecl-xdiff/pecl-xdiff-1.5.1-r1.ebuild EAPI=3
./dev-php/pecl-memcache/pecl-memcache-3.0.6-r1.ebuild EAPI="2"
./dev-php/pecl-memcache/pecl-memcache-3.0.5-r1.ebuild EAPI="2"
./dev-php/pecl-ssh2/pecl-ssh2-0.11.2-r1.ebuild EAPI=3
./dev-php/pecl-lzf/pecl-lzf-1.5.2-r1.ebuild EAPI=3
./dev-php/xcache/xcache-1.3.2.ebuild EAPI="2"
./dev-php/pecl-sca_sdo/pecl-sca_sdo-1.2.4-r2.ebuild EAPI="2"
./dev-php/pecl-mailparse/pecl-mailparse-2.1.5-r1.ebuild EAPI=3
./dev-php/pecl-htscanner/pecl-htscanner-1.0.0.ebuild EAPI="3"
./dev-php/pecl-stomp/pecl-stomp-1.0.3.ebuild EAPI="2"
./dev-php/pecl-haru/pecl-haru-1.0.0-r1.ebuild EAPI=3
./dev-php/pecl-yaz/pecl-yaz-1.1.1.ebuild EAPI=3
./dev-php/pecl-yaz/pecl-yaz-1.0.14-r1.ebuild EAPI=3
./dev-php/pecl-geoip/pecl-geoip-1.0.7-r1.ebuild EAPI="3"
./dev-php/magickwand/magickwand-1.0.8-r1.ebuild EAPI="2"
./dev-php/pecl-translit/pecl-translit-0.6.0-r1.ebuild EAPI=3
./dev-php/pecl-syck/pecl-syck-0.9.3-r1.ebuild EAPI="2"
./dev-php/pecl-imagick/pecl-imagick-3.0.0-r1.ebuild EAPI=3
./dev-php/pecl-imagick/pecl-imagick-3.0.1-r1.ebuild EAPI=3
./media-libs/ming/ming-0.4.3-r2.ebuild EAPI="3"
./media-libs/ming/ming-0.4.3-r1.ebuild EAPI="3"
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2013-04-14 10:53:05 UTC
php-ext-source-r2 now requires EAPI{4,5}