1 |
commit: d6452a56eafe6dcf5cf65cfcba71117e8421c732 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 13 18:50:41 2019 +0000 |
4 |
Commit: 罗百科 <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 13 18:50:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6452a56 |
7 |
|
8 |
dev-db/postgis: Bump |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> |
12 |
|
13 |
dev-db/postgis/Manifest | 3 + |
14 |
dev-db/postgis/postgis-2.4.8.ebuild | 125 +++++++++++++++++++++++++++++ |
15 |
dev-db/postgis/postgis-2.5.3.ebuild | 123 ++++++++++++++++++++++++++++ |
16 |
dev-db/postgis/postgis-3.0.0_alpha4.ebuild | 123 ++++++++++++++++++++++++++++ |
17 |
4 files changed, 374 insertions(+) |
18 |
|
19 |
diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest |
20 |
index 52a373ebc39..05cff1b04d4 100644 |
21 |
--- a/dev-db/postgis/Manifest |
22 |
+++ b/dev-db/postgis/Manifest |
23 |
@@ -1,4 +1,7 @@ |
24 |
DIST postgis-2.4.6.tar.gz 12616474 BLAKE2B 8e33ae7e8ca5ef2a4dd90f64a8e9910118e4ef711444b196f46e4a63f98ff6044709d65a853c5c10de91308658a206965503b6a85a16438ea422becdbbd9bb40 SHA512 eec4276a58549f3cc57d6574186aebc72df0dd7dc2ab9acbaf410604b4d271dee6d5154caacd7297d20493d879434ca78050672e8197ff0fc63a36100c20c66c |
25 |
DIST postgis-2.4.7.tar.gz 12831401 BLAKE2B 0069a339cc778a02a008835189b5560ffb1724aceaaeeec5264750cdfaa4346310ca1d112f698556e750b6559f0dabb727584c9d41ff8747ed7673e147c9723e SHA512 832f039e582227cd1c6edef98af8dfcceb90db75b18d4ba605b7baf2842227b23fe2d15c3b1cde941182c93230ba41ab94da59e97506c77e79f2016bbd98c885 |
26 |
+DIST postgis-2.4.8.tar.gz 12846228 BLAKE2B dc7cd26f08774011bddba362040f35fd46dab5f58870643d4e6d939fb107a8e93ccb8c2d57ac67bf5ba44a7dd05c25eee77358548d9d7d9a8b3e2f7538e49538 SHA512 afeddbdcbad68358c3bc36beec5f1baf74c328daba90f0ac7d6322e4330d18da2e5534fa200f8ae3f19e7e897221989a564f6e2855e9181eadfd9cc32315b666 |
27 |
DIST postgis-2.5.1.tar.gz 16041872 BLAKE2B 589cf7168d3698737a19d817b8efb91695c2c3f63d6c3aa24189d9a37459a28ca8a7db0450aa2d557699f76cd8e3ab1eec198bd332b294d976330fdc9d8a7f60 SHA512 c6c9c8c5befd945614e92d1062df1d753ca8b7fd69b70226065c2dac77a59783b14ece4da994187079b683ee090ba5a79389ba679f22fce8c20a5afc2c8dfca0 |
28 |
DIST postgis-2.5.2.tar.gz 16252761 BLAKE2B 181ecc41e659c1df32392d0dfea9cc081c2a647fd23401b8b0470f99e1136b6b8ed900eaea38afdf87cc801bf13ede4247f9c188fcf0da6782624239c77b434f SHA512 b10781f0b74bad8162c33eb111a6090fba184b45fe5874d22cd3a5b0acfb057f3407c073bc44c9d4cd20ed8c2cb1fbb34480b0cf331340bc8b52580d4eccb819 |
29 |
+DIST postgis-2.5.3.tar.gz 16424752 BLAKE2B 94c2ccd41eb88a39c6db48ad7f4d142742a1b0791e3abe57adb2c778406dcc8286afc6d55c80067e0b94a1300eff1c76a227d3cfd813e12541c715edeea11a9b SHA512 1c9f873ba8f8ff4aeae248c68c001eb4174416de1e00ce6a0d0c9ea129b475e887a83235027068d52f587ab95c549adbfaa7e5dccdda77855e39c55dac0fdc2d |
30 |
+DIST postgis-3.0.0alpha4.tar.gz 17488411 BLAKE2B ef819793ee431e54ab69e9434d45fc9c59ecb014dc18ccfb93705bc0ec6dec99ec05cedf687db17a8d65da5b6f2bd8760589ed00d1c51328f84f01461deb0922 SHA512 85eb8380772e7be0520617b23d74ab729be0a2ea6f2cbea4f765f38c9522312366723b6972f75017e7675e32b89692c2c25f7e355a18edf1fbb84d4eaa10e52a |
31 |
|
32 |
diff --git a/dev-db/postgis/postgis-2.4.8.ebuild b/dev-db/postgis/postgis-2.4.8.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..7248b26049e |
35 |
--- /dev/null |
36 |
+++ b/dev-db/postgis/postgis-2.4.8.ebuild |
37 |
@@ -0,0 +1,125 @@ |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI="6" |
42 |
+ |
43 |
+POSTGRES_COMPAT=( 9.{4..6} {10..11} ) |
44 |
+POSTGRES_USEDEP="server" |
45 |
+ |
46 |
+inherit autotools eutils postgres-multi versionator |
47 |
+ |
48 |
+MY_PV=$(replace_version_separator 3 '') |
49 |
+MY_P="${PN}-${MY_PV}" |
50 |
+S="${WORKDIR}/${MY_P}" |
51 |
+ |
52 |
+DESCRIPTION="Geographic Objects for PostgreSQL" |
53 |
+HOMEPAGE="http://postgis.net" |
54 |
+SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
55 |
+LICENSE="GPL-2" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
58 |
+IUSE="address-standardizer doc gtk static-libs mapbox test topology" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ ${POSTGRES_DEP} |
62 |
+ dev-libs/json-c:= |
63 |
+ dev-libs/libxml2:2 |
64 |
+ >=sci-libs/geos-3.5.0 |
65 |
+ >=sci-libs/proj-4.6.0 |
66 |
+ >=sci-libs/gdal-1.10.0 |
67 |
+ address-standardizer? ( dev-libs/libpcre ) |
68 |
+ gtk? ( x11-libs/gtk+:2 ) |
69 |
+ mapbox? ( dev-libs/protobuf ) |
70 |
+" |
71 |
+ |
72 |
+DEPEND="${RDEPEND} |
73 |
+ doc? ( |
74 |
+ app-text/docbook-xsl-stylesheets |
75 |
+ app-text/docbook-xml-dtd:4.5 |
76 |
+ dev-libs/libxslt |
77 |
+ || ( |
78 |
+ media-gfx/imagemagick[png] |
79 |
+ media-gfx/graphicsmagick[imagemagick,png] |
80 |
+ ) |
81 |
+ ) |
82 |
+ virtual/pkgconfig |
83 |
+ test? ( dev-util/cunit ) |
84 |
+" |
85 |
+ |
86 |
+PGIS="$(get_version_component_range 1-2)" |
87 |
+ |
88 |
+REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
89 |
+ |
90 |
+# Needs a running psql instance, doesn't work out of the box |
91 |
+RESTRICT="test" |
92 |
+ |
93 |
+MAKEOPTS+=' -j1' |
94 |
+ |
95 |
+# These modules are built using the same *FLAGS that were used to build |
96 |
+# dev-db/postgresql. The right thing to do is to ignore the current |
97 |
+# *FLAGS settings. |
98 |
+QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
99 |
+ |
100 |
+src_prepare() { |
101 |
+ eapply "${FILESDIR}/${PN}-2.2.0-arflags.patch" |
102 |
+ |
103 |
+ local AT_M4DIR="macros" |
104 |
+ eautoreconf |
105 |
+ |
106 |
+ postgres-multi_src_prepare |
107 |
+} |
108 |
+ |
109 |
+src_configure() { |
110 |
+ local myargs="" |
111 |
+ |
112 |
+ use gtk && myargs+=" --with-gui" |
113 |
+ |
114 |
+ use address-standardizer || myargs+=" --without-address-standardizer" |
115 |
+ use mapbox || myargs+=" --without-protobuf" |
116 |
+ use topology || myargs+=" --without-topology" |
117 |
+ |
118 |
+ postgres-multi_foreach econf ${myargs} |
119 |
+} |
120 |
+ |
121 |
+src_compile() { |
122 |
+ postgres-multi_foreach emake |
123 |
+ postgres-multi_foreach emake -C topology |
124 |
+ |
125 |
+ if use doc ; then |
126 |
+ postgres-multi_foreach emake comments |
127 |
+ postgres-multi_foreach emake cheatsheets |
128 |
+ postgres-multi_forbest emake -C doc html |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ postgres-multi_foreach emake DESTDIR="${D}" install |
134 |
+ postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
135 |
+ postgres-multi_forbest dobin ./utils/postgis_restore.pl |
136 |
+ |
137 |
+ dodoc CREDITS TODO loader/README.* doc/*txt |
138 |
+ |
139 |
+ docinto topology |
140 |
+ dodoc topology/{TODO,README} |
141 |
+ |
142 |
+ if use doc ; then |
143 |
+ postgres-multi_foreach emake DESTDIR="${D}" comments-install |
144 |
+ |
145 |
+ docinto html |
146 |
+ postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
147 |
+ |
148 |
+ docinto html/images |
149 |
+ postgres-multi_forbest dodoc doc/html/images/* |
150 |
+ fi |
151 |
+ |
152 |
+ use static-libs || find "${ED}" -name '*.a' -delete |
153 |
+} |
154 |
+ |
155 |
+pkg_postinst() { |
156 |
+ ebegin "Refreshing PostgreSQL symlinks" |
157 |
+ postgresql-config update |
158 |
+ eend $? |
159 |
+ |
160 |
+ elog "To finish installing PostGIS, follow the directions detailed at:" |
161 |
+ elog "http://postgis.net/docs/manual-${PGIS}/postgis_installation.html#create_new_db_extensions" |
162 |
+} |
163 |
|
164 |
diff --git a/dev-db/postgis/postgis-2.5.3.ebuild b/dev-db/postgis/postgis-2.5.3.ebuild |
165 |
new file mode 100644 |
166 |
index 00000000000..23608a5b3b0 |
167 |
--- /dev/null |
168 |
+++ b/dev-db/postgis/postgis-2.5.3.ebuild |
169 |
@@ -0,0 +1,123 @@ |
170 |
+# Copyright 1999-2019 Gentoo Authors |
171 |
+# Distributed under the terms of the GNU General Public License v2 |
172 |
+ |
173 |
+EAPI="6" |
174 |
+ |
175 |
+POSTGRES_COMPAT=( 9.{4..6} {10..12} ) |
176 |
+POSTGRES_USEDEP="server" |
177 |
+ |
178 |
+inherit autotools eutils postgres-multi versionator |
179 |
+ |
180 |
+MY_PV=$(replace_version_separator 3 '') |
181 |
+MY_P="${PN}-${MY_PV}" |
182 |
+S="${WORKDIR}/${MY_P}" |
183 |
+ |
184 |
+DESCRIPTION="Geographic Objects for PostgreSQL" |
185 |
+HOMEPAGE="http://postgis.net" |
186 |
+SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
187 |
+LICENSE="GPL-2" |
188 |
+SLOT="0" |
189 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
190 |
+IUSE="address-standardizer doc gtk static-libs mapbox test topology" |
191 |
+ |
192 |
+RDEPEND=" |
193 |
+ ${POSTGRES_DEP} |
194 |
+ dev-libs/json-c:= |
195 |
+ dev-libs/libxml2:2 |
196 |
+ >=sci-libs/geos-3.5.0 |
197 |
+ >=sci-libs/proj-4.6.0 |
198 |
+ >=sci-libs/gdal-1.10.0 |
199 |
+ address-standardizer? ( dev-libs/libpcre ) |
200 |
+ gtk? ( x11-libs/gtk+:2 ) |
201 |
+ mapbox? ( dev-libs/protobuf ) |
202 |
+" |
203 |
+ |
204 |
+DEPEND="${RDEPEND} |
205 |
+ doc? ( |
206 |
+ app-text/docbook-xsl-stylesheets |
207 |
+ app-text/docbook-xml-dtd:4.5 |
208 |
+ dev-libs/libxslt |
209 |
+ || ( |
210 |
+ media-gfx/imagemagick[png] |
211 |
+ media-gfx/graphicsmagick[imagemagick,png] |
212 |
+ ) |
213 |
+ ) |
214 |
+ virtual/pkgconfig |
215 |
+ test? ( dev-util/cunit ) |
216 |
+" |
217 |
+ |
218 |
+PGIS="$(get_version_component_range 1-2)" |
219 |
+ |
220 |
+REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
221 |
+ |
222 |
+# Needs a running psql instance, doesn't work out of the box |
223 |
+RESTRICT="test" |
224 |
+ |
225 |
+# These modules are built using the same *FLAGS that were used to build |
226 |
+# dev-db/postgresql. The right thing to do is to ignore the current |
227 |
+# *FLAGS settings. |
228 |
+QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
229 |
+ |
230 |
+src_prepare() { |
231 |
+ eapply "${FILESDIR}/${PN}-2.2.0-arflags.patch" |
232 |
+ |
233 |
+ local AT_M4DIR="macros" |
234 |
+ eautoreconf |
235 |
+ |
236 |
+ postgres-multi_src_prepare |
237 |
+} |
238 |
+ |
239 |
+src_configure() { |
240 |
+ local myargs="" |
241 |
+ |
242 |
+ use gtk && myargs+=" --with-gui" |
243 |
+ |
244 |
+ use address-standardizer || myargs+=" --without-address-standardizer" |
245 |
+ use mapbox || myargs+=" --without-protobuf" |
246 |
+ use topology || myargs+=" --without-topology" |
247 |
+ |
248 |
+ postgres-multi_foreach econf ${myargs} |
249 |
+} |
250 |
+ |
251 |
+src_compile() { |
252 |
+ postgres-multi_foreach emake |
253 |
+ postgres-multi_foreach emake -C topology |
254 |
+ |
255 |
+ if use doc ; then |
256 |
+ postgres-multi_foreach emake comments |
257 |
+ postgres-multi_foreach emake cheatsheets |
258 |
+ postgres-multi_forbest emake -C doc html |
259 |
+ fi |
260 |
+} |
261 |
+ |
262 |
+src_install() { |
263 |
+ postgres-multi_foreach emake DESTDIR="${D}" install |
264 |
+ postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
265 |
+ postgres-multi_forbest dobin ./utils/postgis_restore.pl |
266 |
+ |
267 |
+ dodoc CREDITS TODO loader/README.* doc/*txt |
268 |
+ |
269 |
+ docinto topology |
270 |
+ dodoc topology/{TODO,README} |
271 |
+ |
272 |
+ if use doc ; then |
273 |
+ postgres-multi_foreach emake DESTDIR="${D}" comments-install |
274 |
+ |
275 |
+ docinto html |
276 |
+ postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
277 |
+ |
278 |
+ docinto html/images |
279 |
+ postgres-multi_forbest dodoc doc/html/images/* |
280 |
+ fi |
281 |
+ |
282 |
+ use static-libs || find "${ED}" -name '*.a' -delete |
283 |
+} |
284 |
+ |
285 |
+pkg_postinst() { |
286 |
+ ebegin "Refreshing PostgreSQL symlinks" |
287 |
+ postgresql-config update |
288 |
+ eend $? |
289 |
+ |
290 |
+ elog "To finish installing PostGIS, follow the directions detailed at:" |
291 |
+ elog "http://postgis.net/docs/manual-${PGIS}/postgis_installation.html#create_new_db_extensions" |
292 |
+} |
293 |
|
294 |
diff --git a/dev-db/postgis/postgis-3.0.0_alpha4.ebuild b/dev-db/postgis/postgis-3.0.0_alpha4.ebuild |
295 |
new file mode 100644 |
296 |
index 00000000000..4376ffab4a3 |
297 |
--- /dev/null |
298 |
+++ b/dev-db/postgis/postgis-3.0.0_alpha4.ebuild |
299 |
@@ -0,0 +1,123 @@ |
300 |
+# Copyright 1999-2019 Gentoo Authors |
301 |
+# Distributed under the terms of the GNU General Public License v2 |
302 |
+ |
303 |
+EAPI="6" |
304 |
+ |
305 |
+POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
306 |
+POSTGRES_USEDEP="server" |
307 |
+ |
308 |
+inherit autotools eutils postgres-multi versionator |
309 |
+ |
310 |
+MY_PV=$(replace_version_separator 3 '') |
311 |
+MY_P="${PN}-${MY_PV}" |
312 |
+S="${WORKDIR}/${MY_P}" |
313 |
+ |
314 |
+DESCRIPTION="Geographic Objects for PostgreSQL" |
315 |
+HOMEPAGE="http://postgis.net" |
316 |
+SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
317 |
+LICENSE="GPL-2" |
318 |
+SLOT="0" |
319 |
+KEYWORDS="" |
320 |
+IUSE="address-standardizer doc gtk static-libs mapbox test topology" |
321 |
+ |
322 |
+RDEPEND=" |
323 |
+ ${POSTGRES_DEP} |
324 |
+ dev-libs/json-c:= |
325 |
+ dev-libs/libxml2:2 |
326 |
+ >=sci-libs/geos-3.5.0 |
327 |
+ >=sci-libs/proj-4.6.0 |
328 |
+ >=sci-libs/gdal-1.10.0 |
329 |
+ address-standardizer? ( dev-libs/libpcre ) |
330 |
+ gtk? ( x11-libs/gtk+:2 ) |
331 |
+ mapbox? ( dev-libs/protobuf ) |
332 |
+" |
333 |
+ |
334 |
+DEPEND="${RDEPEND} |
335 |
+ doc? ( |
336 |
+ app-text/docbook-xsl-stylesheets |
337 |
+ app-text/docbook-xml-dtd:4.5 |
338 |
+ dev-libs/libxslt |
339 |
+ || ( |
340 |
+ media-gfx/imagemagick[png] |
341 |
+ media-gfx/graphicsmagick[imagemagick,png] |
342 |
+ ) |
343 |
+ ) |
344 |
+ virtual/pkgconfig |
345 |
+ test? ( dev-util/cunit ) |
346 |
+" |
347 |
+ |
348 |
+PGIS="$(get_version_component_range 1-2)" |
349 |
+ |
350 |
+REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
351 |
+ |
352 |
+# Needs a running psql instance, doesn't work out of the box |
353 |
+RESTRICT="test" |
354 |
+ |
355 |
+# These modules are built using the same *FLAGS that were used to build |
356 |
+# dev-db/postgresql. The right thing to do is to ignore the current |
357 |
+# *FLAGS settings. |
358 |
+QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
359 |
+ |
360 |
+src_prepare() { |
361 |
+ eapply "${FILESDIR}/${PN}-2.2.0-arflags.patch" |
362 |
+ |
363 |
+ local AT_M4DIR="macros" |
364 |
+ eautoreconf |
365 |
+ |
366 |
+ postgres-multi_src_prepare |
367 |
+} |
368 |
+ |
369 |
+src_configure() { |
370 |
+ local myargs="" |
371 |
+ |
372 |
+ use gtk && myargs+=" --with-gui" |
373 |
+ |
374 |
+ use address-standardizer || myargs+=" --without-address-standardizer" |
375 |
+ use mapbox || myargs+=" --without-protobuf" |
376 |
+ use topology || myargs+=" --without-topology" |
377 |
+ |
378 |
+ postgres-multi_foreach econf ${myargs} |
379 |
+} |
380 |
+ |
381 |
+src_compile() { |
382 |
+ postgres-multi_foreach emake |
383 |
+ postgres-multi_foreach emake -C topology |
384 |
+ |
385 |
+ if use doc ; then |
386 |
+ postgres-multi_foreach emake comments |
387 |
+ postgres-multi_foreach emake cheatsheets |
388 |
+ postgres-multi_forbest emake -C doc html |
389 |
+ fi |
390 |
+} |
391 |
+ |
392 |
+src_install() { |
393 |
+ postgres-multi_foreach emake DESTDIR="${D}" install |
394 |
+ postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
395 |
+ postgres-multi_forbest dobin ./utils/postgis_restore.pl |
396 |
+ |
397 |
+ dodoc CREDITS TODO loader/README.* doc/*txt |
398 |
+ |
399 |
+ docinto topology |
400 |
+ dodoc topology/{TODO,README} |
401 |
+ |
402 |
+ if use doc ; then |
403 |
+ postgres-multi_foreach emake DESTDIR="${D}" comments-install |
404 |
+ |
405 |
+ docinto html |
406 |
+ postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
407 |
+ |
408 |
+ docinto html/images |
409 |
+ postgres-multi_forbest dodoc doc/html/images/* |
410 |
+ fi |
411 |
+ |
412 |
+ use static-libs || find "${ED}" -name '*.a' -delete |
413 |
+} |
414 |
+ |
415 |
+pkg_postinst() { |
416 |
+ ebegin "Refreshing PostgreSQL symlinks" |
417 |
+ postgresql-config update |
418 |
+ eend $? |
419 |
+ |
420 |
+ elog "To finish installing PostGIS, follow the directions detailed at:" |
421 |
+ elog "http://postgis.net/docs/manual-${PGIS}/postgis_installation.html#create_new_db_extensions" |
422 |
+} |