From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D17601382C5 for ; Thu, 10 Dec 2020 18:13:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 152D9E08C3; Thu, 10 Dec 2020 18:13:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4F04E08C3 for ; Thu, 10 Dec 2020 18:13:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9098A340D46 for ; Thu, 10 Dec 2020 18:13:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 031C647F for ; Thu, 10 Dec 2020 18:13:19 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1607623981.8c5ab3902ce8bff74a99d5197286596adf44f60d.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/swoole/Manifest dev-php/swoole/swoole-4.5.9.ebuild X-VCS-Directories: dev-php/swoole/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 8c5ab3902ce8bff74a99d5197286596adf44f60d X-VCS-Branch: master Date: Thu, 10 Dec 2020 18:13:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 478a6784-a189-4b2a-9ebc-6aa3d7814c92 X-Archives-Hash: 9432476505fa8f50cfdb8eaee3435dec commit: 8c5ab3902ce8bff74a99d5197286596adf44f60d Author: Brian Evans gentoo org> AuthorDate: Thu Dec 10 18:13:01 2020 +0000 Commit: Brian Evans gentoo org> CommitDate: Thu Dec 10 18:13:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5ab390 dev-php/swoole: Version bump for 4.5.9 Signed-off-by: Brian Evans gentoo.org> dev-php/swoole/Manifest | 1 + dev-php/swoole/swoole-4.5.9.ebuild | 68 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest index d7f433f861c..64550949ad5 100644 --- a/dev-php/swoole/Manifest +++ b/dev-php/swoole/Manifest @@ -4,3 +4,4 @@ DIST swoole-4.4.14.tgz 1440095 BLAKE2B 8a893604a84f750b95bb63a3c6ce9869a80a700b5 DIST swoole-4.4.15.tgz 1454897 BLAKE2B 38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a361487d7dad41bdc2ee3f2489d41824f60a841de1e3dea0cbf105d11dc1b5c2225ae49a02155604bc09c990ed61 SHA512 5ad797b38a20cfa17b0aa1fc5ab4f6446b84debb38babc05630e07833895401c778f1c6cf9eb32d7204b02c0e170ba6e613f356a054baa29ac511c19ce59620f DIST swoole-4.4.16.tgz 1457270 BLAKE2B 4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7 SHA512 7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7 DIST swoole-4.4.19.tgz 1469420 BLAKE2B 0240b5fbd6a4625d426d0c960859b8215122fff10be9e70823eb32f196d3ec075a952dc133258b04c323439de982079f5acbab9039958c457aa18f1687118ce3 SHA512 be4671da9fdbf65daf6364e5eaca9b25fd3557bec848a04b636ace48c896d4dbf08f6e877d6166571aa966732a70037bf2d4ba2f302696dd2b1371e2de993106 +DIST swoole-4.5.9.tgz 1552445 BLAKE2B 602ce65f7b59a3c199d7718aeb941d1ebde7d59096335992c2278f7e330f7b48554a8418cc4014f6fcf47af92d315368a16c572055b1fd9575608c2559ed3107 SHA512 9154a2874480218aa3c8935979267efb92a3d5a4f1ba7dc071bf4c2b169d69e31a6ad7412785d00543dc5827ce2d6c5999b6cabea2089818f3f57acc26bcb31f diff --git a/dev-php/swoole/swoole-4.5.9.ebuild b/dev-php/swoole/swoole-4.5.9.ebuild new file mode 100644 index 00000000000..721b5a84f00 --- /dev/null +++ b/dev-php/swoole/swoole-4.5.9.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +PHP_EXT_NEEDED_USE="cli,sockets?" +DOCS=( README.md ) + +USE_PHP="php7-2 php7-3 php7-4 php8-0" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libpcre + sys-libs/zlib:0= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + mysql? ( + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + php_targets_php8-0? ( dev-lang/php:8.0[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +}