dev-php/pecl-event: bump to v2.5.2
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 7 Jun 2019 13:20:13 +0000 (15:20 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 7 Jun 2019 14:08:06 +0000 (16:08 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-php/pecl-event/Manifest
dev-php/pecl-event/pecl-event-2.5.2.ebuild [new file with mode: 0644]

index 0187559550c720f99a6124035e442c8bf1d14eeb..b0e1b1f981bcac6f5d421e257fa4faaa0969319c 100644 (file)
@@ -3,3 +3,4 @@ DIST event-2.3.0.tgz 135401 BLAKE2B a068142854ed908cc482ec48a249a5d213c1806652cf
 DIST event-2.4.0.tgz 139646 BLAKE2B fe672b5d1f4eabd06456ffb14f11ed978a23a15eba06bc01b22d1784d71d5859e71e3914ab64856dd33a1cccb6618b5926bab446a112d8bf106081c2ab41bc74 SHA512 d238b72764461cf338d20618e4dee80ed8e8519350d17a6c789a68d749d2f4adae991ee43928ab09321caaff321fa21aaa4b5fac6f827974b2f8e9295e948293
 DIST event-2.4.1.tgz 139675 BLAKE2B 47b78868bad327778c917e026456dbbb8955f4910d1b6092132101618e348b064ee33766e7e8a2aec6c6c8bdb5e79a09fbbc7ef841dca0b16826fcc1737dd028 SHA512 d115fa12dfefe164532b39b6a79f01c2c00e2718967c3d675584a0dd193b155cdc74a632f6327239e201720fbabd440b9434bde5de4a9e30373595636dafad94
 DIST event-2.4.3.tgz 139788 BLAKE2B 428e8df15d4d8e9ff731ae4cd3f8dd0a5dc7d0bc7c5dbbe3575cfaeb596fec1c97c89d6aca19b2385ad09cf9bc36492f193e6264a238b71c4595d9e9a145877c SHA512 6f0ed8803e013ef96a14d7e89d037c31d78ddb3a386d0c7527d378b9ef9dc877c1c5642de7551363e5264b4e9f73975bd9ecd60936ac54dc2ccb5abf9f918ffd
+DIST event-2.5.2.tgz 140689 BLAKE2B 19a2c70048f895762250138236e536da22a608825ca4873a4981fea5a1d0ad40b79bb4ef61b8879710603a16f7eff9d673029a58b1aa618a090e8a5c0ca6509d SHA512 432988461bde5684f3d833f5763a8f1b21e4c21c9b043ce90a1cb8fc16c68f16be80af90123319da7839704ce19c41d4a97de414ffe7825d9a66dc856550e242
diff --git a/dev-php/pecl-event/pecl-event-2.5.2.ebuild b/dev-php/pecl-event/pecl-event-2.5.2.ebuild
new file mode 100644 (file)
index 0000000..adee910
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="event"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS=( README.md )
+
+USE_PHP="php5-6 php7-1 php7-2 php7-3"
+
+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-1? ( dev-lang/php:7.1[sockets?] )
+       php_targets_php7-2? ( dev-lang/php:7.2[sockets?] )
+       php_targets_php7-3? ( dev-lang/php:7.3[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
+}