1 |
commit: ef903afe3698296b18d320f596b7f3d817a306e1 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 19:04:26 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 19:05:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef903afe |
7 |
|
8 |
dev-php/pecl-apcu: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild | 80 ------------------------------- |
14 |
1 file changed, 80 deletions(-) |
15 |
|
16 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild |
17 |
deleted file mode 100644 |
18 |
index f204ffcad33..00000000000 |
19 |
--- a/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,80 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-PHP_EXT_NAME="apcu" |
28 |
-PHP_EXT_INI="yes" |
29 |
-PHP_EXT_ZENDEXT="no" |
30 |
-DOCS=( NOTICE README.md TECHNOTES.txt ) |
31 |
- |
32 |
-# Define 5.6 here so we get the USE and REQUIRED_USE from the eclass |
33 |
-# This allows us to depend on the other slot |
34 |
-USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" |
35 |
- |
36 |
-inherit php-ext-pecl-r3 |
37 |
- |
38 |
-# However, we only really build for 7.x; so redefine it here |
39 |
-USE_PHP="php7-0 php7-1 php7-2 php7-3" |
40 |
- |
41 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
42 |
- |
43 |
-DESCRIPTION="Stripped down version of APC supporting only user cache" |
44 |
-LICENSE="PHP-3.01" |
45 |
-SLOT="7" |
46 |
-IUSE="+mmap" |
47 |
- |
48 |
-DEPEND="" |
49 |
-RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-apcu:0[php_targets_php5-6] )" |
50 |
- |
51 |
-LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
52 |
- |
53 |
-LUSE="" |
54 |
-for l in ${LOCKS}; do |
55 |
- LUSE+="lock-${l} " |
56 |
-done |
57 |
- |
58 |
-IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
59 |
- |
60 |
-REQUIRED_USE="^^ ( $LUSE )" |
61 |
- |
62 |
-src_prepare() { |
63 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
64 |
- php-ext-source-r3_src_prepare |
65 |
- else |
66 |
- eapply_user |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
72 |
- local PHP_EXT_ECONF_ARGS=( |
73 |
- --enable-apcu |
74 |
- $(use_enable mmap apcu-mmap) |
75 |
- $(use_enable lock-pthreadrw apcu-rwlocks) |
76 |
- $(use_enable lock-spinlock apcu-spinlocks) |
77 |
- ) |
78 |
- |
79 |
- php-ext-source-r3_src_configure |
80 |
- fi |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
85 |
- php-ext-pecl-r3_src_install |
86 |
- |
87 |
- insinto /usr/share/php7/apcu |
88 |
- doins apc.php |
89 |
- fi |
90 |
-} |
91 |
- |
92 |
-pkg_postinst() { |
93 |
- if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then |
94 |
- elog "The apc.php file shipped with this release of pecl-apcu was" |
95 |
- elog "installed to ${EPREFIX}/usr/share/php7/apcu/." |
96 |
- elog |
97 |
- elog "If you depend on the apc_* functions," |
98 |
- elog "please install dev-php/pecl-apcu_bc as this extension no longer" |
99 |
- elog "provides backwards compatibility." |
100 |
- fi |
101 |
-} |