summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Osmanov <rrosmanov@gmail.com>2020-09-07 19:45:04 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-09-30 10:54:01 +0300
commita8bfc23b9fd05150017dcda80d378b5c5ee5b2eb (patch)
tree3e6902cb33339ffc08d1db2e9b7316fd07a1ced0 /dev-php
parentdev-python/pgspecial-1.11.10: version bump (diff)
downloadgentoo-a8bfc23b9fd05150017dcda80d378b5c5ee5b2eb.tar.gz
gentoo-a8bfc23b9fd05150017dcda80d378b5c5ee5b2eb.tar.bz2
gentoo-a8bfc23b9fd05150017dcda80d378b5c5ee5b2eb.zip
dev-php/pecl-event: Version bump (2.5.7)
Signed-off-by: Ruslan Osmanov <rrosmanov@gmail.com> Package-Manager: Portage-3.0.4, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/17453 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-event/Manifest1
-rw-r--r--dev-php/pecl-event/pecl-event-2.5.7.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest
index 7e1b62e25a23..b61f90008523 100644
--- a/dev-php/pecl-event/Manifest
+++ b/dev-php/pecl-event/Manifest
@@ -1 +1,2 @@
DIST event-2.5.3.tgz 140913 BLAKE2B e9b1886b65d1c307bf4a40ebe20e19f33d9e422ce98fb704c7174e953c2488b87f941fc5615bfee07e7d51e1775a0256349e023e6d8921fdd237e527ab108151 SHA512 359eee2f501444f444904ee1960d85af0b77259e59a06d9c6ae1ec008f7bda9bda5bf999d437d84416150a965466519c04e4c2f36dbca44367075fcbb46cd917
+DIST event-2.5.7.tgz 141451 BLAKE2B 6d5e87b0b4892b59e2dc37dde0ae8ecafd104fbaa90fcc4d2b7183d4e3ba2f8fa182ddee90d5ebaebeb826f3e02d760ae25ce5ca01582fec9dfa5cb05dc6f5c6 SHA512 8160c3df1f6faa4b3ee37b9212a7953e5c0cdc747228517d238ea638b2b441e4b64e9d8c91d3af6bd33f33486137e9da1c7cb45b8d8400b8ab46d1ae4c03590a
diff --git a/dev-php/pecl-event/pecl-event-2.5.7.ebuild b/dev-php/pecl-event/pecl-event-2.5.7.ebuild
new file mode 100644
index 000000000000..0e9e0d9348bc
--- /dev/null
+++ b/dev-php/pecl-event/pecl-event-2.5.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 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="php7-1 php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~ia64 ~x86"
+LICENSE="PHP-3.01"
+
+DESCRIPTION="PHP wrapper for libevent2"
+SLOT="0"
+
+DEPEND="
+ >=dev-libs/libevent-2.0.2
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ 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?] )
+ php_targets_php7-4? ( dev-lang/php:7.4[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
+}