1 |
commit: d9cf12bb35d29d42d77658681d924f2a4999b951 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 16 13:39:44 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 16 14:17:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cf12bb |
7 |
|
8 |
dev-php/maxmind-db-reader: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
dev-php/maxmind-db-reader/Manifest | 2 - |
14 |
dev-php/maxmind-db-reader/files/autoload.php | 6 -- |
15 |
.../maxmind-db-reader-1.2.0.ebuild | 76 --------------------- |
16 |
.../maxmind-db-reader-1.3.0.ebuild | 77 ---------------------- |
17 |
4 files changed, 161 deletions(-) |
18 |
|
19 |
diff --git a/dev-php/maxmind-db-reader/Manifest b/dev-php/maxmind-db-reader/Manifest |
20 |
index 154db8897aa..668eacd1cc9 100644 |
21 |
--- a/dev-php/maxmind-db-reader/Manifest |
22 |
+++ b/dev-php/maxmind-db-reader/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST MaxMind-DB-Reader-php-1.2.0.tar.gz 17488 BLAKE2B 2a511f84091ade374eb5b9a975fa6dafe75d69c4c057113790492840acfb9b8e50137bf4927814d8d77b2e17f4e0a7fe1ffda511f7c599a604bc69d4f38af406 SHA512 2965c5348ec787e503c04322961b00fe7806cd95c5f711efd9833adc0acb21f0c40cab1983868f8ea0bb4e8576186d83e1e1913b203aab999f3870ea298a9b2a |
25 |
-DIST MaxMind-DB-Reader-php-1.3.0.tar.gz 18573 BLAKE2B 6f093b4343438d37a44639dd47d4c149bcfdd351b9fe68eb19c1b739a28e7c7605728e47471cc7d5d257d56df5da37b5ffd32c275cb705befe9e6d60a137ac46 SHA512 480fb38122d1700b18bb0b85d8062397ddc7f003897829f3533901c12a409d76eea9d499ffc0fdd1bfaf4d35b954a30606a053b78e787eda27771995e2a1800b |
26 |
DIST MaxMind-DB-Reader-php-1.4.1.tar.gz 19667 BLAKE2B b397eb1bb7fa00c3382c7ee7c019c401d390c88d9bccd7742873445e95cb87d780ac17affe5cd1ec98e6f60d16660784dc5fdb188f8e4d2956df816397a9c251 SHA512 2407f3d1af10830078c9f5ba93ee74761084b06e630242eff0f707b98bdb78e6e87dabc999c36b29780ba9c8c38aec0225700005b66d95b3707bdc06875c6dd5 |
27 |
|
28 |
diff --git a/dev-php/maxmind-db-reader/files/autoload.php b/dev-php/maxmind-db-reader/files/autoload.php |
29 |
deleted file mode 100644 |
30 |
index 45e8c2dfba3..00000000000 |
31 |
--- a/dev-php/maxmind-db-reader/files/autoload.php |
32 |
+++ /dev/null |
33 |
@@ -1,6 +0,0 @@ |
34 |
-<?php |
35 |
-if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { |
36 |
- require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; |
37 |
-} |
38 |
- |
39 |
-\Fedora\Autoloader\Autoload::addPsr4('MaxMind\\Db\\', __DIR__); |
40 |
|
41 |
diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.2.0.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.2.0.ebuild |
42 |
deleted file mode 100644 |
43 |
index 344af793832..00000000000 |
44 |
--- a/dev-php/maxmind-db-reader/maxmind-db-reader-1.2.0.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,76 +0,0 @@ |
47 |
-# Copyright 1999-2018 Gentoo Foundation |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
- |
50 |
-EAPI=6 |
51 |
- |
52 |
-MY_PN="MaxMind-DB-Reader-php" |
53 |
-MY_P="${MY_PN}-${PV}" |
54 |
-S="${WORKDIR}/${MY_P}" |
55 |
-PHP_EXT_S="${S}/ext" |
56 |
-PHP_EXT_NAME="maxminddb" |
57 |
-PHP_EXT_OPTIONAL_USE="extension" |
58 |
- |
59 |
-USE_PHP="php5-6 php7-0 php7-1" |
60 |
- |
61 |
-inherit php-ext-source-r3 |
62 |
- |
63 |
-DESCRIPTION="PHP reader for the MaxMind database format" |
64 |
-HOMEPAGE="https://github.com/maxmind/${MY_PN}" |
65 |
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
66 |
- |
67 |
-LICENSE="Apache-2.0" |
68 |
-SLOT="0" |
69 |
-KEYWORDS="~amd64" |
70 |
-IUSE="extension test" |
71 |
- |
72 |
-COMMON_DEPEND="extension? ( dev-libs/libmaxminddb )" |
73 |
-DEPEND="${COMMON_DEPEND}" |
74 |
-RDEPEND="${COMMON_DEPEND} |
75 |
- dev-php/fedora-autoloader" |
76 |
- |
77 |
-src_prepare(){ |
78 |
- # We need to call eapply_user ourselves, because it may be skipped |
79 |
- # if either the "extension" USE flag is not set, or if the user's |
80 |
- # PHP_TARGETS is essentially empty. In the latter case, the eclass |
81 |
- # src_prepare does nothing. We only call the eclass phase conditionally |
82 |
- # because the correct version of e.g. "phpize" may not be there |
83 |
- # unless USE=extension is set. |
84 |
- eapply_user |
85 |
- use extension && php-ext-source-r3_src_prepare |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- # The eclass phase will try to run the ./configure script even if it |
90 |
- # doesn't exist (in contrast to the default src_configure), so we |
91 |
- # need to skip it if the eclass src_prepare (that creates said |
92 |
- # script) is not run. |
93 |
- use extension && php-ext-source-r3_src_configure |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- # Avoids the same problem as in src_configure. |
98 |
- use extension && php-ext-source-r3_src_compile |
99 |
-} |
100 |
- |
101 |
-src_install() { |
102 |
- dodoc CHANGELOG.md README.md |
103 |
- insinto /usr/share/php |
104 |
- doins -r src/MaxMind |
105 |
- insinto /usr/share/php/MaxMind/Db |
106 |
- doins "${FILESDIR}/autoload.php" |
107 |
- |
108 |
- use extension && php-ext-source-r3_src_install |
109 |
-} |
110 |
- |
111 |
-src_test() { |
112 |
- # The PHP API has its own set of tests that isn't shipped with the |
113 |
- # release tarballs at the moment (github issues 55). |
114 |
- use extension && php-ext-source-r3_src_test |
115 |
-} |
116 |
- |
117 |
-pkg_postinst(){ |
118 |
- elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." |
119 |
- elog "To use it in a script, require('MaxMind/Db/autoload.php')," |
120 |
- elog "and then most of the examples in the documentation should" |
121 |
- elog "work without further modification." |
122 |
-} |
123 |
|
124 |
diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.3.0.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.3.0.ebuild |
125 |
deleted file mode 100644 |
126 |
index 7d53d3fc64d..00000000000 |
127 |
--- a/dev-php/maxmind-db-reader/maxmind-db-reader-1.3.0.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,77 +0,0 @@ |
130 |
-# Copyright 1999-2018 Gentoo Foundation |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-EAPI=6 |
134 |
- |
135 |
-MY_PN="MaxMind-DB-Reader-php" |
136 |
-MY_P="${MY_PN}-${PV}" |
137 |
-S="${WORKDIR}/${MY_P}" |
138 |
-PHP_EXT_S="${S}/ext" |
139 |
-PHP_EXT_NAME="maxminddb" |
140 |
-PHP_EXT_OPTIONAL_USE="extension" |
141 |
- |
142 |
-USE_PHP="php5-6 php7-0 php7-1 php7-2" |
143 |
- |
144 |
-inherit php-ext-source-r3 |
145 |
- |
146 |
-DESCRIPTION="PHP reader for the MaxMind database format" |
147 |
-HOMEPAGE="https://github.com/maxmind/${MY_PN}" |
148 |
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" |
149 |
- |
150 |
-LICENSE="Apache-2.0" |
151 |
-SLOT="0" |
152 |
-KEYWORDS="~amd64" |
153 |
-IUSE="extension test" |
154 |
- |
155 |
-DEPEND="extension? ( dev-libs/libmaxminddb )" |
156 |
-RDEPEND="${DEPEND}" |
157 |
- |
158 |
-src_prepare(){ |
159 |
- # We need to call eapply_user ourselves, because it may be skipped |
160 |
- # if either the "extension" USE flag is not set, or if the user's |
161 |
- # PHP_TARGETS is essentially empty. In the latter case, the eclass |
162 |
- # src_prepare does nothing. We only call the eclass phase conditionally |
163 |
- # because the correct version of e.g. "phpize" may not be there |
164 |
- # unless USE=extension is set. |
165 |
- if use extension ; then |
166 |
- php-ext-source-r3_src_prepare |
167 |
- else |
168 |
- default |
169 |
- fi |
170 |
-} |
171 |
- |
172 |
-src_configure() { |
173 |
- # The eclass phase will try to run the ./configure script even if it |
174 |
- # doesn't exist (in contrast to the default src_configure), so we |
175 |
- # need to skip it if the eclass src_prepare (that creates said |
176 |
- # script) is not run. |
177 |
- use extension && php-ext-source-r3_src_configure |
178 |
-} |
179 |
- |
180 |
-src_compile() { |
181 |
- # Avoids the same problem as in src_configure. |
182 |
- use extension && php-ext-source-r3_src_compile |
183 |
-} |
184 |
- |
185 |
-src_install() { |
186 |
- dodoc CHANGELOG.md README.md |
187 |
- insinto /usr/share/php |
188 |
- doins -r src/MaxMind |
189 |
- insinto /usr/share/php/MaxMind/Db |
190 |
- doins autoload.php |
191 |
- |
192 |
- use extension && php-ext-source-r3_src_install |
193 |
-} |
194 |
- |
195 |
-src_test() { |
196 |
- # The PHP API has its own set of tests that isn't shipped with the |
197 |
- # release tarballs at the moment (github issues 55). |
198 |
- use extension && php-ext-source-r3_src_test |
199 |
-} |
200 |
- |
201 |
-pkg_postinst(){ |
202 |
- elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." |
203 |
- elog "To use it in a script, require('MaxMind/Db/autoload.php')," |
204 |
- elog "and then most of the examples in the documentation should" |
205 |
- elog "work without further modification." |
206 |
-} |