1 |
commit: e2093ec2622b62746302c1cc448d05e1550d16bf |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 9 15:05:04 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 9 15:05:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2093ec2 |
7 |
|
8 |
dev-php/swoole: bump to v4.4.16 |
9 |
|
10 |
Package-Manager: Portage-2.3.91, Repoman-2.3.20 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/swoole/Manifest | 1 + |
14 |
dev-php/swoole/swoole-4.4.16.ebuild | 74 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 75 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest |
18 |
index b73f5330507..48df9f82e5e 100644 |
19 |
--- a/dev-php/swoole/Manifest |
20 |
+++ b/dev-php/swoole/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST swoole-4.2.13.tgz 1305634 BLAKE2B bb30180f7ca7b024a2aab8aff1149f6b19035315c |
22 |
DIST swoole-4.4.12.tgz 1436554 BLAKE2B cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85 SHA512 8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9 |
23 |
DIST swoole-4.4.14.tgz 1440095 BLAKE2B 8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0 SHA512 73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6 |
24 |
DIST swoole-4.4.15.tgz 1454897 BLAKE2B 38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a361487d7dad41bdc2ee3f2489d41824f60a841de1e3dea0cbf105d11dc1b5c2225ae49a02155604bc09c990ed61 SHA512 5ad797b38a20cfa17b0aa1fc5ab4f6446b84debb38babc05630e07833895401c778f1c6cf9eb32d7204b02c0e170ba6e613f356a054baa29ac511c19ce59620f |
25 |
+DIST swoole-4.4.16.tgz 1457270 BLAKE2B 4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7 SHA512 7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7 |
26 |
|
27 |
diff --git a/dev-php/swoole/swoole-4.4.16.ebuild b/dev-php/swoole/swoole-4.4.16.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..146edf124e9 |
30 |
--- /dev/null |
31 |
+++ b/dev-php/swoole/swoole-4.4.16.ebuild |
32 |
@@ -0,0 +1,74 @@ |
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="swoole" |
39 |
+PHP_EXT_INI="yes" |
40 |
+PHP_EXT_ZENDEXT="no" |
41 |
+PHP_EXT_SAPIS="cli" |
42 |
+DOCS=( README.md ) |
43 |
+ |
44 |
+USE_PHP="php7-1 php7-2 php7-3 php7-4" |
45 |
+ |
46 |
+inherit php-ext-pecl-r3 |
47 |
+ |
48 |
+HOMEPAGE="https://www.swoole.co.uk" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" |
52 |
+LICENSE="Apache-2.0" |
53 |
+SLOT="0" |
54 |
+# Tests can hang. Disable until this no longer happens |
55 |
+RESTRICT="test" |
56 |
+ |
57 |
+DEPEND=" |
58 |
+ app-arch/brotli:0= |
59 |
+ dev-libs/libaio |
60 |
+ dev-libs/boost:0= |
61 |
+ dev-libs/libpcre |
62 |
+ sys-libs/zlib:0= |
63 |
+ http2? ( net-libs/nghttp2:0= ) |
64 |
+ ssl? ( |
65 |
+ !libressl? ( dev-libs/openssl:0= ) |
66 |
+ libressl? ( dev-libs/libressl:0= ) |
67 |
+ ) |
68 |
+ php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) |
69 |
+ php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) |
70 |
+ php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) |
71 |
+ php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) |
72 |
+ mysql? ( |
73 |
+ php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) |
74 |
+ php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) |
75 |
+ php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) |
76 |
+ php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+RDEPEND="${DEPEND}" |
81 |
+ |
82 |
+IUSE="debug http2 libressl mysql sockets ssl" |
83 |
+ |
84 |
+src_configure() { |
85 |
+ # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory |
86 |
+ local PHP_EXT_ECONF_ARGS=( |
87 |
+ --enable-swoole |
88 |
+ $(use_enable debug) |
89 |
+ $(use_enable http2) |
90 |
+ $(use_enable mysql mysqlnd) |
91 |
+ $(use_enable ssl openssl) |
92 |
+ $(use_with ssl openssl-dir "${EROOT}/usr") |
93 |
+ $(use_enable sockets) |
94 |
+ ) |
95 |
+ |
96 |
+ php-ext-source-r3_src_configure |
97 |
+} |
98 |
+ |
99 |
+src_test() { |
100 |
+ local slot |
101 |
+ for slot in $(php_get_slots); do |
102 |
+ php_init_slot_env "${slot}" |
103 |
+ [[ -f tests/template.phpt ]] && rm tests/template.phpt |
104 |
+ SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test |
105 |
+ done |
106 |
+} |