summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-12-12 13:27:39 -0500
committerBrian Evans <grknight@gentoo.org>2022-12-12 13:27:39 -0500
commitf1d5603f848ba91c4d74a4c72313ad701ef4c130 (patch)
treef6d8ef0bd1c0bde91f56cc48d93a44ef9bd954eb /dev-php
parentdev-php/pecl-rrd: Adjust targets on 2.0.3 (diff)
downloadgentoo-f1d5603f848ba91c4d74a4c72313ad701ef4c130.tar.gz
gentoo-f1d5603f848ba91c4d74a4c72313ad701ef4c130.tar.bz2
gentoo-f1d5603f848ba91c4d74a4c72313ad701ef4c130.zip
dev-php/pecl-event: Version bump for 3.0.8
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.8.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest
index c8252cf30fdf..52fd71865ff0 100644
--- a/dev-php/pecl-event/Manifest
+++ b/dev-php/pecl-event/Manifest
@@ -1,2 +1,3 @@
DIST event-3.0.2r1.tgz 198176 BLAKE2B ca93fa75fc1210476bddfafb89f9fd7a9a9ed9b23023ce37c5b5fe94c782d3a95a3a9bee8263cca3329b96b848cb213de7fac73c6594a8fee0c7c299b5f44215 SHA512 b117119814763bffe1c2c44766a822f638cd0873eeede29aab139fceb09a09df264f0d7b7e882b21dd9a7e96f45d692b45193509c3f53e0f3b10feb59c1a4ae4
DIST event-3.0.6.tgz 198565 BLAKE2B a8629572f63c3c342f5a137c5eaaf1af6d22d5df192cd37c36453d67db28ee030c7be13a26653a0de8e4984c24f9e633f7b0e757457aa668e2ce694d36b89cea SHA512 a7c7b062e44409d8d7525b3bb5ec80916dfcb5cdc53088a486ae940fa3a0a7944ec30727cd96d4e125187b8fa2e3a0fce6fc8981f803ad416a2cc040b78f93eb
+DIST event-3.0.8.tgz 199567 BLAKE2B 520949b55d27629e089993a49fe55114f8fb45cf5788dd57b30b0977fcfc9074757b4cc2efb6d5a126eea5343926f326d1651546650e9dbc8baa0ef7b06649f5 SHA512 45b4c07cac6dfca386cf9e6c792abc72c6f68d1443a1c67fd645f5e6f05ae9d45fb346b50b35cc6818ca70ebbff93c42afd801e70e9ebc63f997366996193593
diff --git a/dev-php/pecl-event/pecl-event-3.0.8.ebuild b/dev-php/pecl-event/pecl-event-3.0.8.ebuild
new file mode 100644
index 000000000000..767b51e42dd5
--- /dev/null
+++ b/dev-php/pecl-event/pecl-event-3.0.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PHP_EXT_NAME="event"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS=( README.md )
+
+USE_PHP="php7-4 php8-0 php8-1 php8-2"
+PHP_EXT_NEEDED_USE="sockets(-)?"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~ia64 ~x86"
+LICENSE="PHP-3.01"
+
+DESCRIPTION="PHP wrapper for libevent2"
+SLOT="0"
+IUSE="debug examples +extra +sockets +ssl threads"
+
+DEPEND="
+ >=dev-libs/libevent-2.0.2
+ ssl? ( dev-libs/openssl:0= )"
+
+RDEPEND="
+ ${DEPEND}
+ !dev-php/pecl-libevent"
+
+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
+}