From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-887277-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id A32F51382B5
	for <garchives@archives.gentoo.org>; Tue, 14 Jun 2016 20:01:34 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 20125E08C8;
	Tue, 14 Jun 2016 20:01:34 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id AE570E08C8
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Jun 2016 20:01:33 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C58B133D3CD
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Jun 2016 20:01:32 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A9355209B
	for <gentoo-commits@lists.gentoo.org>; Tue, 14 Jun 2016 20:01:25 +0000 (UTC)
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" <grknight@gentoo.org>
Message-ID: <1465934424.558106c5ce80dbeac9709d0a9d56dba8b4d7120e.grknight@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-redis/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-php/pecl-redis/Manifest dev-php/pecl-redis/pecl-redis-3.0.0.ebuild
X-VCS-Directories: dev-php/pecl-redis/
X-VCS-Committer: grknight
X-VCS-Committer-Name: Brian Evans
X-VCS-Revision: 558106c5ce80dbeac9709d0a9d56dba8b4d7120e
X-VCS-Branch: master
Date: Tue, 14 Jun 2016 20:01:25 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 09c93e75-903e-4161-ac5d-77fa03864960
X-Archives-Hash: 734d4e85bb9709b6832e7855343f58dc

commit:     558106c5ce80dbeac9709d0a9d56dba8b4d7120e
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 20:00:24 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 20:00:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=558106c5

dev-php/pecl-redis: Version bump to new slot wrt bug 585912

This ebuild pulls in the old slot for targets it does not support

Package-Manager: portage-2.3.0_rc1

 dev-php/pecl-redis/Manifest                |  1 +
 dev-php/pecl-redis/pecl-redis-3.0.0.ebuild | 41 ++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest
index 58bb610..3cf3ff7 100644
--- a/dev-php/pecl-redis/Manifest
+++ b/dev-php/pecl-redis/Manifest
@@ -1 +1,2 @@
 DIST redis-2.2.7.tgz 134340 SHA256 95e5331cd7e709771eb4479c455bcf326a74b2aea3b1a5cba00b4c95e66dc902 SHA512 88be2abeda62b7c1c95b6d399bbb5f97774d956001b4d13a8e5f183e86fe6336d91f479a8125adcaeff1ad5617a920953961360fc3484ebafc3ed915bcd7f86c WHIRLPOOL e7c8ea7c0c4578933211d4571d742ad09eadb5dd93e207d4f0d5858bfacb7a78eb4bd7ed34cafbc17b465b0d423ea0ff788dee907d89c4939ee4a9acbbe8b95d
+DIST redis-3.0.0.tgz 189720 SHA256 de0e349027ea0821fbfb7f1961226223f3179bb84c6dada515f0145227993f70 SHA512 0dc4a6363e6bcefdbb50abec500558aaf709ca4e418d11dcebc15509684c81c5286781003725346d7ff748d8b4eea9735cdc82dc9c37fa54c8e7009f6e8bc494 WHIRLPOOL fa612b130ff6611425a4a7e3bb85c40148c006627fce04cd3fd1efcbdbe4780bb3cd3cdb2483d9c385eadf3ba97b82ffd43c906611dd8b5f03b4272a0e24bc4e

diff --git a/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild b/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild
new file mode 100644
index 0000000..7fe79dd
--- /dev/null
+++ b/dev-php/pecl-redis/pecl-redis-3.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PHP_EXT_NAME="redis"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+USE_PHP="php5-6 php7-0"
+
+DOCS="arrays.markdown README.markdown"
+
+inherit php-ext-pecl-r2
+
+#redefine in order to only build for 7.0
+USE_PHP="php7-0"
+
+KEYWORDS="~amd64"
+
+DESCRIPTION="PHP extension for interfacing with Redis"
+LICENSE="PHP-3.01"
+SLOT="7"
+IUSE="igbinary"
+
+DEPEND="igbinary? ( php_targets_php7-0? ( dev-php/igbinary[php_targets_php7-0] ) )"
+RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-redis:0 )"
+
+src_configure() {
+	my_conf="--enable-redis
+		$(use_enable igbinary redis-igbinary)"
+
+	php-ext-source-r2_src_configure
+}
+
+src_install() {
+	if use php_targets_php7-0 ; then
+		php-ext-pecl-r2_src_install
+	fi
+}