diff options
author | Brian Evans <grknight@gentoo.org> | 2018-08-10 13:15:29 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-08-10 15:15:38 -0400 |
commit | 1477e445bd6a27f45d33122c51c46ddfd7f566b3 (patch) | |
tree | 0422683975454ecf57fb17df38fdddc61c03ead0 /dev-php | |
parent | dev-php/pecl-eio: Version bump for 2.0.4 (diff) | |
download | gentoo-1477e445bd6a27f45d33122c51c46ddfd7f566b3.tar.gz gentoo-1477e445bd6a27f45d33122c51c46ddfd7f566b3.tar.bz2 gentoo-1477e445bd6a27f45d33122c51c46ddfd7f566b3.zip |
dev-php/pecl-event: Version bump for 2.4.0
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-event/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-event/pecl-event-2.4.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest index f8ee69ac75be..1710f791c87d 100644 --- a/dev-php/pecl-event/Manifest +++ b/dev-php/pecl-event/Manifest @@ -1,2 +1,3 @@ DIST event-2.2.1.tgz 133147 BLAKE2B 909892c937843821b34cb4d450b06698b23ed8aac59915ef96c72ba08e4afe84856e913527e9b0197d28ebbe5cac8ac45174d8e3fbeae33eae0619e3b3e21959 SHA512 a331e0cbb923b2efe95a366c842929e9ffcdf15d4b95dce83f5d1e9bb33045477f278672835ffc087df89aa3614106cf504f4e6a779a620b94c20d83449e95f2 DIST event-2.3.0.tgz 135401 BLAKE2B a068142854ed908cc482ec48a249a5d213c1806652cffc698bc6dd298c136c5884bbb52b30179ef813af938d0ecb92a5414c93dea3d782d6ebfb4e886128454a SHA512 9e1f41a13a5fc534956561ea481816d6863ebe037cca0ce450cfb16375d6b49cd03c68e115c851ef6fa3022927f2e5850695880c65dd1d339bb747e171cc9f2f +DIST event-2.4.0.tgz 139646 BLAKE2B fe672b5d1f4eabd06456ffb14f11ed978a23a15eba06bc01b22d1784d71d5859e71e3914ab64856dd33a1cccb6618b5926bab446a112d8bf106081c2ab41bc74 SHA512 d238b72764461cf338d20618e4dee80ed8e8519350d17a6c789a68d749d2f4adae991ee43928ab09321caaff321fa21aaa4b5fac6f827974b2f8e9295e948293 diff --git a/dev-php/pecl-event/pecl-event-2.4.0.ebuild b/dev-php/pecl-event/pecl-event-2.4.0.ebuild new file mode 100644 index 000000000000..3fbf4fc20ca4 --- /dev/null +++ b/dev-php/pecl-event/pecl-event-2.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PHP_EXT_NAME="event" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README.md ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~ia64 ~x86" +LICENSE="PHP-3.01" + +DESCRIPTION="PHP wrapper for libevent2" +LICENSE="PHP-3" +SLOT="0" + +DEPEND=" + >=dev-libs/libevent-2.0.2 + ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) + php_targets_php5-6? ( dev-lang/php:5.6[sockets?] ) + php_targets_php7-0? ( dev-lang/php:7.0[sockets?] ) + php_targets_php7-1? ( dev-lang/php:7.1[sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[sockets?] )" + +RDEPEND="${DEPEND} !dev-php/pecl-libevent" + +IUSE="debug examples +extra libressl +sockets +ssl threads" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --with-event-core + $(use_enable debug event-debug) + $(use_with extra event-extra) + $(use_with ssl event-openssl) + $(use_with threads event-pthreads) + $(use_enable sockets event-sockets) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} |