summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2021-02-22 14:55:04 -0500
committerBrian Evans <grknight@gentoo.org>2021-02-22 14:55:04 -0500
commit7f463d35558ef12f34d8859c69a0299079484296 (patch)
treee8229c671832353f070d6a315b9bcfae392202be /dev-php
parentapp-emulation/virtualbox-modules: fix build with kernel 5.11 (diff)
downloadgentoo-7f463d35558ef12f34d8859c69a0299079484296.tar.gz
gentoo-7f463d35558ef12f34d8859c69a0299079484296.tar.bz2
gentoo-7f463d35558ef12f34d8859c69a0299079484296.zip
dev-php/pecl-event: Version bump for 3.0.2_p1
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-event/Manifest1
-rw-r--r--dev-php/pecl-event/pecl-event-3.0.2_p1.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest
index 068fee3890e2..ad7c4fa930bb 100644
--- a/dev-php/pecl-event/Manifest
+++ b/dev-php/pecl-event/Manifest
@@ -1 +1,2 @@
DIST event-2.5.7.tgz 141451 BLAKE2B 6d5e87b0b4892b59e2dc37dde0ae8ecafd104fbaa90fcc4d2b7183d4e3ba2f8fa182ddee90d5ebaebeb826f3e02d760ae25ce5ca01582fec9dfa5cb05dc6f5c6 SHA512 8160c3df1f6faa4b3ee37b9212a7953e5c0cdc747228517d238ea638b2b441e4b64e9d8c91d3af6bd33f33486137e9da1c7cb45b8d8400b8ab46d1ae4c03590a
+DIST event-3.0.2r1.tgz 198176 BLAKE2B ca93fa75fc1210476bddfafb89f9fd7a9a9ed9b23023ce37c5b5fe94c782d3a95a3a9bee8263cca3329b96b848cb213de7fac73c6594a8fee0c7c299b5f44215 SHA512 b117119814763bffe1c2c44766a822f638cd0873eeede29aab139fceb09a09df264f0d7b7e882b21dd9a7e96f45d692b45193509c3f53e0f3b10feb59c1a4ae4
diff --git a/dev-php/pecl-event/pecl-event-3.0.2_p1.ebuild b/dev-php/pecl-event/pecl-event-3.0.2_p1.ebuild
new file mode 100644
index 000000000000..bbf8fa4a7267
--- /dev/null
+++ b/dev-php/pecl-event/pecl-event-3.0.2_p1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 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-3 php7-4 php8-0"
+#Unique to this release
+MY_P="${PN/pecl-/}-${PV/_p/r}"
+PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
+
+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? ( dev-libs/openssl:0= )
+ php_targets_php7-3? ( dev-lang/php:7.3[sockets(-)?] )
+ php_targets_php7-4? ( dev-lang/php:7.4[sockets(-)?] )
+ php_targets_php8-0? ( dev-lang/php:8.0[sockets(-)?] )"
+
+RDEPEND="
+ ${DEPEND}
+ !dev-php/pecl-libevent"
+
+IUSE="debug examples +extra libressl +sockets +ssl threads"
+#Unique to this release
+S="${WORKDIR}/${MY_P}"
+PHP_EXT_S="${S}"
+
+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
+}