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/pecl-apcu/
Date: Thu,  8 Dec 2016 21:53:51 +0000 (UTC)	[thread overview]
Message-ID: <1481234008.bdb56a715658ed6b6498488b4a6597606142c073.grknight@gentoo> (raw)

commit:     bdb56a715658ed6b6498488b4a6597606142c073
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 20:34:57 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 21:53:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb56a71

dev-php/pecl-apcu: Version bump wrt bug 601644

Package-Manager: portage-2.3.3

 dev-php/pecl-apcu/Manifest               |  1 +
 dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild | 81 ++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest
index c3ae488..6c9e807 100644
--- a/dev-php/pecl-apcu/Manifest
+++ b/dev-php/pecl-apcu/Manifest
@@ -2,3 +2,4 @@ DIST APCu-4.0.7.tgz 118670 SHA256 178a731ee3435b451f1144bc4a63c9d70d4909a2c434e1
 DIST apcu-4.0.10.tgz 119264 SHA256 8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712a3439eddabe3ce41b40 SHA512 8aabd51996270cff98b9e329413f9cfcaa9be33a0df8bf9ad50ac2dfd320e348aee6432b8ecd498e077c490714184a82502ea656d825a5fcab70966780064163 WHIRLPOOL c39d4d0953dc4f5168032641c89292c2efcf514c2afca4f9cf65a35564c169021a0a74543556b6e890972904007c7c846a88d8c3ce2ccc0167a1a74e18779b99
 DIST apcu-4.0.8.tgz 119062 SHA256 bef4f5ae309526a332e0f6b98f0579a45d6000b928991babe684d4c22432d57d SHA512 990fbf3d6f490eeebf1d28eea5e7b0400c8c4badbfcf5ed1c5fc5b7186c5cd6d4ec87a99a8185e9bb27c64ccd371ca7b4324901f35a84644301e32fd9cfa8ef8 WHIRLPOOL 443f0f0a5a742933a19b22a18aa442587f3a7b75fc5e3739ea5dac9d8e31d9e40c41b8107b4d4953cb33f5baa49761a4d1c52a9f472377a5f7a4019750b08f64
 DIST apcu-5.1.5.tgz 109196 SHA256 5f4153fe21745a44f1d92431b05a85c0912bb3235110615db84a4a6e84fb6791 SHA512 ffa3e666f354c8fd2ab163db9c8352066d27a1cd6aebe4d8f374052f14a90dbe752efc27c6e927cbf75fc48b6f673e639b07ceeffc2a68402a778cc6a8b18fbc WHIRLPOOL 53345855c62584f2bcac87c008ac22dc73b330f4ee6df48a9f294b404ceddca476f0187defc8d258a73d254be094845be62def71a8e2087a7506da56b414d9aa
+DIST apcu-5.1.7.tgz 110921 SHA256 e71e12985f52d4f4311beedf54540a16b76cf7d2d8b8c1028ec4491d4c0f962c SHA512 104e5b1b5dbf1febf4f147775f621d867a5ca60a1ddfe56af5f42f148f7913aa54a31c96baf35c1fd9b3278355d6f14289ffda1601b4a2579430d585f79753b3 WHIRLPOOL d8f79290f55368415571e8f16832b91fc446787e60e69d381f5e8e19059235ad54d64772e1bd40fc6d27f89c9aa4c67a2b0f9c5e8bcf4259e0fe0e0b34f2a398

diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild
new file mode 100644
index 00000000..abbba8d
--- /dev/null
+++ b/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PHP_EXT_NAME="apcu"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS=( NOTICE README.md TECHNOTES.txt TODO )
+
+# Define 5.6 here so we get the USE and REQUIRED_USE from the eclass
+# This allows us to depend on the other slot
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+# However, we only really build for 7.x; so redefine it here
+USE_PHP="php7-0 php7-1"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Stripped down version of APC supporting only user cache"
+LICENSE="PHP-3.01"
+SLOT="7"
+IUSE="+mmap"
+
+DEPEND=""
+RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-apcu:0[php_targets_php5-6] )"
+
+LOCKS="pthreadmutex pthreadrw spinlock semaphore"
+
+LUSE=""
+for l in ${LOCKS}; do
+	LUSE+="lock_${l} "
+done
+
+IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
+
+REQUIRED_USE="^^ ( $LUSE )"
+
+src_prepare() {
+	if use php_targets_php7-0 || use php_targets_php7-1 ; then
+		php-ext-source-r3_src_prepare
+	else
+		eapply_user
+	fi
+}
+
+src_configure() {
+	if use php_targets_php7-0 || use php_targets_php7-1 ; then
+		local PHP_EXT_ECONF_ARGS=(
+			--enable-apcu
+			$(use_enable mmap apcu-mmap)
+			$(use_enable lock_pthreadrw apcu-rwlocks)
+			$(use_enable lock_spinlock apcu-spinlocks)
+		)
+
+		php-ext-source-r3_src_configure
+	fi
+}
+
+src_install() {
+	if use php_targets_php7-0 || use php_targets_php7-1 ; then
+		php-ext-pecl-r3_src_install
+
+		insinto /usr/share/php7/apcu
+		doins apc.php
+	fi
+}
+
+pkg_postinst() {
+	if use php_targets_php7-0 || use php_targets_php7-1 ; then
+		elog "The apc.php file shipped with this release of pecl-apcu was"
+		elog "installed into ${EPREFIX}/usr/share/php7/apcu/."
+		elog
+		elog "If you depend on the apc_* functions,"
+		elog "please install dev-php/pecl-apcu_bc as this extension no longer"
+		elog "provides backwards compatibility."
+	fi
+}


             reply	other threads:[~2016-12-08 21:53 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08 21:53 Brian Evans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-13 12:46 [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-apcu/ Michael Orlitzky
2024-11-13 11:10 Arthur Zamarin
2024-11-11 15:21 Sam James
2023-12-28  1:39 Conrad Kostecki
2023-12-28  1:28 Conrad Kostecki
2022-10-26 19:56 Conrad Kostecki
2022-06-29 13:00 Brian Evans
2022-06-29  7:56 Agostino Sarubbo
2022-06-29  7:54 Agostino Sarubbo
2022-06-29  7:52 Agostino Sarubbo
2022-06-29  1:25 Brian Evans
2022-04-05 13:58 Brian Evans
2021-10-15 14:33 Thomas Deutschmann
2021-04-23 13:44 Sam James
2021-03-06 16:03 Thomas Deutschmann
2021-01-25 18:10 Brian Evans
2021-01-25 17:13 Sam James
2021-01-24 12:10 Agostino Sarubbo
2021-01-22 16:53 Agostino Sarubbo
2020-12-08 21:40 Brian Evans
2020-10-05 16:19 Thomas Deutschmann
2020-05-15 12:57 Brian Evans
2020-03-21  9:24 Mart Raudsepp
2020-01-26 20:55 Thomas Deutschmann
2020-01-24 15:57 Agostino Sarubbo
2019-11-17 21:01 Thomas Deutschmann
2019-10-01 19:05 Brian Evans
2019-10-01 19:05 Brian Evans
2019-10-01 19:05 Brian Evans
2019-08-19 13:23 Brian Evans
2019-08-15 16:16 Brian Evans
2019-08-15 13:03 Brian Evans
2019-08-13  0:36 Aaron Bauman
2019-02-22 14:55 Thomas Deutschmann
2018-12-18  0:51 Thomas Deutschmann
2018-10-27 19:53 Mikle Kolyada
2018-10-19 17:52 Thomas Deutschmann
2018-08-10 16:32 Brian Evans
2018-04-06 13:48 Brian Evans
2018-03-06 17:14 Brian Evans
2018-01-25 15:05 Brian Evans
2018-01-25 15:05 Brian Evans
2017-12-31  3:07 Michael Orlitzky
2017-03-04 15:17 Brian Evans
2017-02-23 16:30 Agostino Sarubbo
2017-02-22 15:06 Agostino Sarubbo
2017-02-18 16:39 Michael Orlitzky
2017-02-18 16:39 Michael Orlitzky
2016-12-08 21:53 Brian Evans
2016-06-23 20:04 Brian Evans
2016-01-23 16:58 Michael Orlitzky
2016-01-01  3:55 Brian Evans
2015-12-24 18:28 Brian Evans
2015-12-02 19:34 Brian Evans
2015-11-03 16:18 Agostino Sarubbo
2015-11-03 15:19 Agostino Sarubbo
2015-09-25 19:20 Michael Orlitzky

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=1481234008.bdb56a715658ed6b6498488b4a6597606142c073.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