1 |
commit: 6970f393986186a94b83acc34c319039de75c7fc |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 12:59:56 2022 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 12:59:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6970f393 |
7 |
|
8 |
dev-php/pecl-apcu: Drop old |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
dev-php/pecl-apcu/Manifest | 2 - |
13 |
dev-php/pecl-apcu/pecl-apcu-5.1.19.ebuild | 63 ------------------------------- |
14 |
dev-php/pecl-apcu/pecl-apcu-5.1.20.ebuild | 63 ------------------------------- |
15 |
3 files changed, 128 deletions(-) |
16 |
|
17 |
diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest |
18 |
index effbc39b4daf..ae62b97debbb 100644 |
19 |
--- a/dev-php/pecl-apcu/Manifest |
20 |
+++ b/dev-php/pecl-apcu/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST apcu-5.1.19.tgz 96583 BLAKE2B 330c08a4e557691d0b402111877b3caf56b211256db17cce52a76aeefce7237505eca4ecd71f3770ef3c405182a1604a92cc458cb9bca435b42370fe917e21a7 SHA512 45077e3bd0eac207539e2eafe21968c71f49b8c8920168dbafa87961b041f1d348b6bf1c130104744bc541e1f690854f0a29062e9520db81c04edeee3ef2ed99 |
23 |
-DIST apcu-5.1.20.tgz 96727 BLAKE2B b8223856e0aaa52f90dffa674bbd9b047caa8c91d81b637eafc2f59fbbfdfe0d6ce30e990a87cb4833e895fcfd944f7d57eb6f7356b3e2361d6be5a535bb3a63 SHA512 3e10b7e5dc7481b1250610ef83954875f427b9114d6b232bad9064fc33d8c8906bcc317f94a6cfc9f76c720fa06a44270d259cf2ceef6c1ec9dcadc49254ee1b |
24 |
DIST apcu-5.1.21.tgz 92516 BLAKE2B 32d73b89bde9ef4eb01c9ad766930e87300b86776c95929607a8aaefba5043e3a7947d064416ac083ff38876fdb41bb03dab1552ac000082e54f809269b4c925 SHA512 a6ffe8349760d27cde0d86017a59a68e9639bf385e606622d807094f4e5fb305bb25b9ce00077d0856f4d223d44329f7a6314c229b62c78d8e2b085593c92bb3 |
25 |
|
26 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.19.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.19.ebuild |
27 |
deleted file mode 100644 |
28 |
index c7fb42739132..000000000000 |
29 |
--- a/dev-php/pecl-apcu/pecl-apcu-5.1.19.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,63 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PHP_EXT_NAME="apcu" |
38 |
-PHP_EXT_INI="yes" |
39 |
-PHP_EXT_ZENDEXT="no" |
40 |
-DOCS=( NOTICE README.md TECHNOTES.txt ) |
41 |
- |
42 |
-USE_PHP="php7-2 php7-3 php7-4 php8-0" |
43 |
- |
44 |
-inherit php-ext-pecl-r3 |
45 |
- |
46 |
-KEYWORDS="amd64 arm64 x86" |
47 |
- |
48 |
-DESCRIPTION="Stripped down version of APC supporting only user cache" |
49 |
-LICENSE="PHP-3.01" |
50 |
-SLOT="7" |
51 |
- |
52 |
-LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
53 |
- |
54 |
-LUSE="" |
55 |
-for l in ${LOCKS}; do |
56 |
- LUSE+="lock-${l} " |
57 |
-done |
58 |
- |
59 |
-IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
60 |
- |
61 |
-REQUIRED_USE="^^ ( $LUSE )" |
62 |
- |
63 |
-src_prepare() { |
64 |
- php-ext-source-r3_src_prepare |
65 |
- # Remove broken tests from php 7.4 due to trivial output differences |
66 |
- if use php_targets_php7-4 ; then |
67 |
- php_init_slot_env "php7.4" |
68 |
- rm "${PHP_EXT_S}"/tests/apc_entry_00{2,3}.phpt || die |
69 |
- fi |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- local PHP_EXT_ECONF_ARGS=( |
74 |
- --enable-apcu |
75 |
- $(use_enable mmap apcu-mmap) |
76 |
- $(use_enable lock-spinlock apcu-spinlocks) |
77 |
- ) |
78 |
- # Broken upstream autoconf test disables if present at all |
79 |
- use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks ) |
80 |
- |
81 |
- php-ext-source-r3_src_configure |
82 |
-} |
83 |
- |
84 |
-src_install() { |
85 |
- php-ext-pecl-r3_src_install |
86 |
- |
87 |
- insinto /usr/share/php7/apcu |
88 |
- doins apc.php |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- elog "The apc.php file shipped with this release of pecl-apcu was" |
93 |
- elog "installed to ${EPREFIX}/usr/share/php7/apcu/." |
94 |
-} |
95 |
|
96 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.20.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.20.ebuild |
97 |
deleted file mode 100644 |
98 |
index ab9a31c49a50..000000000000 |
99 |
--- a/dev-php/pecl-apcu/pecl-apcu-5.1.20.ebuild |
100 |
+++ /dev/null |
101 |
@@ -1,63 +0,0 @@ |
102 |
-# Copyright 1999-2021 Gentoo Authors |
103 |
-# Distributed under the terms of the GNU General Public License v2 |
104 |
- |
105 |
-EAPI=7 |
106 |
- |
107 |
-PHP_EXT_NAME="apcu" |
108 |
-PHP_EXT_INI="yes" |
109 |
-PHP_EXT_ZENDEXT="no" |
110 |
-DOCS=( NOTICE README.md TECHNOTES.txt ) |
111 |
- |
112 |
-USE_PHP="php7-2 php7-3 php7-4 php8-0" |
113 |
- |
114 |
-inherit php-ext-pecl-r3 |
115 |
- |
116 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
117 |
- |
118 |
-DESCRIPTION="Stripped down version of APC supporting only user cache" |
119 |
-LICENSE="PHP-3.01" |
120 |
-SLOT="7" |
121 |
- |
122 |
-LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
123 |
- |
124 |
-LUSE="" |
125 |
-for l in ${LOCKS}; do |
126 |
- LUSE+="lock-${l} " |
127 |
-done |
128 |
- |
129 |
-IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
130 |
- |
131 |
-REQUIRED_USE="^^ ( $LUSE )" |
132 |
- |
133 |
-src_prepare() { |
134 |
- php-ext-source-r3_src_prepare |
135 |
- # Remove broken tests from php 7.4 due to trivial output differences |
136 |
- if use php_targets_php7-4 ; then |
137 |
- php_init_slot_env "php7.4" |
138 |
- rm "${PHP_EXT_S}"/tests/apc_entry_00{2,3}.phpt || die |
139 |
- fi |
140 |
-} |
141 |
- |
142 |
-src_configure() { |
143 |
- local PHP_EXT_ECONF_ARGS=( |
144 |
- --enable-apcu |
145 |
- $(use_enable mmap apcu-mmap) |
146 |
- $(use_enable lock-spinlock apcu-spinlocks) |
147 |
- ) |
148 |
- # Broken upstream autoconf test disables if present at all |
149 |
- use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks ) |
150 |
- |
151 |
- php-ext-source-r3_src_configure |
152 |
-} |
153 |
- |
154 |
-src_install() { |
155 |
- php-ext-pecl-r3_src_install |
156 |
- |
157 |
- insinto /usr/share/php7/apcu |
158 |
- doins apc.php |
159 |
-} |
160 |
- |
161 |
-pkg_postinst() { |
162 |
- elog "The apc.php file shipped with this release of pecl-apcu was" |
163 |
- elog "installed to ${EPREFIX}/usr/share/php7/apcu/." |
164 |
-} |