1 |
commit: a8bfc23b9fd05150017dcda80d378b5c5ee5b2eb |
2 |
Author: Ruslan Osmanov <rrosmanov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 7 16:45:04 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 07:54:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bfc23b |
7 |
|
8 |
dev-php/pecl-event: Version bump (2.5.7) |
9 |
|
10 |
Signed-off-by: Ruslan Osmanov <rrosmanov <AT> gmail.com> |
11 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17453 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-php/pecl-event/Manifest | 1 + |
16 |
dev-php/pecl-event/pecl-event-2.5.7.ebuild | 56 ++++++++++++++++++++++++++++++ |
17 |
2 files changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest |
20 |
index 7e1b62e25a2..b61f9000852 100644 |
21 |
--- a/dev-php/pecl-event/Manifest |
22 |
+++ b/dev-php/pecl-event/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST event-2.5.3.tgz 140913 BLAKE2B e9b1886b65d1c307bf4a40ebe20e19f33d9e422ce98fb704c7174e953c2488b87f941fc5615bfee07e7d51e1775a0256349e023e6d8921fdd237e527ab108151 SHA512 359eee2f501444f444904ee1960d85af0b77259e59a06d9c6ae1ec008f7bda9bda5bf999d437d84416150a965466519c04e4c2f36dbca44367075fcbb46cd917 |
25 |
+DIST event-2.5.7.tgz 141451 BLAKE2B 6d5e87b0b4892b59e2dc37dde0ae8ecafd104fbaa90fcc4d2b7183d4e3ba2f8fa182ddee90d5ebaebeb826f3e02d760ae25ce5ca01582fec9dfa5cb05dc6f5c6 SHA512 8160c3df1f6faa4b3ee37b9212a7953e5c0cdc747228517d238ea638b2b441e4b64e9d8c91d3af6bd33f33486137e9da1c7cb45b8d8400b8ab46d1ae4c03590a |
26 |
|
27 |
diff --git a/dev-php/pecl-event/pecl-event-2.5.7.ebuild b/dev-php/pecl-event/pecl-event-2.5.7.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0e9e0d9348b |
30 |
--- /dev/null |
31 |
+++ b/dev-php/pecl-event/pecl-event-2.5.7.ebuild |
32 |
@@ -0,0 +1,56 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+PHP_EXT_NAME="event" |
39 |
+PHP_EXT_INI="yes" |
40 |
+PHP_EXT_ZENDEXT="no" |
41 |
+DOCS=( README.md ) |
42 |
+ |
43 |
+USE_PHP="php7-1 php7-2 php7-3 php7-4" |
44 |
+ |
45 |
+inherit php-ext-pecl-r3 |
46 |
+ |
47 |
+KEYWORDS="~amd64 ~ia64 ~x86" |
48 |
+LICENSE="PHP-3.01" |
49 |
+ |
50 |
+DESCRIPTION="PHP wrapper for libevent2" |
51 |
+SLOT="0" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ >=dev-libs/libevent-2.0.2 |
55 |
+ ssl? ( |
56 |
+ !libressl? ( dev-libs/openssl:0= ) |
57 |
+ libressl? ( dev-libs/libressl:0= ) |
58 |
+ ) |
59 |
+ php_targets_php7-1? ( dev-lang/php:7.1[sockets?] ) |
60 |
+ php_targets_php7-2? ( dev-lang/php:7.2[sockets?] ) |
61 |
+ php_targets_php7-3? ( dev-lang/php:7.3[sockets?] ) |
62 |
+ php_targets_php7-4? ( dev-lang/php:7.4[sockets?] )" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ ${DEPEND} |
66 |
+ !dev-php/pecl-libevent" |
67 |
+ |
68 |
+IUSE="debug examples +extra libressl +sockets +ssl threads" |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local PHP_EXT_ECONF_ARGS=( |
72 |
+ --with-event-core |
73 |
+ $(use_enable debug event-debug) |
74 |
+ $(use_with extra event-extra) |
75 |
+ $(use_with ssl event-openssl) |
76 |
+ $(use_with threads event-pthreads) |
77 |
+ $(use_enable sockets event-sockets) |
78 |
+ ) |
79 |
+ php-ext-source-r3_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ local slot |
84 |
+ for slot in $(php_get_slots); do |
85 |
+ php_init_slot_env "${slot}" |
86 |
+ SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test |
87 |
+ done |
88 |
+} |