From a22f50c4b85ee9d30305c880edd2415849d56901 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 18 Feb 2017 11:38:06 -0500 Subject: dev-php/pecl-apcu: new version 5.1.8. Package-Manager: portage-2.3.3 --- dev-php/pecl-apcu/Manifest | 2 +- dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild | 81 -------------------------------- dev-php/pecl-apcu/pecl-apcu-5.1.8.ebuild | 81 ++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 82 deletions(-) delete mode 100644 dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild create mode 100644 dev-php/pecl-apcu/pecl-apcu-5.1.8.ebuild (limited to 'dev-php') diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest index 83043c0f72fe..2ea23b776bb4 100644 --- a/dev-php/pecl-apcu/Manifest +++ b/dev-php/pecl-apcu/Manifest @@ -3,4 +3,4 @@ DIST apcu-4.0.10.tgz 119264 SHA256 8dee6680924107d2aaf827f9cb8ef0e8e09c47bb38712 DIST apcu-4.0.11.tgz 119535 SHA256 454f302ec13a6047ca4c39e081217ce5a61bbea815aec9c1091fb849e70b4d00 SHA512 e3b97066240e33850419e96f0fd9df0e66ee3b0fa238c418e07ac639d07439e9edfa1696e56a620e33f1ffc0993c57bde585b0c170b22995e7d5c0ae550b7899 WHIRLPOOL b823ebdc574d13bfb43fbbfc2b5fe238ae1a895dc4fa51b12af9d99f3f8d42d4b4b25c305e203c417de2314cc2be360ea18e2c04f01b83c3c131c68c693f429c 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 +DIST apcu-5.1.8.tgz 111260 SHA256 01dfbf0245d8cc0f51ba16467a60b5fad08e30b28df7846e0dd213da1143ecce SHA512 4f377389e713bcae5534c64ea28f72c20ab2176aa758188c4d956c1f2370be49bc33dd2a1db43941fff5344a164aaeebc4e73e6d579f62d17334bcc520171526 WHIRLPOOL f62c95a404dfb8915b12012d29ca2e92753327d0d8f81638e8dc75c7db09f9798899bf5f8a76ab02ef792cc3572d0c7af2d4a5662662ffb517427d0a348c8e5a diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild deleted file mode 100644 index abbba8d75421..000000000000 --- a/dev-php/pecl-apcu/pecl-apcu-5.1.7.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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 -} diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.8.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.8.ebuild new file mode 100644 index 000000000000..c4c6f30ae598 --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-5.1.8.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2017 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 +} -- cgit v1.2.3-65-gdbad