From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A84E41388C0 for ; Fri, 26 Feb 2016 02:15:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A22BA21C001; Fri, 26 Feb 2016 02:15:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2DE8321C001 for ; Fri, 26 Feb 2016 02:15:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BEABE3409A4 for ; Fri, 26 Feb 2016 02:15:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B78CF1AE8 for ; Fri, 26 Feb 2016 02:15:43 +0000 (UTC) From: "Brian Evans" 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" Message-ID: <1456452825.96ff96285638ea50d652a11bf7a2d289c4cf808d.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-apcu_bc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/pecl-apcu_bc/Manifest dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.3.ebuild X-VCS-Directories: dev-php/pecl-apcu_bc/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 96ff96285638ea50d652a11bf7a2d289c4cf808d X-VCS-Branch: master Date: Fri, 26 Feb 2016 02:15:43 +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-Archives-Salt: d2f891ae-b663-4a00-80fb-d94566c870ec X-Archives-Hash: d104d86931f885bf9cc397f952023b07 commit: 96ff96285638ea50d652a11bf7a2d289c4cf808d Author: Brian Evans gentoo org> AuthorDate: Fri Feb 26 02:13:45 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Fri Feb 26 02:13:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ff9628 dev-php/pecl-apcu_bc: Version bump; rename extension file In order to consistently load apc_bc, install it as bc_apc.so This only requires a simple rename instead of hacking the eclass to provide a different ini file name which does not always work. Package-Manager: portage-2.2.27 dev-php/pecl-apcu_bc/Manifest | 1 + dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.3.ebuild | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-php/pecl-apcu_bc/Manifest b/dev-php/pecl-apcu_bc/Manifest index 39589b0..e971de8 100644 --- a/dev-php/pecl-apcu_bc/Manifest +++ b/dev-php/pecl-apcu_bc/Manifest @@ -1,2 +1,3 @@ DIST apcu_bc-1.0.0.tgz 5893 SHA256 3e683aa5c284075e16bc2603849c11e8ed51d2c1da213b877f429b44af91500c SHA512 eb7946692a1f3aa11a23031226e0d99bc68eee92972a359ce27714ea35fcb2a225c8da09b860b891b7c291d57cbf1b858a05adfdb99731307b484b0096014e5c WHIRLPOOL 3cf77319f3086892836592d9c2e1fe5ae5dca7b95462ef2d60e4cb055872f3a30212e751f363901f0e1781c89c0ca222d9879970e787a06bb8c7bbc2b818c65b DIST apcu_bc-1.0.1.tgz 6500 SHA256 512674d891104d6da91811dbb89d28ab3faa356ee0ab4cbeae9bba9cf3e971cb SHA512 336f8b132f421cb9e4ec2fce2b1af7394f8f74965669e4e87b380f5a988b39ba4abec68a4e915d09bb041a6194a0cc5822445246a068efebda0cbeca943df95b WHIRLPOOL 1dfdbf291cf568d9addce51232607d839cb7b3d20ea0472bb12bad9503da607ba230280a4ef98bf684c177a244dd8bb98c2de3821a79b16f8a4966e4ec90cedf +DIST apcu_bc-1.0.3.tgz 7245 SHA256 40b63ada315ffce81e2e8d75162606090e1cc72fe94207bc7daa6dd260694919 SHA512 b1faf811316bbba25354b9b28d5c13c69ae93913b90eb36d1904ef4d9ca35000e1d83f8204ab4500813cb8858feccebb262523f42b3116b85c59c6a796affe67 WHIRLPOOL 5f3042f6ed01224e345a07067ca5067fda1eef9408eb514d85162239c3ae404a5ed02e5404e33cea4fa4e22b74f13a48f78157098c9376af36871008d302f7f2 diff --git a/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.3.ebuild b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.3.ebuild new file mode 100644 index 0000000..eee7b49 --- /dev/null +++ b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PHP_EXT_NAME="bc_apc" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="README.md" + +USE_PHP="php7-0" + +inherit php-ext-pecl-r2 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Provides APC backwards compatibility functions via APCu" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +DEPEND="dev-php/pecl-apcu[php_targets_php7-0]" +RDEPEND="${DEPEND}" + +src_install() { + # Rename the apc.so to match the ini file loading requirement + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + mv "modules/apc.so" "modules/${PHP_EXT_NAME}.so" || die + done + php-ext-pecl-r2_src_install +}