public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/
Date: Fri, 10 Aug 2018 19:16:35 +0000 (UTC)	[thread overview]
Message-ID: <1533928568.d14e1a7b9d38e097fde445630edcac93813611c3.grknight@gentoo> (raw)

commit:     d14e1a7b9d38e097fde445630edcac93813611c3
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 10 18:57:09 2018 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Aug 10 19:16:08 2018 +0000
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 00000000000..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
+}


             reply	other threads:[~2018-08-10 19:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-10 19:16 Brian Evans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-07-27 18:49 [gentoo-commits] repo/gentoo:master commit in: dev-php/swoole/ Michael Orlitzky
2023-07-04 13:59 Sam James
2022-09-04 12:23 David Seifert
2022-03-17 14:19 Brian Evans
2022-03-16 22:11 Brian Evans
2022-03-16 19:21 Jakov Smolić
2022-03-16 14:38 Brian Evans
2021-05-17 14:49 Brian Evans
2021-05-03  9:45 Mikle Kolyada
2020-12-10 18:13 Brian Evans
2020-06-14 23:30 Thomas Deutschmann
2020-03-09 15:27 Thomas Deutschmann
2020-01-23  1:30 Thomas Deutschmann
2020-01-05 23:20 Thomas Deutschmann
2019-12-06 18:05 Brian Evans
2019-11-29 19:35 Thomas Deutschmann
2019-08-11 11:20 David Seifert
2019-04-14 11:12 Agostino Sarubbo
2019-02-22 14:55 Thomas Deutschmann
2018-12-18 15:35 Brian Evans
2018-10-22 18:57 Brian Evans
2018-09-06 20:48 Brian Evans
2018-06-24 23:56 Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533928568.d14e1a7b9d38e097fde445630edcac93813611c3.grknight@gentoo \
    --to=grknight@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox