diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
commit | d42200bec37eef2a7478d88988ff00addd0a9202 (patch) | |
tree | 10394660b3cbe4b50173c06950b31302cd25d0d1 /dev-php/swoole | |
parent | 580f05ea8f512d11e23e8da80177d27835cbdbbc (diff) |
gentoo resync : 25.01.2020
Diffstat (limited to 'dev-php/swoole')
-rw-r--r-- | dev-php/swoole/Manifest | 2 | ||||
-rw-r--r-- | dev-php/swoole/swoole-4.4.15.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest index 3e7331646c2b..fa6c69a50715 100644 --- a/dev-php/swoole/Manifest +++ b/dev-php/swoole/Manifest @@ -1,7 +1,9 @@ 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 EBUILD swoole-4.2.13.ebuild 1789 BLAKE2B 043b1bf3d91ef7f60c7a659c7c9ba0795bd3d8cbfdb8abab88e5ea78234368ce2c793684f18b537831c34ca02148c58e27b253794398470bb9ba8de4a8a4889c SHA512 ccba3090b0f05821e5c8784672c787545774e138b5ad94098be81d535158f551648c81dc790846106caa690417a3d7480c2f709e740dd3e5c8b2760f235e822a EBUILD swoole-4.4.12.ebuild 1872 BLAKE2B fd616184c677b17df98f51216296eb7d0bf3e1262ead010c18da737638a8bc5a4709117770148a5fb361cff41e26df075ca1573d92e3d58f4c2dce37a3c50471 SHA512 35c05d7c7719498e1056af08ab9ab0d76ebdb38632836447294709feb0201a3c4adac45f7b4ce94e653afaa90afa1f9df9c56a1c0dcac1e85d16348a0dbce54e EBUILD swoole-4.4.14.ebuild 1872 BLAKE2B 35afca5e687dcf37f1fb24d478d174d6c77d440ec0afdcbb02cd49bedf377378544fe6cc0db714dc217339a21514c51e5ff49ef95e338fd42c0a7e75aeb17e3a SHA512 7bfd6458d0ac351eb266004c754d6219c796d906fa25c430bcc565b4e0da799f86380440929804c93c5149308afb92e32cd9e1dcae482d7cf0352f096cf586df +EBUILD swoole-4.4.15.ebuild 1872 BLAKE2B 35afca5e687dcf37f1fb24d478d174d6c77d440ec0afdcbb02cd49bedf377378544fe6cc0db714dc217339a21514c51e5ff49ef95e338fd42c0a7e75aeb17e3a SHA512 7bfd6458d0ac351eb266004c754d6219c796d906fa25c430bcc565b4e0da799f86380440929804c93c5149308afb92e32cd9e1dcae482d7cf0352f096cf586df MISC metadata.xml 344 BLAKE2B b6bba613a547a33d17c214859118a6f8c499b65763a8373dde96b955efc9609ddb2f2de6cf678a5f0f1552ac1b054661d2771b68cc007327950721b9e36417aa SHA512 8fe672a189916bf935ff0bc312b617658d3fd789bceb0305dbe9745600690cc2b9d93d2bf60b1bd517c1824c5cef2ea8ebe4eab69716ecba5763742b15cf61c0 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 000000000000..146edf124e9f --- /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 +} |