summaryrefslogtreecommitdiff
path: root/dev-php/pecl-event
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /dev-php/pecl-event
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'dev-php/pecl-event')
-rw-r--r--dev-php/pecl-event/Manifest2
-rw-r--r--dev-php/pecl-event/pecl-event-3.0.2_p1.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest
index c45d69633546..905dac57245c 100644
--- a/dev-php/pecl-event/Manifest
+++ b/dev-php/pecl-event/Manifest
@@ -1,3 +1,5 @@
DIST event-2.5.7.tgz 141451 BLAKE2B 6d5e87b0b4892b59e2dc37dde0ae8ecafd104fbaa90fcc4d2b7183d4e3ba2f8fa182ddee90d5ebaebeb826f3e02d760ae25ce5ca01582fec9dfa5cb05dc6f5c6 SHA512 8160c3df1f6faa4b3ee37b9212a7953e5c0cdc747228517d238ea638b2b441e4b64e9d8c91d3af6bd33f33486137e9da1c7cb45b8d8400b8ab46d1ae4c03590a
+DIST event-3.0.2r1.tgz 198176 BLAKE2B ca93fa75fc1210476bddfafb89f9fd7a9a9ed9b23023ce37c5b5fe94c782d3a95a3a9bee8263cca3329b96b848cb213de7fac73c6594a8fee0c7c299b5f44215 SHA512 b117119814763bffe1c2c44766a822f638cd0873eeede29aab139fceb09a09df264f0d7b7e882b21dd9a7e96f45d692b45193509c3f53e0f3b10feb59c1a4ae4
EBUILD pecl-event-2.5.7.ebuild 1169 BLAKE2B b313db6c4bf2c79faa925404c180bcc40d44b835774a17201c3c7c8f73afd32963448479c55690fc73e360169ac415f0f111bcd5ca9afec5d6c26132109c3837 SHA512 aab9e0cf772a537d934e3d401b9ab333eb5901a39831400fd6966eaff6acd97e0f20411c24038409641d21ceb2e89ca68c79ab876e6a3a23e13821caf7b1803f
+EBUILD pecl-event-3.0.2_p1.ebuild 1280 BLAKE2B cd71bc9764f4e91f80ae62784d2a6ddfff2f1cf0d962f0add9f62005bf7fc93fef3534920af77a6943a5d75cb95fffa48766abaff5b02525e65f0878df350466 SHA512 6d2e8157c2eed7c6ff71ab6733dbcaf38c318f2d19f1e501613a9fe3651d2c9306aba5befbb010a92c58e1c16bbaf846197cf9aa608d63ab70ced18814bb3ee5
MISC metadata.xml 431 BLAKE2B 25421824761cdcc90c610236ac4acfd85e18fb63e4f92ff3fa5e51698a7e2004812a7193ced70646baf02bacd0bc896a5959ee88bd88dd5de68db729661ad02f SHA512 6349913306ea30f9ee6cd5ad862e0323d143815f4db47da14e5d54d0dcfb604118e3845f664f2a9b8527797b262c9567bbf5f189426f9becbd169be0ec111056
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
+}