From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 36112138334 for ; Sun, 17 Nov 2019 21:01:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10F89E08A0; Sun, 17 Nov 2019 21:01:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E27EAE08A0 for ; Sun, 17 Nov 2019 21:01:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB4BC34CF27 for ; Sun, 17 Nov 2019 21:01:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C6D18BC for ; Sun, 17 Nov 2019 21:01:41 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1574024488.897128f5151a0310a5a261f4b87359f1d83f1260.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-memcached/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-memcached/Manifest dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild X-VCS-Directories: dev-php/pecl-memcached/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 897128f5151a0310a5a261f4b87359f1d83f1260 X-VCS-Branch: master Date: Sun, 17 Nov 2019 21:01:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c2f3ba40-9d70-45c8-b583-876bc7ff4170 X-Archives-Hash: 9ea2e2367208e5c36e541f4e10e1399a commit: 897128f5151a0310a5a261f4b87359f1d83f1260 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Nov 17 20:47:00 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Nov 17 21:01:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897128f5 dev-php/pecl-memcached: bump to v3.1.4 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Thomas Deutschmann gentoo.org> dev-php/pecl-memcached/Manifest | 1 + dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild | 75 ++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest index b4ba9efd79b..577e0cd3430 100644 --- a/dev-php/pecl-memcached/Manifest +++ b/dev-php/pecl-memcached/Manifest @@ -1,3 +1,4 @@ DIST memcached-2.2.0.tgz 70449 BLAKE2B dca76bfb993c647860ae2ce648580e6131c6df30d30def9a1f907fce06621f3d5a21b93605da9fc50bda542fd950317a5a398d6bf0db85f61469cfb5e9757566 SHA512 61207d3f8c11b0620dbcb20fb2ebb6d1fc10159a7e879ee91556a303c3dcdf3d2571e8dda5efcbed77ff779f5c9b226aa48800630b9e7781cd964126b848c356 DIST memcached-3.0.4.tgz 78776 BLAKE2B ce2539e2e4960217d9ee3b50ed5625214d4b22c4d7e64595fdbfa2d130bce0402a67561f76a50690991996d84f16f926f27a057722bfab66ba3c388772ed77a8 SHA512 d0a0f9e99cbcc6829528554551dfacf0d943d54d4be60c9da708de82913a2a0bed7c51d594ae3ecf0c13b56064739f074ce6ada5d7433bdc7e26e8caf9cf5ca2 DIST memcached-3.1.3.tgz 82673 BLAKE2B ccb9267cbd974337b7cd8836ab6e35c4fd9398d731dcd333bcb664b91037d1775651e6bb5d00b602767834681289064ede678ea2e6e3641631bba4990a380dee SHA512 9c09648c26011c5e749bee1a556c976e6e5e648dc65580e7caa296dab79e3764edf1408f96edcaca5efb0229320c86fcfa0422e55d486beb6466892f7e08c4a3 +DIST memcached-3.1.4.tgz 82920 BLAKE2B 67eb2a26453aa3253ab0d1327023da9318d7af6eb4d935f2c9f1d3da0b1590c58dbcbbea24c491eed6161a9e0462651c749a6e333e98a8cb26432c360ce805d0 SHA512 df1d2c2182c6d3565b929bb55e25a5285c0d5cf8b0fbb75417d756898970abc2b9c4d87e8bb8382d9d4fd62227de3838996c971525fb8a90bf503f025fc6f9f7 diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild new file mode 100644 index 00000000000..16ce44e3d85 --- /dev/null +++ b/dev-php/pecl-memcached/pecl-memcached-3.1.4.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PHP_EXT_NAME="memcached" +DOCS=( ChangeLog README.markdown ) + +USE_PHP="php5-6 php7-1 php7-2 php7-3" # Pretend to support all four targets... +inherit php-ext-pecl-r3 +USE_PHP="php7-1 php7-2 php7-3" # But only truly build for these three. + +DESCRIPTION="Interface PHP with memcached via libmemcached library" +LICENSE="PHP-3" +SLOT="7" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="examples igbinary json sasl +session test" + +COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?] + sys-libs/zlib +" + +RDEPEND=" + php_targets_php7-1? ( + ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-1(-)] ) + ) + php_targets_php7-2? ( + ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] ) + ) + php_targets_php7-3? ( + ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] ) + )" +DEPEND="${RDEPEND} test? ( net-misc/memcached )" +RDEPEND="${RDEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6(-)] )" + +src_prepare(){ + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_configure() { + local PHP_EXT_ECONF_ARGS="--enable-memcached + $(use_enable session memcached-session) + $(use_enable sasl memcached-sasl) + $(use_enable json memcached-json) + $(use_enable igbinary memcached-igbinary)" + + php-ext-source-r3_src_configure +} + +src_test() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 ) + [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage ) + memcached "${memcached_opts[@]}" || die "Can't start memcached test server" + + local exit_status + php-ext-source-r3_src_test + exit_status=$? + + kill "$(<"${T}/memcached.pid")" + return ${exit_status} + fi +} + +src_install(){ + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_install + fi +}