[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/, profiles/

2023-09-15 Thread David Seifert
commit: 1707f1518802042d2cdafc554dec45b7858ce6dd
Author: David Seifert  gentoo  org>
AuthorDate: Fri Sep 15 07:52:08 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Sep 15 07:52:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1707f151

dev-php/swoole-async: treeclean

Closes: https://bugs.gentoo.org/882195
Signed-off-by: David Seifert  gentoo.org>

 dev-php/swoole-async/Manifest  |  1 -
 dev-php/swoole-async/metadata.xml  |  8 
 dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild | 52 --
 profiles/package.mask  |  6 ---
 4 files changed, 67 deletions(-)

diff --git a/dev-php/swoole-async/Manifest b/dev-php/swoole-async/Manifest
deleted file mode 100644
index 1603139bd25c..
--- a/dev-php/swoole-async/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST swoole-async-4.4.16.tar.gz 419094 BLAKE2B 
7b93a0d2eb8a9597a68871783c60746c832b2eb1dce89a0f82ca6df2ee20151f910ad4f8ebb6a453bea3b7c2cc274266614f147b34c21a089ff9cc4ca0f73d1c
 SHA512 
cf4bfc3c86740e343774b2cddc0ef2386f522e7929c160bc10d47ebe0b8f8d63dbcc82e70b7f3f30e7f7c102ebd42b02cddf4c3e1a0289f0e45147ddbd9aa546

diff --git a/dev-php/swoole-async/metadata.xml 
b/dev-php/swoole-async/metadata.xml
deleted file mode 100644
index fc23648923fd..
--- a/dev-php/swoole-async/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd";>
-
-   
-   php-b...@gentoo.org
-   PHP Project
-   
-

diff --git a/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
deleted file mode 100644
index 7e3dc9689a29..
--- a/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="swoole_async"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_EXT_SAPIS="cli"
-DOCS=( README.md )
-
-USE_PHP="php7-4"
-
-inherit php-ext-pecl-r3
-
-SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/ext-async-${PV}"
-PHP_EXT_S="${S}"
-
-HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="An extension of Swoole, including the async callback style API"
-LICENSE="Apache-2.0"
-SLOT="0"
-# Tests will require pre-configured endpoint
-RESTRICT="test"
-
-# This will only compile with the same version of dev-php/swoole
-DEPEND="~dev-php/swoole-${PV}[php_targets_php7-4(-)?]"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug"
-
-src_configure() {
-   local PHP_EXT_ECONF_ARGS=(
-   --enable-swoole_async
-   $(use_enable debug)
-   )
-
-   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
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 72fc166bdaf5..b326e0b5d041 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -297,12 +297,6 @@ net-libs/nativebiginteger
 # distro packages this, over 10 years old. Removal on 2023-08-28.
 sci-libs/rosetta-db
 
-# Michael Orlitzky  (2023-07-27)
-# Obsolete as of dev-php/swoole-4.3.0, according to
-# its github README. Stuck on php-7.4. Removal on or
-# after 30 days.
-dev-php/swoole-async
-
 # Mike Gilbert  (2023-07-24)
 # Migrated to sys-apps/systemd-utils.
 # Removal on 2023-08-24.



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2023-07-27 Thread Michael Orlitzky
commit: 219e14c37dacd126d7a108ee73ef12a1db8e3327
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Jul 27 18:35:54 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Jul 27 18:48:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=219e14c3

dev-php/swoole: drop 4.4.16, 4.5.9

Signed-off-by: Michael Orlitzky  gentoo.org>

 dev-php/swoole/Manifest |  2 --
 dev-php/swoole/swoole-4.4.16.ebuild | 67 -
 dev-php/swoole/swoole-4.5.9.ebuild  | 67 -
 3 files changed, 136 deletions(-)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index a44e9a230a1e..f83ffe54f33e 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,3 +1 @@
-DIST swoole-4.4.16.tgz 1457270 BLAKE2B 
4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7
 SHA512 
7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7
-DIST swoole-4.5.9.tgz 1552445 BLAKE2B 
602ce65f7b59a3c199d7718aeb941d1ebde7d59096335992c2278f7e330f7b48554a8418cc4014f6fcf47af92d315368a16c572055b1fd9575608c2559ed3107
 SHA512 
9154a2874480218aa3c8935979267efb92a3d5a4f1ba7dc071bf4c2b169d69e31a6ad7412785d00543dc5827ce2d6c5999b6cabea2089818f3f57acc26bcb31f
 DIST swoole-4.8.7.tgz 1851160 BLAKE2B 
3e5c9d664f1897b7bd490a1e9dbc4c3c03117a18ae58586efe534c617578a7af5be779e6ca44a5bf2f782abc2eb57bc21e3dc4e3445c3299918bc189547dc75c
 SHA512 
36f36aface71435233aaa8c81e023b813c6175d3ed00a9de20acb690b58b464d99670c3b96f247ab1147f95e099d44785d60d5f1e36f519ccfeb09b3bddba264

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.ebuild
deleted file mode 100644
index 5df2ebd4942d..
--- a/dev-php/swoole/swoole-4.4.16.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 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"
-DOCS=( README.md )
-
-USE_PHP="php7-4"
-
-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/libaio
-   dev-libs/boost:=
-   dev-libs/libpcre
-   sys-libs/zlib:0=
-   http2? ( net-libs/nghttp2:0= )
-   ssl? (
-   dev-libs/openssl:0=
-   )
-   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
-   mysql? (
-   php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] )
-   )
-"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug http2 mysql sockets ssl"
-
-src_configure() {
-   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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 "${ESYSROOT}/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
-}

diff --git a/dev-php/swoole/swoole-4.5.9.ebuild 
b/dev-php/swoole/swoole-4.5.9.ebuild
deleted file mode 100644
index 5c0345cb8a3e..
--- a/dev-php/swoole/swoole-4.5.9.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2022 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? (
-   dev-libs/openssl: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(+)] )
-   )
-"

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2023-07-04 Thread Sam James
commit: f289e932a468da21af5ffeb9f5d060b9d78983cf
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul  4 13:59:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul  4 13:59:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f289e932

dev-php/swoole: Stabilize 4.8.7 amd64, #909596

Signed-off-by: Sam James  gentoo.org>

 dev-php/swoole/swoole-4.8.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/swoole/swoole-4.8.7.ebuild 
b/dev-php/swoole/swoole-4.8.7.ebuild
index 843f0db71a41..59684d9f8333 100644
--- a/dev-php/swoole/swoole-4.8.7.ebuild
+++ b/dev-php/swoole/swoole-4.8.7.ebuild
@@ -15,7 +15,7 @@ USE_PHP="php7-4 php8-0 php8-1"
 inherit php-ext-pecl-r3
 
 HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking 
engine"
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/files/, dev-php/swoole/

2023-04-25 Thread Sam James
commit: 5542212403a33d8c2a2c8087b47e4fa1a2b4a267
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 26 02:16:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 26 02:16:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55422124

dev-php/swoole: fix build w/ gcc 13

Closes: https://bugs.gentoo.org/895232
Signed-off-by: Sam James  gentoo.org>

 dev-php/swoole/files/swoole-4.8.7-gcc13.patch | 19 +++
 dev-php/swoole/swoole-4.8.7.ebuild|  6 +-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/dev-php/swoole/files/swoole-4.8.7-gcc13.patch 
b/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
new file mode 100644
index ..a99088af87cf
--- /dev/null
+++ b/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
@@ -0,0 +1,19 @@
+https://bugs.gentoo.org/895232
+https://github.com/swoole/swoole-src/issues/4983
+https://github.com/swoole/swoole-src/commit/402eec43ec385b63307b3ba772f871f0f86fa299
+
+From 402eec43ec385b63307b3ba772f871f0f86fa299 Mon Sep 17 00:00:00 2001
+From: Remi Collet 
+Date: Sun, 19 Feb 2023 13:00:01 +0100
+Subject: [PATCH] Fix #4983 Add missing header for GCC 13 (#4985)
+
+--- a/include/swoole_proxy.h
 b/include/swoole_proxy.h
+@@ -17,6 +17,7 @@
+ #pragma once
+ 
+ #include 
++#include 
+ 
+ #define SW_SOCKS5_VERSION_CODE 0x05
+ 

diff --git a/dev-php/swoole/swoole-4.8.7.ebuild 
b/dev-php/swoole/swoole-4.8.7.ebuild
index 74dd612ea9a3..843f0db71a41 100644
--- a/dev-php/swoole/swoole-4.8.7.ebuild
+++ b/dev-php/swoole/swoole-4.8.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -41,6 +41,10 @@ RDEPEND="${DEPEND}"
 
 IUSE="debug http2 mysql sockets ssl"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-gcc13.patch
+)
+
 src_configure() {
# JEMalloc not included as it refuses to find a 
${ESYSROOT}/usr/includes/jemalloc subdirectory
local PHP_EXT_ECONF_ARGS=(



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2022-09-04 Thread David Seifert
commit: bd5d578cfd7ba51fce7c3fb3c327c786c54af60e
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 12:22:42 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 12:22:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5d578c

dev-php/swoole: remove boost slot deps

Signed-off-by: David Seifert  gentoo.org>

 dev-php/swoole/swoole-4.4.16.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.ebuild
index ae1a5e1862af..5df2ebd4942d 100644
--- a/dev-php/swoole/swoole-4.4.16.ebuild
+++ b/dev-php/swoole/swoole-4.4.16.ebuild
@@ -25,7 +25,7 @@ RESTRICT="test"
 DEPEND="
app-arch/brotli:0=
dev-libs/libaio
-   dev-libs/boost:0=
+   dev-libs/boost:=
dev-libs/libpcre
sys-libs/zlib:0=
http2? ( net-libs/nghttp2:0= )



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2022-03-17 Thread Brian Evans
commit: c3266dbae458c687a9957755dafa208537d7acc7
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Mar 17 14:15:41 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Mar 17 14:15:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3266dba

dev-php/swoole: Drop old; update target

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/Manifest |  1 -
 dev-php/swoole/swoole-4.4.12.ebuild | 73 -
 dev-php/swoole/swoole-4.4.16.ebuild | 10 +
 3 files changed, 2 insertions(+), 82 deletions(-)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 9dcf3ebb7a11..a44e9a230a1e 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,4 +1,3 @@
-DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
 DIST swoole-4.4.16.tgz 1457270 BLAKE2B 
4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7
 SHA512 
7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7
 DIST swoole-4.5.9.tgz 1552445 BLAKE2B 
602ce65f7b59a3c199d7718aeb941d1ebde7d59096335992c2278f7e330f7b48554a8418cc4014f6fcf47af92d315368a16c572055b1fd9575608c2559ed3107
 SHA512 
9154a2874480218aa3c8935979267efb92a3d5a4f1ba7dc071bf4c2b169d69e31a6ad7412785d00543dc5827ce2d6c5999b6cabea2089818f3f57acc26bcb31f
 DIST swoole-4.8.7.tgz 1851160 BLAKE2B 
3e5c9d664f1897b7bd490a1e9dbc4c3c03117a18ae58586efe534c617578a7af5be779e6ca44a5bf2f782abc2eb57bc21e3dc4e3445c3299918bc189547dc75c
 SHA512 
36f36aface71435233aaa8c81e023b813c6175d3ed00a9de20acb690b58b464d99670c3b96f247ab1147f95e099d44785d60d5f1e36f519ccfeb09b3bddba264

diff --git a/dev-php/swoole/swoole-4.4.12.ebuild 
b/dev-php/swoole/swoole-4.4.12.ebuild
deleted file mode 100644
index 4d978ebbd611..
--- a/dev-php/swoole/swoole-4.4.12.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 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"
-DOCS=( README.md )
-
-USE_PHP="php7-1 php7-2 php7-3 php7-4"
-
-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/libaio
-   dev-libs/boost:0=
-   dev-libs/libpcre
-   sys-libs/zlib:0=
-   http2? ( net-libs/nghttp2:0= )
-   ssl? (
-   dev-libs/openssl:0=
-   )
-   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
-   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
-   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
-   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
-   mysql? (
-   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
-   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(+)] )
-   )
-"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug http2 mysql sockets ssl"
-
-src_configure() {
-   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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 "${ESYSROOT}/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
-}

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.ebuild
index 4d978ebbd611..ae1a5e1862af 100644
--- a/dev-php/swoole/swoole-4.4.16.ebuild
+++ b/dev-php/swoole/swoole-4.4.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -9,7 +9,7 @@ PHP_EXT_ZENDEXT="no"
 PHP_EXT_SAPIS="cli"
 DOCS=( README.md )
 
-USE_PHP="php7-1 php7-2 php7-3 php7-4"
+USE_PHP="php7-4"
 
 inherit php-ext-pecl-r3
 
@@ -32,14

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/

2022-03-17 Thread Brian Evans
commit: 6f8752b4674cc325200a8ae4f61a2d4e7cdc1041
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Mar 17 14:11:28 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Mar 17 14:11:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8752b4

dev-php/swoole-async: Update targets

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
index aa4fbdf97a3a..7e3dc9689a29 100644
--- a/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
+++ b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -9,7 +9,7 @@ PHP_EXT_ZENDEXT="no"
 PHP_EXT_SAPIS="cli"
 DOCS=( README.md )
 
-USE_PHP="php7-1 php7-2 php7-3 php7-4"
+USE_PHP="php7-4"
 
 inherit php-ext-pecl-r3
 
@@ -27,7 +27,7 @@ SLOT="0"
 RESTRICT="test"
 
 # This will only compile with the same version of dev-php/swoole
-DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
+DEPEND="~dev-php/swoole-${PV}[php_targets_php7-4(-)?]"
 
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2022-03-16 Thread Brian Evans
commit: 62bffa2be3c63848de25779a60a97f7f33578ea2
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Mar 16 22:04:50 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Mar 16 22:11:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bffa2b

dev-php/swoole: Drop old

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/Manifest |  4 --
 dev-php/swoole/swoole-4.2.13.ebuild | 69 ---
 dev-php/swoole/swoole-4.4.14.ebuild | 73 -
 dev-php/swoole/swoole-4.4.15.ebuild | 73 -
 dev-php/swoole/swoole-4.4.19.ebuild | 73 -
 5 files changed, 292 deletions(-)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index cb07e9960ba8..9dcf3ebb7a11 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,8 +1,4 @@
-DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
 DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
-DIST swoole-4.4.14.tgz 1440095 BLAKE2B 
8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0
 SHA512 
73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6
-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
 DIST swoole-4.8.7.tgz 1851160 BLAKE2B 
3e5c9d664f1897b7bd490a1e9dbc4c3c03117a18ae58586efe534c617578a7af5be779e6ca44a5bf2f782abc2eb57bc21e3dc4e3445c3299918bc189547dc75c
 SHA512 
36f36aface71435233aaa8c81e023b813c6175d3ed00a9de20acb690b58b464d99670c3b96f247ab1147f95e099d44785d60d5f1e36f519ccfeb09b3bddba264

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
deleted file mode 100644
index 5f7e9c4b7df3..
--- a/dev-php/swoole/swoole-4.2.13.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 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"
-DOCS=( README.md )
-
-USE_PHP="php7-1 php7-2 php7-3"
-
-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="
-   dev-libs/libaio
-   dev-libs/boost:0=
-   dev-libs/libpcre
-   http2? ( net-libs/nghttp2:0= )
-   ssl? ( dev-libs/openssl:0= )
-   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
-   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
-   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
-   mysql? (
-   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
-   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
-   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
-   )
-"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug http2 mysql sockets ssl"
-
-src_configure() {
-   # PostgreSQL disabled due to Gentoo's slot system
-   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/usr/includes/jemalloc sub

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/

2022-03-16 Thread Brian Evans
commit: 0ee27b2ba21f544f262b716f7004e82026f92dd0
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Mar 16 22:10:20 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Mar 16 22:11:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee27b2b

dev-php/swoole-async: Drop old

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole-async/Manifest  |  1 -
 dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild | 52 --
 2 files changed, 53 deletions(-)

diff --git a/dev-php/swoole-async/Manifest b/dev-php/swoole-async/Manifest
index 4735139323d5..1603139bd25c 100644
--- a/dev-php/swoole-async/Manifest
+++ b/dev-php/swoole-async/Manifest
@@ -1,2 +1 @@
-DIST swoole-async-4.4.12.tar.gz 417674 BLAKE2B 
77a96f53b1b159b558eb4759fe172e4a3b8f2648cd9f49252d89508eb56b4d342b178fa3c84d6a425c300a286063b4d32a05d09a3da4f3769be4c25a9800783c
 SHA512 
adfb761803e5ec93c30aa2a4bbc312a2f43287a54cd237c0a87237dfcbfe1e6daa3d57ec2cdf15720202aa9a7830ed67ab2efdf2f7dd81989c3693e91bc22143
 DIST swoole-async-4.4.16.tar.gz 419094 BLAKE2B 
7b93a0d2eb8a9597a68871783c60746c832b2eb1dce89a0f82ca6df2ee20151f910ad4f8ebb6a453bea3b7c2cc274266614f147b34c21a089ff9cc4ca0f73d1c
 SHA512 
cf4bfc3c86740e343774b2cddc0ef2386f522e7929c160bc10d47ebe0b8f8d63dbcc82e70b7f3f30e7f7c102ebd42b02cddf4c3e1a0289f0e45147ddbd9aa546

diff --git a/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
deleted file mode 100644
index aa4fbdf97a3a..
--- a/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PHP_EXT_NAME="swoole_async"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_EXT_SAPIS="cli"
-DOCS=( README.md )
-
-USE_PHP="php7-1 php7-2 php7-3 php7-4"
-
-inherit php-ext-pecl-r3
-
-SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/ext-async-${PV}"
-PHP_EXT_S="${S}"
-
-HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="An extension of Swoole, including the async callback style API"
-LICENSE="Apache-2.0"
-SLOT="0"
-# Tests will require pre-configured endpoint
-RESTRICT="test"
-
-# This will only compile with the same version of dev-php/swoole
-DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug"
-
-src_configure() {
-   local PHP_EXT_ECONF_ARGS=(
-   --enable-swoole_async
-   $(use_enable debug)
-   )
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2022-03-16 Thread Jakov Smolić
commit: 23230bdf99d31634dbdcc8ef563e3319f98a713c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 16 19:20:25 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 16 19:20:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23230bdf

dev-php/swoole: Stabilize 4.5.9 amd64, #835428

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-php/swoole/swoole-4.5.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/swoole/swoole-4.5.9.ebuild 
b/dev-php/swoole/swoole-4.5.9.ebuild
index 5d5171051808..5c0345cb8a3e 100644
--- a/dev-php/swoole/swoole-4.5.9.ebuild
+++ b/dev-php/swoole/swoole-4.5.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -15,7 +15,7 @@ USE_PHP="php7-2 php7-3 php7-4 php8-0"
 inherit php-ext-pecl-r3
 
 HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking 
engine"
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2022-03-16 Thread Brian Evans
commit: 627563e1d3bcc12e94fc9c2444371db86fa2de5c
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Mar 16 14:37:33 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Mar 16 14:38:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=627563e1

dev-php/swoole: Version bump for 4.8.7

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/metadata.xml|  3 ++
 dev-php/swoole/swoole-4.8.7.ebuild | 70 ++
 3 files changed, 74 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 64550949ad54..cb07e9960ba8 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -5,3 +5,4 @@ DIST swoole-4.4.15.tgz 1454897 BLAKE2B 
38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a3614
 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
+DIST swoole-4.8.7.tgz 1851160 BLAKE2B 
3e5c9d664f1897b7bd490a1e9dbc4c3c03117a18ae58586efe534c617578a7af5be779e6ca44a5bf2f782abc2eb57bc21e3dc4e3445c3299918bc189547dc75c
 SHA512 
36f36aface71435233aaa8c81e023b813c6175d3ed00a9de20acb690b58b464d99670c3b96f247ab1147f95e099d44785d60d5f1e36f519ccfeb09b3bddba264

diff --git a/dev-php/swoole/metadata.xml b/dev-php/swoole/metadata.xml
index a64ace0fb389..fa5b5ed25cfb 100644
--- a/dev-php/swoole/metadata.xml
+++ b/dev-php/swoole/metadata.xml
@@ -8,4 +8,7 @@
 
 Add support for HTTP/2 protocol via 
net-libs/nghttp2
 
+
+  swoole/swoole-src
+
 

diff --git a/dev-php/swoole/swoole-4.8.7.ebuild 
b/dev-php/swoole/swoole-4.8.7.ebuild
new file mode 100644
index ..74dd612ea9a3
--- /dev/null
+++ b/dev-php/swoole/swoole-4.8.7.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+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-4 php8-0 php8-1"
+
+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 require network access for composer libraries under 
tests/include/lib/vendor
+RESTRICT="test"
+
+DEPEND="
+   app-arch/brotli:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   ssl? (
+   dev-libs/openssl:0=
+   )
+   mysql? (
+   php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] )
+   php_targets_php8-0? ( dev-lang/php:8.0[mysql,mysqli(+)] )
+   php_targets_php8-1? ( dev-lang/php:8.1[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 mysql sockets ssl"
+
+src_configure() {
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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 "${ESYSROOT}/usr")
+   $(use_enable sockets)
+   )
+
+   php-ext-source-r3_src_configure
+}
+
+src_test() {
+   ulimit -n 16384 > /dev/null 2>&1
+   local slot
+   for slot in $(php_get_slots); do
+   php_init_slot_env "${slot}"
+   cd tests || die
+   if has_version ">=dev-php/xdebug-3" ; then
+   sed -i 's/xdebug.default_enable=0/xdebug.mode=off/' 
run-tests || die
+   fi
+   PHPT=1 "${PHPCLI}" -d "memory_limit=1024m" ./run-tests swoole_* 
|| die
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/

2021-09-29 Thread Brian Evans
commit: adda557b380f0fe8aa556f21b46dad360e57bb97
Author: Brian Evans  gentoo  org>
AuthorDate: Wed Sep 29 16:49:51 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Wed Sep 29 16:52:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adda557b

dev-php/swoole-async: Fix build dependencies

swoole-async needs a specific version of dev-php/swoole to compile and work
Revbump to ensure those using it get what is necessary

Closes: https://bugs.gentoo.org/705492
Signed-off-by: Brian Evans  gentoo.org>

 .../{swoole-async-4.4.12.ebuild => swoole-async-4.4.12-r1.ebuild}| 5 +++--
 .../{swoole-async-4.4.16.ebuild => swoole-async-4.4.16-r1.ebuild}| 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-php/swoole-async/swoole-async-4.4.12.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
similarity index 81%
rename from dev-php/swoole-async/swoole-async-4.4.12.ebuild
rename to dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
index 845bfc568cc..aa4fbdf97a3 100644
--- a/dev-php/swoole-async/swoole-async-4.4.12.ebuild
+++ b/dev-php/swoole-async/swoole-async-4.4.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -26,7 +26,8 @@ SLOT="0"
 # Tests will require pre-configured endpoint
 RESTRICT="test"
 
-DEPEND=">=dev-php/swoole-4.3"
+# This will only compile with the same version of dev-php/swoole
+DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
 
 RDEPEND="${DEPEND}"
 

diff --git a/dev-php/swoole-async/swoole-async-4.4.16.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
similarity index 81%
rename from dev-php/swoole-async/swoole-async-4.4.16.ebuild
rename to dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
index 09b9d48a22e..aa4fbdf97a3 100644
--- a/dev-php/swoole-async/swoole-async-4.4.16.ebuild
+++ b/dev-php/swoole-async/swoole-async-4.4.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -26,7 +26,8 @@ SLOT="0"
 # Tests will require pre-configured endpoint
 RESTRICT="test"
 
-DEPEND=">=dev-php/swoole-4.3"
+# This will only compile with the same version of dev-php/swoole
+DEPEND="~dev-php/swoole-${PV}[php_targets_php7-1(-)?,php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]"
 
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2021-05-17 Thread Brian Evans
commit: e4ad5d41ab71361b85ed4b6f2fce82bdda1c8645
Author: Brian Evans  gentoo  org>
AuthorDate: Mon May 17 14:49:12 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon May 17 14:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4ad5d41

dev-php/swoole: Swap EROOT for ESYSROOT in src_configure

Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/swoole-4.2.13.ebuild | 4 ++--
 dev-php/swoole/swoole-4.4.12.ebuild | 4 ++--
 dev-php/swoole/swoole-4.4.14.ebuild | 4 ++--
 dev-php/swoole/swoole-4.4.15.ebuild | 4 ++--
 dev-php/swoole/swoole-4.4.16.ebuild | 4 ++--
 dev-php/swoole/swoole-4.4.19.ebuild | 4 ++--
 dev-php/swoole/swoole-4.5.9.ebuild  | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
index facb4470ae8..5f7e9c4b7df 100644
--- a/dev-php/swoole/swoole-4.2.13.ebuild
+++ b/dev-php/swoole/swoole-4.2.13.ebuild
@@ -44,7 +44,7 @@ IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
# PostgreSQL disabled due to Gentoo's slot system
-   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/usr/includes/jemalloc subdirectory
local PHP_EXT_ECONF_ARGS=(
--enable-swoole
--disable-coroutine-postgresql
@@ -52,7 +52,7 @@ src_configure() {
$(use_enable http2)
$(use_enable mysql mysqlnd)
$(use_enable ssl openssl)
-   $(use_with ssl openssl-dir "${EROOT}/usr")
+   $(use_with ssl openssl-dir "${ESYSROOT}/usr")
$(use_enable sockets)
)
 

diff --git a/dev-php/swoole/swoole-4.4.12.ebuild 
b/dev-php/swoole/swoole-4.4.12.ebuild
index dd302030870..4d978ebbd61 100644
--- a/dev-php/swoole/swoole-4.4.12.ebuild
+++ b/dev-php/swoole/swoole-4.4.12.ebuild
@@ -49,14 +49,14 @@ RDEPEND="${DEPEND}"
 IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
-   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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_with ssl openssl-dir "${ESYSROOT}/usr")
$(use_enable sockets)
)
 

diff --git a/dev-php/swoole/swoole-4.4.14.ebuild 
b/dev-php/swoole/swoole-4.4.14.ebuild
index dd302030870..4d978ebbd61 100644
--- a/dev-php/swoole/swoole-4.4.14.ebuild
+++ b/dev-php/swoole/swoole-4.4.14.ebuild
@@ -49,14 +49,14 @@ RDEPEND="${DEPEND}"
 IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
-   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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_with ssl openssl-dir "${ESYSROOT}/usr")
$(use_enable sockets)
)
 

diff --git a/dev-php/swoole/swoole-4.4.15.ebuild 
b/dev-php/swoole/swoole-4.4.15.ebuild
index dd302030870..4d978ebbd61 100644
--- a/dev-php/swoole/swoole-4.4.15.ebuild
+++ b/dev-php/swoole/swoole-4.4.15.ebuild
@@ -49,14 +49,14 @@ RDEPEND="${DEPEND}"
 IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
-   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/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_with ssl openssl-dir "${ESYSROOT}/usr")
$(use_enable sockets)
)
 

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.ebuild
index dd302030870..4d978ebbd61 100644
--- a/dev-php/swoole/swoole-4.4.16.ebuild
+++ b/dev-php/swoole/swoole-4.4.16.ebuild
@@ -49,14 +49,14 @@ RDEPEND="${DEPEND}"
 IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
-   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${ESYSROOT}/usr/includes/jemalloc subdirec

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2021-05-03 Thread Mikle Kolyada
commit: c47ac53e6c4efbe05baf75ff7a3ad68485aed535
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon May  3 09:44:02 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon May  3 09:44:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47ac53e

dev-php/swoole: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-php/swoole/swoole-4.2.13.ebuild | 6 +++---
 dev-php/swoole/swoole-4.4.12.ebuild | 7 +++
 dev-php/swoole/swoole-4.4.14.ebuild | 7 +++
 dev-php/swoole/swoole-4.4.15.ebuild | 7 +++
 dev-php/swoole/swoole-4.4.16.ebuild | 7 +++
 dev-php/swoole/swoole-4.4.19.ebuild | 7 +++
 dev-php/swoole/swoole-4.5.9.ebuild  | 7 +++
 7 files changed, 21 insertions(+), 27 deletions(-)

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
index 04aa2e40c37..facb4470ae8 100644
--- a/dev-php/swoole/swoole-4.2.13.ebuild
+++ b/dev-php/swoole/swoole-4.2.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -27,7 +27,7 @@ DEPEND="
dev-libs/boost:0=
dev-libs/libpcre
http2? ( net-libs/nghttp2:0= )
-   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   ssl? ( dev-libs/openssl:0= )
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
@@ -40,7 +40,7 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-IUSE="debug http2 libressl mysql sockets ssl"
+IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
# PostgreSQL disabled due to Gentoo's slot system

diff --git a/dev-php/swoole/swoole-4.4.12.ebuild 
b/dev-php/swoole/swoole-4.4.12.ebuild
index 7df45e4948c..dd302030870 100644
--- a/dev-php/swoole/swoole-4.4.12.ebuild
+++ b/dev-php/swoole/swoole-4.4.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -30,8 +30,7 @@ DEPEND="
sys-libs/zlib:0=
http2? ( net-libs/nghttp2:0= )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
@@ -47,7 +46,7 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-IUSE="debug http2 libressl mysql sockets ssl"
+IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
# JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory

diff --git a/dev-php/swoole/swoole-4.4.14.ebuild 
b/dev-php/swoole/swoole-4.4.14.ebuild
index 146edf124e9..dd302030870 100644
--- a/dev-php/swoole/swoole-4.4.14.ebuild
+++ b/dev-php/swoole/swoole-4.4.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -30,8 +30,7 @@ DEPEND="
sys-libs/zlib:0=
http2? ( net-libs/nghttp2:0= )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
@@ -47,7 +46,7 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-IUSE="debug http2 libressl mysql sockets ssl"
+IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
# JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory

diff --git a/dev-php/swoole/swoole-4.4.15.ebuild 
b/dev-php/swoole/swoole-4.4.15.ebuild
index 146edf124e9..dd302030870 100644
--- a/dev-php/swoole/swoole-4.4.15.ebuild
+++ b/dev-php/swoole/swoole-4.4.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -30,8 +30,7 @@ DEPEND="
sys-libs/zlib:0=
http2? ( net-libs/nghttp2:0= )
ssl? (
-   !libressl? ( dev-libs/openssl:0= )
-   libressl? ( dev-libs/libressl:0= )
+   dev-libs/openssl:0=
)
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
@@ -47,7 +46,7 @@ DEPEND="
 
 RDEPEND="${DEPEND}"
 
-IUSE="debug http2 libressl mysql sockets ssl"
+IUSE="debug http2 mysql sockets ssl"
 
 src_configure() {
# JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.eb

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2020-12-10 Thread Brian Evans
commit: 8c5ab3902ce8bff74a99d5197286596adf44f60d
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Dec 10 18:13:01 2020 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Dec 10 18:13:01 2020 +
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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2020-06-14 Thread Thomas Deutschmann
commit: d7a83505a0cde262d7c35ad0b14dc1c1f53b9303
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jun 14 23:20:37 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jun 14 23:30:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a83505

dev-php/swoole: bump to v4.4.19

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.4.19.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 48df9f82e5e..d7f433f861c 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -3,3 +3,4 @@ DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941
 DIST swoole-4.4.14.tgz 1440095 BLAKE2B 
8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0
 SHA512 
73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6
 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

diff --git a/dev-php/swoole/swoole-4.4.19.ebuild 
b/dev-php/swoole/swoole-4.4.19.ebuild
new file mode 100644
index 000..146edf124e9
--- /dev/null
+++ b/dev-php/swoole/swoole-4.4.19.ebuild
@@ -0,0 +1,74 @@
+# 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+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/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   http2? ( net-libs/nghttp2:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   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(+)] )
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/

2020-03-09 Thread Thomas Deutschmann
commit: 43335c0d07e0574a9910501fe31d3c0b70cc0b87
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Mar  9 15:10:38 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar  9 15:10:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43335c0d

dev-php/swoole-async: bump to v4.4.16

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole-async/Manifest   |  1 +
 dev-php/swoole-async/swoole-async-4.4.16.ebuild | 51 +
 2 files changed, 52 insertions(+)

diff --git a/dev-php/swoole-async/Manifest b/dev-php/swoole-async/Manifest
index 9ef8b7fab79..4735139323d 100644
--- a/dev-php/swoole-async/Manifest
+++ b/dev-php/swoole-async/Manifest
@@ -1 +1,2 @@
 DIST swoole-async-4.4.12.tar.gz 417674 BLAKE2B 
77a96f53b1b159b558eb4759fe172e4a3b8f2648cd9f49252d89508eb56b4d342b178fa3c84d6a425c300a286063b4d32a05d09a3da4f3769be4c25a9800783c
 SHA512 
adfb761803e5ec93c30aa2a4bbc312a2f43287a54cd237c0a87237dfcbfe1e6daa3d57ec2cdf15720202aa9a7830ed67ab2efdf2f7dd81989c3693e91bc22143
+DIST swoole-async-4.4.16.tar.gz 419094 BLAKE2B 
7b93a0d2eb8a9597a68871783c60746c832b2eb1dce89a0f82ca6df2ee20151f910ad4f8ebb6a453bea3b7c2cc274266614f147b34c21a089ff9cc4ca0f73d1c
 SHA512 
cf4bfc3c86740e343774b2cddc0ef2386f522e7929c160bc10d47ebe0b8f8d63dbcc82e70b7f3f30e7f7c102ebd42b02cddf4c3e1a0289f0e45147ddbd9aa546

diff --git a/dev-php/swoole-async/swoole-async-4.4.16.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.16.ebuild
new file mode 100644
index 000..09b9d48a22e
--- /dev/null
+++ b/dev-php/swoole-async/swoole-async-4.4.16.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="swoole_async"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/ext-async-${PV}"
+PHP_EXT_S="${S}"
+
+HOMEPAGE="https://www.swoole.co.uk";
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="An extension of Swoole, including the async callback style API"
+LICENSE="Apache-2.0"
+SLOT="0"
+# Tests will require pre-configured endpoint
+RESTRICT="test"
+
+DEPEND=">=dev-php/swoole-4.3"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug"
+
+src_configure() {
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-swoole_async
+   $(use_enable debug)
+   )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2020-03-09 Thread Thomas Deutschmann
commit: e2093ec2622b62746302c1cc448d05e1550d16bf
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon Mar  9 15:05:04 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon Mar  9 15:05:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2093ec2

dev-php/swoole: bump to v4.4.16

Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.4.16.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index b73f5330507..48df9f82e5e 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -2,3 +2,4 @@ DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c
 DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
 DIST swoole-4.4.14.tgz 1440095 BLAKE2B 
8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0
 SHA512 
73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6
 DIST swoole-4.4.15.tgz 1454897 BLAKE2B 
38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a361487d7dad41bdc2ee3f2489d41824f60a841de1e3dea0cbf105d11dc1b5c2225ae49a02155604bc09c990ed61
 SHA512 
5ad797b38a20cfa17b0aa1fc5ab4f6446b84debb38babc05630e07833895401c778f1c6cf9eb32d7204b02c0e170ba6e613f356a054baa29ac511c19ce59620f
+DIST swoole-4.4.16.tgz 1457270 BLAKE2B 
4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7
 SHA512 
7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7

diff --git a/dev-php/swoole/swoole-4.4.16.ebuild 
b/dev-php/swoole/swoole-4.4.16.ebuild
new file mode 100644
index 000..146edf124e9
--- /dev/null
+++ b/dev-php/swoole/swoole-4.4.16.ebuild
@@ -0,0 +1,74 @@
+# 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+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/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   http2? ( net-libs/nghttp2:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   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(+)] )
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2020-01-22 Thread Thomas Deutschmann
commit: b9a3b084a69c8accb4659d04751635211be95cb7
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jan 23 01:12:28 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jan 23 01:12:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a3b084

dev-php/swoole: bump to v4.4.15

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.4.15.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index c0a2822b699..b73f5330507 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,3 +1,4 @@
 DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
 DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
 DIST swoole-4.4.14.tgz 1440095 BLAKE2B 
8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0
 SHA512 
73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6
+DIST swoole-4.4.15.tgz 1454897 BLAKE2B 
38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a361487d7dad41bdc2ee3f2489d41824f60a841de1e3dea0cbf105d11dc1b5c2225ae49a02155604bc09c990ed61
 SHA512 
5ad797b38a20cfa17b0aa1fc5ab4f6446b84debb38babc05630e07833895401c778f1c6cf9eb32d7204b02c0e170ba6e613f356a054baa29ac511c19ce59620f

diff --git a/dev-php/swoole/swoole-4.4.15.ebuild 
b/dev-php/swoole/swoole-4.4.15.ebuild
new file mode 100644
index 000..146edf124e9
--- /dev/null
+++ b/dev-php/swoole/swoole-4.4.15.ebuild
@@ -0,0 +1,74 @@
+# 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+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/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   http2? ( net-libs/nghttp2:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   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(+)] )
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2020-01-05 Thread Thomas Deutschmann
commit: ed746f7ed53eba312fa893ed20be156eefb231f1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Jan  5 23:16:34 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Jan  5 23:20:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed746f7e

dev-php/swoole: bump to v4.4.14

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.4.14.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 2262d4f174e..c0a2822b699 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,2 +1,3 @@
 DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
 DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9
+DIST swoole-4.4.14.tgz 1440095 BLAKE2B 
8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0
 SHA512 
73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6

diff --git a/dev-php/swoole/swoole-4.4.14.ebuild 
b/dev-php/swoole/swoole-4.4.14.ebuild
new file mode 100644
index 000..146edf124e9
--- /dev/null
+++ b/dev-php/swoole/swoole-4.4.14.ebuild
@@ -0,0 +1,74 @@
+# 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+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/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   http2? ( net-libs/nghttp2:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   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(+)] )
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2019-12-06 Thread Brian Evans
commit: d4d2195268155a4cf6f0a15aafaa203a9ea4a26a
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Dec  6 18:05:22 2019 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Dec  6 18:05:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d21952

dev-php/swoole: Drop old

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/Manifest|  5 ---
 dev-php/swoole/metadata.xml|  1 -
 dev-php/swoole/swoole-4.0.1.ebuild | 68 ---
 dev-php/swoole/swoole-4.0.4.ebuild | 70 
 dev-php/swoole/swoole-4.1.1.ebuild | 73 -
 dev-php/swoole/swoole-4.2.3.ebuild | 74 --
 dev-php/swoole/swoole-4.2.9.ebuild | 71 
 7 files changed, 362 deletions(-)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 7431340b950..2262d4f174e 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,7 +1,2 @@
-DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
-DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
-DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1
 SHA512 
4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f
 DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
-DIST swoole-4.2.3.tgz 1127669 BLAKE2B 
c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674
 SHA512 
37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1
-DIST swoole-4.2.9.tgz 1220045 BLAKE2B 
752d00ae6a61c0592f308fceff205be68f55eb9918288fcfa3f2ed29edaf8e3e8682a28e2c783f1eb6df097e5567690cfa88a056b1078ecbbb809e4bd81c5bb6
 SHA512 
5fbc7c2d5a797074ceaef89d4b5f81440bc7c911e2feda9ded4183069cc9e98bac1ab2acdc6e7788a8c7e379dc0d7b07aaa3c5374c8b20b1ea7c327bc13c87d9
 DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9

diff --git a/dev-php/swoole/metadata.xml b/dev-php/swoole/metadata.xml
index 067ddccde37..6384a235e85 100644
--- a/dev-php/swoole/metadata.xml
+++ b/dev-php/swoole/metadata.xml
@@ -7,6 +7,5 @@
 
 
 Add support for HTTP/2 protocol via 
net-libs/nghttp2
-Add support for redis via dev-libs/hiredis
 
 

diff --git a/dev-php/swoole/swoole-4.0.1.ebuild 
b/dev-php/swoole/swoole-4.0.1.ebuild
deleted file mode 100644
index 8a332f5938d..000
--- a/dev-php/swoole/swoole-4.0.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PHP_EXT_NAME="swoole"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_EXT_SAPIS="cli"
-DOCS=( README.md )
-
-USE_PHP="php7-0 php7-1 php7-2"
-
-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"
-
-DEPEND="
-   dev-libs/libaio
-   dev-libs/boost:0=
-   dev-libs/libpcre
-   http2? ( net-libs/nghttp2:0= )
-   redis? ( dev-libs/hiredis:0= )
-   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
-   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
-   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
-   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
-   mysql? (
-   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
-   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
-   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
-   )
-"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug http2 libressl mysql redis socket

[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole-async/

2019-11-29 Thread Thomas Deutschmann
commit: 9ab0a699c1f15f81e7dfd9270031fb39c6126916
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 29 19:30:21 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 29 19:31:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab0a699

dev-php/swoole-async: initial import of v4.4.12

Bug: https://bugs.gentoo.org/697690
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole-async/Manifest   |  1 +
 dev-php/swoole-async/metadata.xml   |  8 
 dev-php/swoole-async/swoole-async-4.4.12.ebuild | 51 +
 3 files changed, 60 insertions(+)

diff --git a/dev-php/swoole-async/Manifest b/dev-php/swoole-async/Manifest
new file mode 100644
index 000..9ef8b7fab79
--- /dev/null
+++ b/dev-php/swoole-async/Manifest
@@ -0,0 +1 @@
+DIST swoole-async-4.4.12.tar.gz 417674 BLAKE2B 
77a96f53b1b159b558eb4759fe172e4a3b8f2648cd9f49252d89508eb56b4d342b178fa3c84d6a425c300a286063b4d32a05d09a3da4f3769be4c25a9800783c
 SHA512 
adfb761803e5ec93c30aa2a4bbc312a2f43287a54cd237c0a87237dfcbfe1e6daa3d57ec2cdf15720202aa9a7830ed67ab2efdf2f7dd81989c3693e91bc22143

diff --git a/dev-php/swoole-async/metadata.xml 
b/dev-php/swoole-async/metadata.xml
new file mode 100644
index 000..d355171f926
--- /dev/null
+++ b/dev-php/swoole-async/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   php-b...@gentoo.org
+   PHP Project
+   
+

diff --git a/dev-php/swoole-async/swoole-async-4.4.12.ebuild 
b/dev-php/swoole-async/swoole-async-4.4.12.ebuild
new file mode 100644
index 000..845bfc568cc
--- /dev/null
+++ b/dev-php/swoole-async/swoole-async-4.4.12.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PHP_EXT_NAME="swoole_async"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/ext-async-${PV}"
+PHP_EXT_S="${S}"
+
+HOMEPAGE="https://www.swoole.co.uk";
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="An extension of Swoole, including the async callback style API"
+LICENSE="Apache-2.0"
+SLOT="0"
+# Tests will require pre-configured endpoint
+RESTRICT="test"
+
+DEPEND=">=dev-php/swoole-4.3"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug"
+
+src_configure() {
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-swoole_async
+   $(use_enable debug)
+   )
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2019-11-29 Thread Thomas Deutschmann
commit: 5ba9e622f61e9db7f3398d091ee343d04d1b0fe4
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Nov 29 19:11:03 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Nov 29 19:31:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba9e622

dev-php/swoole: bump to v4.4.12

Closes: https://bugs.gentoo.org/697690
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.4.12.ebuild | 74 +
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index cd47e4b795f..7431340b950 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -4,3 +4,4 @@ DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e
 DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
 DIST swoole-4.2.3.tgz 1127669 BLAKE2B 
c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674
 SHA512 
37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1
 DIST swoole-4.2.9.tgz 1220045 BLAKE2B 
752d00ae6a61c0592f308fceff205be68f55eb9918288fcfa3f2ed29edaf8e3e8682a28e2c783f1eb6df097e5567690cfa88a056b1078ecbbb809e4bd81c5bb6
 SHA512 
5fbc7c2d5a797074ceaef89d4b5f81440bc7c911e2feda9ded4183069cc9e98bac1ab2acdc6e7788a8c7e379dc0d7b07aaa3c5374c8b20b1ea7c327bc13c87d9
+DIST swoole-4.4.12.tgz 1436554 BLAKE2B 
cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85
 SHA512 
8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9

diff --git a/dev-php/swoole/swoole-4.4.12.ebuild 
b/dev-php/swoole/swoole-4.4.12.ebuild
new file mode 100644
index 000..7df45e4948c
--- /dev/null
+++ b/dev-php/swoole/swoole-4.4.12.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3 php7-4"
+
+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/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   sys-libs/zlib:0=
+   http2? ( net-libs/nghttp2:0= )
+   ssl? (
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )
+   )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   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(+)] )
+   )
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2019-08-11 Thread David Seifert
commit: 96850fe35653b5015108cbc0cd1981473d849df2
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 11 11:19:33 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 11 11:19:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96850fe3

dev-php/swoole: [QA] Fix missing trailing slash

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-php/swoole/swoole-4.2.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
index 3d197c66427..04aa2e40c37 100644
--- a/dev-php/swoole/swoole-4.2.13.ebuild
+++ b/dev-php/swoole/swoole-4.2.13.ebuild
@@ -44,7 +44,7 @@ IUSE="debug http2 libressl mysql sockets ssl"
 
 src_configure() {
# PostgreSQL disabled due to Gentoo's slot system
-   # JEMalloc not included as it refuses to find a 
${EROOT}usr/includes/jemalloc subdirectory
+   # JEMalloc not included as it refuses to find a 
${EROOT}/usr/includes/jemalloc subdirectory
local PHP_EXT_ECONF_ARGS=(
--enable-swoole
--disable-coroutine-postgresql
@@ -52,7 +52,7 @@ src_configure() {
$(use_enable http2)
$(use_enable mysql mysqlnd)
$(use_enable ssl openssl)
-   $(use_with ssl openssl-dir "${EROOT%/}/usr")
+   $(use_with ssl openssl-dir "${EROOT}/usr")
$(use_enable sockets)
)
 



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2019-04-14 Thread Agostino Sarubbo
commit: bba5bd2cee1e7d46ad3987ff59f25a8c203031c6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr 14 11:12:35 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr 14 11:12:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba5bd2c

dev-php/swoole: amd64 stable wrt bug #669308

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-php/swoole/swoole-4.2.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
index aaeac50dd89..3d197c66427 100644
--- a/dev-php/swoole/swoole-4.2.13.ebuild
+++ b/dev-php/swoole/swoole-4.2.13.ebuild
@@ -14,7 +14,7 @@ USE_PHP="php7-1 php7-2 php7-3"
 inherit php-ext-pecl-r3
 
 HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking 
engine"
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2019-02-22 Thread Thomas Deutschmann
commit: 89dfe773f09cd7a5ec7f23cee0eb643f03cfe749
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Feb 22 14:53:11 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Feb 22 14:53:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89dfe773

dev-php/swoole: bump to v4.2.13

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-php/swoole/Manifest |  1 +
 dev-php/swoole/swoole-4.2.13.ebuild | 69 +
 2 files changed, 70 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 2c1abcd573e..cd47e4b795f 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,5 +1,6 @@
 DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
 DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
 DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1
 SHA512 
4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f
+DIST swoole-4.2.13.tgz 1305634 BLAKE2B 
bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b
 SHA512 
f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d
 DIST swoole-4.2.3.tgz 1127669 BLAKE2B 
c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674
 SHA512 
37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1
 DIST swoole-4.2.9.tgz 1220045 BLAKE2B 
752d00ae6a61c0592f308fceff205be68f55eb9918288fcfa3f2ed29edaf8e3e8682a28e2c783f1eb6df097e5567690cfa88a056b1078ecbbb809e4bd81c5bb6
 SHA512 
5fbc7c2d5a797074ceaef89d4b5f81440bc7c911e2feda9ded4183069cc9e98bac1ab2acdc6e7788a8c7e379dc0d7b07aaa3c5374c8b20b1ea7c327bc13c87d9

diff --git a/dev-php/swoole/swoole-4.2.13.ebuild 
b/dev-php/swoole/swoole-4.2.13.ebuild
new file mode 100644
index 000..aaeac50dd89
--- /dev/null
+++ b/dev-php/swoole/swoole-4.2.13.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 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"
+DOCS=( README.md )
+
+USE_PHP="php7-1 php7-2 php7-3"
+
+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="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   mysql? (
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql sockets ssl"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   # JEMalloc not included as it refuses to find a 
${EROOT}usr/includes/jemalloc subdirectory
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-swoole
+   --disable-coroutine-postgresql
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2018-12-18 Thread Brian Evans
commit: 26a906afc3538fc96ca2b4145c2535d7b7e78cdf
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Dec 18 15:32:18 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Dec 18 15:34:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a906af

dev-php/swoole: Version bump for 4.2.9

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Brian Evans  gentoo.org>

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/swoole-4.2.9.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index 409c1c311b6..2c1abcd573e 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -2,3 +2,4 @@ DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781f
 DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
 DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1
 SHA512 
4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f
 DIST swoole-4.2.3.tgz 1127669 BLAKE2B 
c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674
 SHA512 
37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1
+DIST swoole-4.2.9.tgz 1220045 BLAKE2B 
752d00ae6a61c0592f308fceff205be68f55eb9918288fcfa3f2ed29edaf8e3e8682a28e2c783f1eb6df097e5567690cfa88a056b1078ecbbb809e4bd81c5bb6
 SHA512 
5fbc7c2d5a797074ceaef89d4b5f81440bc7c911e2feda9ded4183069cc9e98bac1ab2acdc6e7788a8c7e379dc0d7b07aaa3c5374c8b20b1ea7c327bc13c87d9

diff --git a/dev-php/swoole/swoole-4.2.9.ebuild 
b/dev-php/swoole/swoole-4.2.9.ebuild
new file mode 100644
index 000..253ee697388
--- /dev/null
+++ b/dev-php/swoole/swoole-4.2.9.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="swoole"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+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="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   mysql? (
+   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql sockets ssl"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   # JEMalloc not included as it refuses to find a 
${EROOT}usr/includes/jemalloc subdirectory
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-swoole
+   --disable-coroutine-postgresql
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2018-10-22 Thread Brian Evans
commit: 3ca68c0ea5e6e4574338d840deb56651511e5c9e
Author: Brian Evans  gentoo  org>
AuthorDate: Mon Oct 22 18:57:38 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Mon Oct 22 18:57:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca68c0e

dev-php/swoole: Version bump for 4.2.3

Also update configure options to avoid QA notice

Closes: https://bugs.gentoo.org/669310
Signed-off-by: Brian Evans  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/swoole-4.2.3.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index b156bf06b08..409c1c311b6 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,3 +1,4 @@
 DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
 DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
 DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1
 SHA512 
4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f
+DIST swoole-4.2.3.tgz 1127669 BLAKE2B 
c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674
 SHA512 
37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1

diff --git a/dev-php/swoole/swoole-4.2.3.ebuild 
b/dev-php/swoole/swoole-4.2.3.ebuild
new file mode 100644
index 000..a5b3c7d3cfb
--- /dev/null
+++ b/dev-php/swoole/swoole-4.2.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="swoole"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+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="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   redis? ( dev-libs/hiredis:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   mysql? (
+   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql redis sockets ssl threads"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   # JEMalloc not included as it refuses to find a 
${EROOT}usr/includes/jemalloc subdirectory
+   local PHP_EXT_ECONF_ARGS=(
+   --enable-swoole
+   --disable-coroutine-postgresql
+   $(use_enable debug)
+   $(use_enable http2)
+   $(use_enable mysql mysqlnd)
+   $(use_enable redis async_redis)
+   $(use_enable ssl openssl)
+   $(use_with ssl openssl-dir "${EROOT%/}/usr")
+   $(use_enable threads thread)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2018-09-06 Thread Brian Evans
commit: f4e18c9fb2cff9e731bc96fd6886d91cf9720818
Author: Brian Evans  gentoo  org>
AuthorDate: Thu Sep  6 20:47:57 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Thu Sep  6 20:48:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e18c9f

dev-php/swoole: Version bump for 4.1.1

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/swoole-4.1.1.ebuild | 73 ++
 2 files changed, 74 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index ade44162de4..b156bf06b08 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1,2 +1,3 @@
 DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
 DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
+DIST swoole-4.1.1.tgz 930623 BLAKE2B 
fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1
 SHA512 
4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f

diff --git a/dev-php/swoole/swoole-4.1.1.ebuild 
b/dev-php/swoole/swoole-4.1.1.ebuild
new file mode 100644
index 000..8dfde46c340
--- /dev/null
+++ b/dev-php/swoole/swoole-4.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="swoole"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+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="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   redis? ( dev-libs/hiredis:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   mysql? (
+   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql redis sockets ssl threads"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   local PHP_EXT_ECONF_ARGS=(
+   --with-swoole
+   --disable-coroutine-postgresql
+   $(use_enable debug swoole-debug)
+   $(use_enable http2)
+   $(use_enable mysql mysqlnd)
+   $(use_enable redis async_redis)
+   $(use_enable ssl openssl)
+   $(use_with ssl openssl-dir "${EROOT%/}/usr")
+   $(use_enable threads thread)
+   $(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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2018-08-10 Thread Brian Evans
commit: d14e1a7b9d38e097fde445630edcac93813611c3
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Aug 10 18:57:09 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Aug 10 19:16:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d14e1a7b

dev-php/swoole: Version bump for 4.0.4

Package-Manager: Portage-2.3.45, Repoman-2.3.10

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/swoole-4.0.4.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
index a256dda4dea..ade44162de4 100644
--- a/dev-php/swoole/Manifest
+++ b/dev-php/swoole/Manifest
@@ -1 +1,2 @@
 DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
+DIST swoole-4.0.4.tgz 907216 BLAKE2B 
f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5
 SHA512 
b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f

diff --git a/dev-php/swoole/swoole-4.0.4.ebuild 
b/dev-php/swoole/swoole-4.0.4.ebuild
new file mode 100644
index 000..5a00e34be3f
--- /dev/null
+++ b/dev-php/swoole/swoole-4.0.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="swoole"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+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"
+
+DEPEND="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   redis? ( dev-libs/hiredis:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
+   mysql? (
+   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql redis sockets ssl threads"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   local PHP_EXT_ECONF_ARGS=(
+   --with-swoole
+   --disable-coroutine-postgresql
+   $(use_enable debug swoole-debug)
+   $(use_enable http2)
+   $(use_enable mysql mysqlnd)
+   $(use_enable redis async_redis)
+   $(use_enable ssl openssl)
+   $(use_with ssl openssl-dir "${EROOT%/}/usr")
+   $(use_enable threads thread)
+   $(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}"
+   SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/

2018-06-24 Thread Brian Evans
commit: d0dcab484fbb7ebc073c95c91e1210683be6bef5
Author: Brian Evans  gentoo  org>
AuthorDate: Sun Jun 24 23:56:38 2018 +
Commit: Brian Evans  gentoo  org>
CommitDate: Sun Jun 24 23:56:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0dcab48

dev-php/swoole: New Package

Swoole is an high-performance network framework using an event-driven,
asynchronous, non-blocking I/O model which makes it scalable and efficient.
It is written in C language without 3rd party libraries as PHP extension

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-php/swoole/Manifest|  1 +
 dev-php/swoole/metadata.xml| 12 +++
 dev-php/swoole/swoole-4.0.1.ebuild | 68 ++
 3 files changed, 81 insertions(+)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
new file mode 100644
index 000..a256dda4dea
--- /dev/null
+++ b/dev-php/swoole/Manifest
@@ -0,0 +1 @@
+DIST swoole-4.0.1.tgz 899395 BLAKE2B 
7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc
 SHA512 
0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8

diff --git a/dev-php/swoole/metadata.xml b/dev-php/swoole/metadata.xml
new file mode 100644
index 000..067ddccde37
--- /dev/null
+++ b/dev-php/swoole/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+php-b...@gentoo.org
+PHP Project
+
+
+Add support for HTTP/2 protocol via 
net-libs/nghttp2
+Add support for redis via dev-libs/hiredis
+
+

diff --git a/dev-php/swoole/swoole-4.0.1.ebuild 
b/dev-php/swoole/swoole-4.0.1.ebuild
new file mode 100644
index 000..8a332f5938d
--- /dev/null
+++ b/dev-php/swoole/swoole-4.0.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PHP_EXT_NAME="swoole"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_SAPIS="cli"
+DOCS=( README.md )
+
+USE_PHP="php7-0 php7-1 php7-2"
+
+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"
+
+DEPEND="
+   dev-libs/libaio
+   dev-libs/boost:0=
+   dev-libs/libpcre
+   http2? ( net-libs/nghttp2:0= )
+   redis? ( dev-libs/hiredis:0= )
+   ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( 
dev-libs/libressl:0= ) )
+   php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
+   php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
+   php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
+   mysql? (
+   php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
+   php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
+   php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
+   )
+"
+
+RDEPEND="${DEPEND}"
+
+IUSE="debug http2 libressl mysql redis sockets ssl threads"
+
+src_configure() {
+   # PostgreSQL disabled due to Gentoo's slot system
+   local PHP_EXT_ECONF_ARGS=(
+   --with-swoole
+   --disable-coroutine-postgresql
+   $(use_enable debug swoole-debug)
+   $(use_enable http2)
+   $(use_enable mysql mysqlnd)
+   $(use_enable redis async_redis)
+   $(use_enable ssl openssl)
+   $(use_with ssl openssl-dir "${EROOT%/}/usr")
+   $(use_enable threads thread)
+   $(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}"
+   SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
+   done
+}