1 |
commit: b1114c7e9c6911a99f1b99c48699e53f465ac15c |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 23 15:28:24 2021 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 23 15:28:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1114c7e |
7 |
|
8 |
dev-db/postgis: Cleanup |
9 |
|
10 |
Closes: https://bugs.gentoo.org/731104 |
11 |
Closes: https://bugs.gentoo.org/747544 |
12 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
13 |
|
14 |
dev-db/postgis/Manifest | 7 -- |
15 |
dev-db/postgis/metadata.xml | 3 - |
16 |
dev-db/postgis/postgis-2.5.3-r1.ebuild | 135 ------------------------- |
17 |
dev-db/postgis/postgis-2.5.4.ebuild | 137 ------------------------- |
18 |
dev-db/postgis/postgis-2.5.5.ebuild | 137 ------------------------- |
19 |
dev-db/postgis/postgis-3.0.0-r1.ebuild | 135 ------------------------- |
20 |
dev-db/postgis/postgis-3.0.1.ebuild | 135 ------------------------- |
21 |
dev-db/postgis/postgis-3.0.2.ebuild | 135 ------------------------- |
22 |
dev-db/postgis/postgis-3.0.3-r1.ebuild | 138 -------------------------- |
23 |
dev-db/postgis/postgis-3.1.0_alpha3-r1.ebuild | 138 -------------------------- |
24 |
10 files changed, 1100 deletions(-) |
25 |
|
26 |
diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest |
27 |
index 7d45c2f6ebb..31249fe6932 100644 |
28 |
--- a/dev-db/postgis/Manifest |
29 |
+++ b/dev-db/postgis/Manifest |
30 |
@@ -1,9 +1,2 @@ |
31 |
-DIST postgis-2.5.3.tar.gz 16424752 BLAKE2B 94c2ccd41eb88a39c6db48ad7f4d142742a1b0791e3abe57adb2c778406dcc8286afc6d55c80067e0b94a1300eff1c76a227d3cfd813e12541c715edeea11a9b SHA512 1c9f873ba8f8ff4aeae248c68c001eb4174416de1e00ce6a0d0c9ea129b475e887a83235027068d52f587ab95c549adbfaa7e5dccdda77855e39c55dac0fdc2d |
32 |
-DIST postgis-2.5.4.tar.gz 15882033 BLAKE2B 317e6f3857dce8b1c054b5cdb6c6b215b015b89266aeaa0187803b9355cdc3cbb62be89f36ffe29e2fcbc1e7b693a7f88fb23b5c172fcefea376f6afea3c064d SHA512 767c146245ae11545ce4e0764f9bd313cfdf2eed78c485c5aa5530517edb8e433bcdbaffcf4d92b0c0f3c997de9831b5e3beed7638fc3bc773f264b45e5d8ab4 |
33 |
-DIST postgis-2.5.5.tar.gz 15936193 BLAKE2B df5d0e51bb5042a72ecd070273c4a87738b2ba482993d39948137c8ba2da0a47845393023a6b4e45f01a91d37ef8fc9f89302203c639fb32b4451cb905fd08b3 SHA512 407c9ddf5b73aaa8d36ec606f974b86c16c9ed4aafbfd4a0b7f96cfc7a9f8a8fa38528cb4787bdd50de479416dbfb09934a85d189463cec549da66863060292e |
34 |
-DIST postgis-3.0.0.tar.gz 17359802 BLAKE2B aa83bdc2d1950c517f99cbdd877eb7261f6c29ce2cbd9f67f1e606c290080fc3d02ab0b7ceb68ce852e0c0d3d4b7753f03cb5b0921da164ab65d68e23d1df538 SHA512 82c233681fa6444686f9979768e5d6d3a9b6ca9cbd4fc2b14bd0a5d1269a8d0f45ee067e64984077063407c7abc13fa0e37a29928d7ccbfe3a61b694f592bed2 |
35 |
-DIST postgis-3.0.1.tar.gz 16839923 BLAKE2B 6888fa49562ab71929e92007de305fd6610c74988faaf08fbeabbf1d13029ebbb5da788826dc63d03ae5c873fbe408ae6c0f108b2975755d2b13bc69bed53558 SHA512 5ebce2303d672bb342f7fae6cade08140c8a687fc38e82e5b41eebb8465cdf3dc7bdbeae53b1179df8112a01842dd65f362fc107b381e2a1fa6e161b77a50227 |
36 |
-DIST postgis-3.0.2.tar.gz 16855299 BLAKE2B 99ee872abf52651ab53e4dd6203d99d428d366f60b949fabcae938980f5c17809872e9b23f7ab1f3480a60242e735c926e54122492e1b8966ed8c748eb7c4fe6 SHA512 763d7818d195eca0b07d94a864b13da68e5734ae57b7c93c285dc2d0fa4a155715745e5da67e1a3bca49d8d4f89dc495ed3912c079722290ce9f220afca33f4d |
37 |
DIST postgis-3.0.3.tar.gz 16871696 BLAKE2B 891f814271de9193cd17013d6d971a752d2e984cb0f68b05510450adef97fc96827e3d1a1c7e4fa4cf79a5d15eb3f74b32e6e9a8db1947f7bad7c2b23656bc8f SHA512 478f0971e18c2a1bd651c9bf7b995236aad32fda037762505cf8ac9e67a4e40917436248c1e62827a1a6da96c15c4ae8d0b606d548fa080cdff453642b897115 |
38 |
DIST postgis-3.1.0.tar.gz 17262134 BLAKE2B dbc6edde826328b84ca7d6cc9329d648c7874d51528252759499131d7ad5dbc1a7a4ef881054f2fa1fc255810157270dc1c0ae0e2ea24ec702f06b9fd5f6dfed SHA512 c5b063ff7cbe855ab6ce4104d170b27eea04ae632fd6fcb8de38b14699296a8e0c9ce06bfb48ab14cba51b7a1b3f7e0a3996d9377a954dfc39fd68fe3f839e8f |
39 |
-DIST postgis-3.1.0alpha3.tar.gz 17197128 BLAKE2B f3b777efa8542b82db6031fa77a5728be94689542b45e4515887306cd0ae42cd9d802eae94b07e5a70f308e82fe6afc49a29f43ad2c302d9913f00797118764c SHA512 758b688aa01babc5ac9cc703d3d64fd751639425df7e1a2aa5bb72f1707a8279f87e7b3d84e23f465a51d08787858e0eb54e0afc38039d69ddfe7668e2dce256 |
40 |
|
41 |
diff --git a/dev-db/postgis/metadata.xml b/dev-db/postgis/metadata.xml |
42 |
index 079d84079f2..8f4a077086e 100644 |
43 |
--- a/dev-db/postgis/metadata.xml |
44 |
+++ b/dev-db/postgis/metadata.xml |
45 |
@@ -16,9 +16,6 @@ |
46 |
<flag name="gtk"> |
47 |
Build graphical interface for shp2pgsql (shp2pgsql-gui) |
48 |
</flag> |
49 |
- <flag name="mapbox"> |
50 |
- Add capability to transform geometry into Mapbox Vector Tile |
51 |
- </flag> |
52 |
<flag name="topology"> |
53 |
Build topology spatial types and functions |
54 |
</flag> |
55 |
|
56 |
diff --git a/dev-db/postgis/postgis-2.5.3-r1.ebuild b/dev-db/postgis/postgis-2.5.3-r1.ebuild |
57 |
deleted file mode 100644 |
58 |
index 540d66ffadb..00000000000 |
59 |
--- a/dev-db/postgis/postgis-2.5.3-r1.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,135 +0,0 @@ |
62 |
-# Copyright 1999-2020 Gentoo Authors |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-EAPI=6 |
66 |
- |
67 |
-POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
68 |
-POSTGRES_USEDEP="server" |
69 |
-inherit autotools eapi7-ver postgres-multi |
70 |
- |
71 |
-MY_P="${PN}-$(ver_rs 3 '')" |
72 |
- |
73 |
-if [[ ${PV} = *9999* ]] ; then |
74 |
- inherit git-r3 |
75 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
76 |
-else |
77 |
- PGIS="$(ver_cut 1-2)" |
78 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
79 |
- KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
80 |
-fi |
81 |
- |
82 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
83 |
-HOMEPAGE="https://postgis.net" |
84 |
- |
85 |
-S="${WORKDIR}/${MY_P}" |
86 |
- |
87 |
-LICENSE="GPL-2" |
88 |
-SLOT="0" |
89 |
-IUSE="address-standardizer doc gtk mapbox static-libs test topology" |
90 |
- |
91 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
92 |
- |
93 |
-# Needs a running psql instance, doesn't work out of the box |
94 |
-RESTRICT="test" |
95 |
- |
96 |
-RDEPEND="${POSTGRES_DEP} |
97 |
- dev-libs/json-c:= |
98 |
- dev-libs/libxml2:2 |
99 |
- >=sci-libs/geos-3.5.0 |
100 |
- >=sci-libs/proj-4.6.0:= |
101 |
- >=sci-libs/gdal-1.10.0 |
102 |
- address-standardizer? ( dev-libs/libpcre ) |
103 |
- gtk? ( x11-libs/gtk+:2 ) |
104 |
- mapbox? ( dev-libs/protobuf-c:= ) |
105 |
-" |
106 |
-DEPEND="${RDEPEND} |
107 |
- virtual/pkgconfig |
108 |
- doc? ( |
109 |
- app-text/docbook-xsl-stylesheets |
110 |
- app-text/docbook-xml-dtd:4.5 |
111 |
- dev-libs/libxslt |
112 |
- virtual/imagemagick-tools[png] |
113 |
- ) |
114 |
- test? ( dev-util/cunit ) |
115 |
-" |
116 |
- |
117 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
118 |
- |
119 |
-src_prepare() { |
120 |
- default |
121 |
- |
122 |
- if [[ ${PV} = *9999* ]] ; then |
123 |
- source "${S}"/Version.config |
124 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
125 |
- fi |
126 |
- |
127 |
- # These modules are built using the same *FLAGS that were used to build |
128 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
129 |
- # *FLAGS settings. |
130 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
131 |
- |
132 |
- local AT_M4DIR="macros" |
133 |
- eautoreconf |
134 |
- |
135 |
- postgres-multi_src_prepare |
136 |
-} |
137 |
- |
138 |
-src_configure() { |
139 |
- local myeconfargs=( |
140 |
- $(use_with address-standardizer) |
141 |
- $(use_with gtk gui) |
142 |
- $(use_with mapbox protobuf) |
143 |
- $(use_with topology) |
144 |
- ) |
145 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
146 |
-} |
147 |
- |
148 |
-src_compile() { |
149 |
- postgres-multi_foreach emake |
150 |
- postgres-multi_foreach emake -C topology |
151 |
- |
152 |
- if use doc ; then |
153 |
- postgres-multi_foreach emake comments |
154 |
- postgres-multi_foreach emake cheatsheets |
155 |
- postgres-multi_forbest emake -C doc html |
156 |
- fi |
157 |
-} |
158 |
- |
159 |
-src_install() { |
160 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
161 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
162 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
163 |
- |
164 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
165 |
- |
166 |
- docinto topology |
167 |
- dodoc topology/{TODO,README} |
168 |
- |
169 |
- if use doc ; then |
170 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
171 |
- |
172 |
- docinto html |
173 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
174 |
- |
175 |
- docinto html/images |
176 |
- postgres-multi_forbest dodoc doc/html/images/* |
177 |
- fi |
178 |
- |
179 |
- use static-libs || find "${ED}" -name '*.a' -delete |
180 |
-} |
181 |
- |
182 |
-pkg_postinst() { |
183 |
- ebegin "Refreshing PostgreSQL symlinks" |
184 |
- postgresql-config update |
185 |
- eend $? |
186 |
- |
187 |
- local base_uri="https://postgis.net/docs/manual-" |
188 |
- if [[ ${PV} = *9999* ]] ; then |
189 |
- base_uri+="dev" |
190 |
- else |
191 |
- base_uri+="${PGIS}" |
192 |
- fi |
193 |
- |
194 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
195 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
196 |
-} |
197 |
|
198 |
diff --git a/dev-db/postgis/postgis-2.5.4.ebuild b/dev-db/postgis/postgis-2.5.4.ebuild |
199 |
deleted file mode 100644 |
200 |
index 1cdbc058b8d..00000000000 |
201 |
--- a/dev-db/postgis/postgis-2.5.4.ebuild |
202 |
+++ /dev/null |
203 |
@@ -1,137 +0,0 @@ |
204 |
-# Copyright 1999-2020 Gentoo Authors |
205 |
-# Distributed under the terms of the GNU General Public License v2 |
206 |
- |
207 |
-EAPI=7 |
208 |
- |
209 |
-POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
210 |
-POSTGRES_USEDEP="server" |
211 |
-inherit autotools postgres-multi |
212 |
- |
213 |
-MY_P="${PN}-$(ver_rs 3 '')" |
214 |
- |
215 |
-if [[ ${PV} = *9999* ]] ; then |
216 |
- inherit git-r3 |
217 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
218 |
-else |
219 |
- PGIS="$(ver_cut 1-2)" |
220 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
221 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
222 |
-fi |
223 |
- |
224 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
225 |
-HOMEPAGE="https://postgis.net" |
226 |
- |
227 |
-S="${WORKDIR}/${MY_P}" |
228 |
- |
229 |
-LICENSE="GPL-2" |
230 |
-SLOT="0" |
231 |
-IUSE="address-standardizer doc gtk mapbox static-libs test topology" |
232 |
- |
233 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
234 |
- |
235 |
-# Needs a running psql instance, doesn't work out of the box |
236 |
-RESTRICT="test" |
237 |
- |
238 |
-RDEPEND="${POSTGRES_DEP} |
239 |
- dev-libs/json-c:= |
240 |
- dev-libs/libxml2:2 |
241 |
- dev-libs/protobuf-c |
242 |
- >=sci-libs/geos-3.5.0 |
243 |
- >=sci-libs/proj-4.6.0:= |
244 |
- >=sci-libs/gdal-1.10.0 |
245 |
- address-standardizer? ( dev-libs/libpcre ) |
246 |
- gtk? ( x11-libs/gtk+:2 ) |
247 |
- mapbox? ( dev-libs/protobuf-c:= ) |
248 |
-" |
249 |
-DEPEND="${RDEPEND} |
250 |
- virtual/pkgconfig |
251 |
- doc? ( |
252 |
- app-text/docbook-xsl-stylesheets |
253 |
- app-text/docbook-xml-dtd:4.5 |
254 |
- dev-libs/libxslt |
255 |
- virtual/imagemagick-tools[png] |
256 |
- ) |
257 |
- test? ( dev-util/cunit ) |
258 |
-" |
259 |
- |
260 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
261 |
- |
262 |
-src_prepare() { |
263 |
- default |
264 |
- |
265 |
- if [[ ${PV} = *9999* ]] ; then |
266 |
- source "${S}"/Version.config |
267 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
268 |
- fi |
269 |
- |
270 |
- # These modules are built using the same *FLAGS that were used to build |
271 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
272 |
- # *FLAGS settings. |
273 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
274 |
- |
275 |
- local AT_M4DIR="macros" |
276 |
- eautoreconf |
277 |
- |
278 |
- postgres-multi_src_prepare |
279 |
-} |
280 |
- |
281 |
-src_configure() { |
282 |
- local myeconfargs=( |
283 |
- --with-protobuf |
284 |
- $(use_with address-standardizer) |
285 |
- $(use_with gtk gui) |
286 |
- $(use_with mapbox) |
287 |
- $(use_with topology) |
288 |
- ) |
289 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
290 |
-} |
291 |
- |
292 |
-src_compile() { |
293 |
- postgres-multi_foreach emake |
294 |
- postgres-multi_foreach emake -C topology |
295 |
- |
296 |
- if use doc ; then |
297 |
- postgres-multi_foreach emake comments |
298 |
- postgres-multi_foreach emake cheatsheets |
299 |
- postgres-multi_forbest emake -C doc html |
300 |
- fi |
301 |
-} |
302 |
- |
303 |
-src_install() { |
304 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
305 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
306 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
307 |
- |
308 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
309 |
- |
310 |
- docinto topology |
311 |
- dodoc topology/{TODO,README} |
312 |
- |
313 |
- if use doc ; then |
314 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
315 |
- |
316 |
- docinto html |
317 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
318 |
- |
319 |
- docinto html/images |
320 |
- postgres-multi_forbest dodoc doc/html/images/* |
321 |
- fi |
322 |
- |
323 |
- use static-libs || find "${ED}" -name '*.a' -delete |
324 |
-} |
325 |
- |
326 |
-pkg_postinst() { |
327 |
- ebegin "Refreshing PostgreSQL symlinks" |
328 |
- postgresql-config update |
329 |
- eend $? |
330 |
- |
331 |
- local base_uri="https://postgis.net/docs/manual-" |
332 |
- if [[ ${PV} = *9999* ]] ; then |
333 |
- base_uri+="dev" |
334 |
- else |
335 |
- base_uri+="${PGIS}" |
336 |
- fi |
337 |
- |
338 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
339 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
340 |
-} |
341 |
|
342 |
diff --git a/dev-db/postgis/postgis-2.5.5.ebuild b/dev-db/postgis/postgis-2.5.5.ebuild |
343 |
deleted file mode 100644 |
344 |
index 1cdbc058b8d..00000000000 |
345 |
--- a/dev-db/postgis/postgis-2.5.5.ebuild |
346 |
+++ /dev/null |
347 |
@@ -1,137 +0,0 @@ |
348 |
-# Copyright 1999-2020 Gentoo Authors |
349 |
-# Distributed under the terms of the GNU General Public License v2 |
350 |
- |
351 |
-EAPI=7 |
352 |
- |
353 |
-POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
354 |
-POSTGRES_USEDEP="server" |
355 |
-inherit autotools postgres-multi |
356 |
- |
357 |
-MY_P="${PN}-$(ver_rs 3 '')" |
358 |
- |
359 |
-if [[ ${PV} = *9999* ]] ; then |
360 |
- inherit git-r3 |
361 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
362 |
-else |
363 |
- PGIS="$(ver_cut 1-2)" |
364 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
365 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
366 |
-fi |
367 |
- |
368 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
369 |
-HOMEPAGE="https://postgis.net" |
370 |
- |
371 |
-S="${WORKDIR}/${MY_P}" |
372 |
- |
373 |
-LICENSE="GPL-2" |
374 |
-SLOT="0" |
375 |
-IUSE="address-standardizer doc gtk mapbox static-libs test topology" |
376 |
- |
377 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
378 |
- |
379 |
-# Needs a running psql instance, doesn't work out of the box |
380 |
-RESTRICT="test" |
381 |
- |
382 |
-RDEPEND="${POSTGRES_DEP} |
383 |
- dev-libs/json-c:= |
384 |
- dev-libs/libxml2:2 |
385 |
- dev-libs/protobuf-c |
386 |
- >=sci-libs/geos-3.5.0 |
387 |
- >=sci-libs/proj-4.6.0:= |
388 |
- >=sci-libs/gdal-1.10.0 |
389 |
- address-standardizer? ( dev-libs/libpcre ) |
390 |
- gtk? ( x11-libs/gtk+:2 ) |
391 |
- mapbox? ( dev-libs/protobuf-c:= ) |
392 |
-" |
393 |
-DEPEND="${RDEPEND} |
394 |
- virtual/pkgconfig |
395 |
- doc? ( |
396 |
- app-text/docbook-xsl-stylesheets |
397 |
- app-text/docbook-xml-dtd:4.5 |
398 |
- dev-libs/libxslt |
399 |
- virtual/imagemagick-tools[png] |
400 |
- ) |
401 |
- test? ( dev-util/cunit ) |
402 |
-" |
403 |
- |
404 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
405 |
- |
406 |
-src_prepare() { |
407 |
- default |
408 |
- |
409 |
- if [[ ${PV} = *9999* ]] ; then |
410 |
- source "${S}"/Version.config |
411 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
412 |
- fi |
413 |
- |
414 |
- # These modules are built using the same *FLAGS that were used to build |
415 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
416 |
- # *FLAGS settings. |
417 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
418 |
- |
419 |
- local AT_M4DIR="macros" |
420 |
- eautoreconf |
421 |
- |
422 |
- postgres-multi_src_prepare |
423 |
-} |
424 |
- |
425 |
-src_configure() { |
426 |
- local myeconfargs=( |
427 |
- --with-protobuf |
428 |
- $(use_with address-standardizer) |
429 |
- $(use_with gtk gui) |
430 |
- $(use_with mapbox) |
431 |
- $(use_with topology) |
432 |
- ) |
433 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
434 |
-} |
435 |
- |
436 |
-src_compile() { |
437 |
- postgres-multi_foreach emake |
438 |
- postgres-multi_foreach emake -C topology |
439 |
- |
440 |
- if use doc ; then |
441 |
- postgres-multi_foreach emake comments |
442 |
- postgres-multi_foreach emake cheatsheets |
443 |
- postgres-multi_forbest emake -C doc html |
444 |
- fi |
445 |
-} |
446 |
- |
447 |
-src_install() { |
448 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
449 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
450 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
451 |
- |
452 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
453 |
- |
454 |
- docinto topology |
455 |
- dodoc topology/{TODO,README} |
456 |
- |
457 |
- if use doc ; then |
458 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
459 |
- |
460 |
- docinto html |
461 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
462 |
- |
463 |
- docinto html/images |
464 |
- postgres-multi_forbest dodoc doc/html/images/* |
465 |
- fi |
466 |
- |
467 |
- use static-libs || find "${ED}" -name '*.a' -delete |
468 |
-} |
469 |
- |
470 |
-pkg_postinst() { |
471 |
- ebegin "Refreshing PostgreSQL symlinks" |
472 |
- postgresql-config update |
473 |
- eend $? |
474 |
- |
475 |
- local base_uri="https://postgis.net/docs/manual-" |
476 |
- if [[ ${PV} = *9999* ]] ; then |
477 |
- base_uri+="dev" |
478 |
- else |
479 |
- base_uri+="${PGIS}" |
480 |
- fi |
481 |
- |
482 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
483 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
484 |
-} |
485 |
|
486 |
diff --git a/dev-db/postgis/postgis-3.0.0-r1.ebuild b/dev-db/postgis/postgis-3.0.0-r1.ebuild |
487 |
deleted file mode 100644 |
488 |
index 3a6f01adf2e..00000000000 |
489 |
--- a/dev-db/postgis/postgis-3.0.0-r1.ebuild |
490 |
+++ /dev/null |
491 |
@@ -1,135 +0,0 @@ |
492 |
-# Copyright 1999-2020 Gentoo Authors |
493 |
-# Distributed under the terms of the GNU General Public License v2 |
494 |
- |
495 |
-EAPI=6 |
496 |
- |
497 |
-POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
498 |
-POSTGRES_USEDEP="server" |
499 |
-inherit autotools eapi7-ver postgres-multi |
500 |
- |
501 |
-MY_P="${PN}-$(ver_rs 3 '')" |
502 |
- |
503 |
-if [[ ${PV} = *9999* ]] ; then |
504 |
- inherit git-r3 |
505 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
506 |
-else |
507 |
- PGIS="$(ver_cut 1-2)" |
508 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
509 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
510 |
-fi |
511 |
- |
512 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
513 |
-HOMEPAGE="https://postgis.net" |
514 |
- |
515 |
-S="${WORKDIR}/${MY_P}" |
516 |
- |
517 |
-LICENSE="GPL-2" |
518 |
-SLOT="0" |
519 |
-IUSE="address-standardizer doc gtk static-libs test topology" |
520 |
- |
521 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
522 |
- |
523 |
-# Needs a running psql instance, doesn't work out of the box |
524 |
-RESTRICT="test" |
525 |
- |
526 |
-RDEPEND="${POSTGRES_DEP} |
527 |
- dev-libs/json-c:= |
528 |
- dev-libs/libxml2:2 |
529 |
- dev-libs/protobuf-c:= |
530 |
- >=sci-libs/geos-3.6.0 |
531 |
- >=sci-libs/proj-4.9.0:= |
532 |
- >=sci-libs/gdal-1.10.0:= |
533 |
- address-standardizer? ( dev-libs/libpcre ) |
534 |
- gtk? ( x11-libs/gtk+:2 ) |
535 |
-" |
536 |
-DEPEND="${RDEPEND} |
537 |
- virtual/pkgconfig |
538 |
- doc? ( |
539 |
- app-text/docbook-xsl-stylesheets |
540 |
- app-text/docbook-xml-dtd:4.5 |
541 |
- dev-libs/libxslt |
542 |
- virtual/imagemagick-tools[png] |
543 |
- ) |
544 |
- test? ( dev-util/cunit ) |
545 |
-" |
546 |
- |
547 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
548 |
- |
549 |
-src_prepare() { |
550 |
- default |
551 |
- |
552 |
- if [[ ${PV} = *9999* ]] ; then |
553 |
- source "${S}"/Version.config |
554 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
555 |
- fi |
556 |
- |
557 |
- # These modules are built using the same *FLAGS that were used to build |
558 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
559 |
- # *FLAGS settings. |
560 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
561 |
- |
562 |
- local AT_M4DIR="macros" |
563 |
- eautoreconf |
564 |
- |
565 |
- postgres-multi_src_prepare |
566 |
-} |
567 |
- |
568 |
-src_configure() { |
569 |
- local myeconfargs=( |
570 |
- --with-protobuf # funky misdetection if enabled but --without-protobuf |
571 |
- $(use_with address-standardizer) |
572 |
- $(use_with gtk gui) |
573 |
- $(use_with topology) |
574 |
- ) |
575 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
576 |
-} |
577 |
- |
578 |
-src_compile() { |
579 |
- postgres-multi_foreach emake |
580 |
- postgres-multi_foreach emake -C topology |
581 |
- |
582 |
- if use doc ; then |
583 |
- postgres-multi_foreach emake comments |
584 |
- postgres-multi_foreach emake cheatsheets |
585 |
- postgres-multi_forbest emake -C doc html |
586 |
- fi |
587 |
-} |
588 |
- |
589 |
-src_install() { |
590 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
591 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
592 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
593 |
- |
594 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
595 |
- |
596 |
- docinto topology |
597 |
- dodoc topology/{TODO,README} |
598 |
- |
599 |
- if use doc ; then |
600 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
601 |
- |
602 |
- docinto html |
603 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
604 |
- |
605 |
- docinto html/images |
606 |
- postgres-multi_forbest dodoc doc/html/images/* |
607 |
- fi |
608 |
- |
609 |
- use static-libs || find "${ED}" -name '*.a' -delete |
610 |
-} |
611 |
- |
612 |
-pkg_postinst() { |
613 |
- ebegin "Refreshing PostgreSQL symlinks" |
614 |
- postgresql-config update |
615 |
- eend $? |
616 |
- |
617 |
- local base_uri="https://postgis.net/docs/manual-" |
618 |
- if [[ ${PV} = *9999* ]] ; then |
619 |
- base_uri+="dev" |
620 |
- else |
621 |
- base_uri+="${PGIS}" |
622 |
- fi |
623 |
- |
624 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
625 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
626 |
-} |
627 |
|
628 |
diff --git a/dev-db/postgis/postgis-3.0.1.ebuild b/dev-db/postgis/postgis-3.0.1.ebuild |
629 |
deleted file mode 100644 |
630 |
index b272f3d2031..00000000000 |
631 |
--- a/dev-db/postgis/postgis-3.0.1.ebuild |
632 |
+++ /dev/null |
633 |
@@ -1,135 +0,0 @@ |
634 |
-# Copyright 1999-2020 Gentoo Authors |
635 |
-# Distributed under the terms of the GNU General Public License v2 |
636 |
- |
637 |
-EAPI=7 |
638 |
- |
639 |
-POSTGRES_COMPAT=( 9.{5..6} {10..12} ) |
640 |
-POSTGRES_USEDEP="server" |
641 |
-inherit autotools postgres-multi |
642 |
- |
643 |
-MY_P="${PN}-$(ver_rs 3 '')" |
644 |
- |
645 |
-if [[ ${PV} = *9999* ]] ; then |
646 |
- inherit git-r3 |
647 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
648 |
-else |
649 |
- PGIS="$(ver_cut 1-2)" |
650 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
651 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
652 |
-fi |
653 |
- |
654 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
655 |
-HOMEPAGE="https://postgis.net" |
656 |
- |
657 |
-S="${WORKDIR}/${MY_P}" |
658 |
- |
659 |
-LICENSE="GPL-2" |
660 |
-SLOT="0" |
661 |
-IUSE="address-standardizer doc gtk static-libs test topology" |
662 |
- |
663 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
664 |
- |
665 |
-# Needs a running psql instance, doesn't work out of the box |
666 |
-RESTRICT="test" |
667 |
- |
668 |
-RDEPEND="${POSTGRES_DEP} |
669 |
- dev-libs/json-c:= |
670 |
- dev-libs/libxml2:2 |
671 |
- dev-libs/protobuf-c:= |
672 |
- >=sci-libs/geos-3.6.0 |
673 |
- >=sci-libs/proj-4.9.0:= |
674 |
- >=sci-libs/gdal-1.10.0:= |
675 |
- address-standardizer? ( dev-libs/libpcre ) |
676 |
- gtk? ( x11-libs/gtk+:2 ) |
677 |
-" |
678 |
-DEPEND="${RDEPEND} |
679 |
- virtual/pkgconfig |
680 |
- doc? ( |
681 |
- app-text/docbook-xsl-stylesheets |
682 |
- app-text/docbook-xml-dtd:4.5 |
683 |
- dev-libs/libxslt |
684 |
- virtual/imagemagick-tools[png] |
685 |
- ) |
686 |
- test? ( dev-util/cunit ) |
687 |
-" |
688 |
- |
689 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
690 |
- |
691 |
-src_prepare() { |
692 |
- default |
693 |
- |
694 |
- if [[ ${PV} = *9999* ]] ; then |
695 |
- source "${S}"/Version.config |
696 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
697 |
- fi |
698 |
- |
699 |
- # These modules are built using the same *FLAGS that were used to build |
700 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
701 |
- # *FLAGS settings. |
702 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
703 |
- |
704 |
- local AT_M4DIR="macros" |
705 |
- eautoreconf |
706 |
- |
707 |
- postgres-multi_src_prepare |
708 |
-} |
709 |
- |
710 |
-src_configure() { |
711 |
- local myeconfargs=( |
712 |
- --with-protobuf # funky misdetection if enabled but --without-protobuf |
713 |
- $(use_with address-standardizer) |
714 |
- $(use_with gtk gui) |
715 |
- $(use_with topology) |
716 |
- ) |
717 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
718 |
-} |
719 |
- |
720 |
-src_compile() { |
721 |
- postgres-multi_foreach emake |
722 |
- postgres-multi_foreach emake -C topology |
723 |
- |
724 |
- if use doc ; then |
725 |
- postgres-multi_foreach emake comments |
726 |
- postgres-multi_foreach emake cheatsheets |
727 |
- postgres-multi_forbest emake -C doc html |
728 |
- fi |
729 |
-} |
730 |
- |
731 |
-src_install() { |
732 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
733 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
734 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
735 |
- |
736 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
737 |
- |
738 |
- docinto topology |
739 |
- dodoc topology/{TODO,README} |
740 |
- |
741 |
- if use doc ; then |
742 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
743 |
- |
744 |
- docinto html |
745 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
746 |
- |
747 |
- docinto html/images |
748 |
- postgres-multi_forbest dodoc doc/html/images/* |
749 |
- fi |
750 |
- |
751 |
- use static-libs || find "${ED}" -name '*.a' -delete |
752 |
-} |
753 |
- |
754 |
-pkg_postinst() { |
755 |
- ebegin "Refreshing PostgreSQL symlinks" |
756 |
- postgresql-config update |
757 |
- eend $? |
758 |
- |
759 |
- local base_uri="https://postgis.net/docs/manual-" |
760 |
- if [[ ${PV} = *9999* ]] ; then |
761 |
- base_uri+="dev" |
762 |
- else |
763 |
- base_uri+="${PGIS}" |
764 |
- fi |
765 |
- |
766 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
767 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
768 |
-} |
769 |
|
770 |
diff --git a/dev-db/postgis/postgis-3.0.2.ebuild b/dev-db/postgis/postgis-3.0.2.ebuild |
771 |
deleted file mode 100644 |
772 |
index 3e05e061edf..00000000000 |
773 |
--- a/dev-db/postgis/postgis-3.0.2.ebuild |
774 |
+++ /dev/null |
775 |
@@ -1,135 +0,0 @@ |
776 |
-# Copyright 1999-2020 Gentoo Authors |
777 |
-# Distributed under the terms of the GNU General Public License v2 |
778 |
- |
779 |
-EAPI=7 |
780 |
- |
781 |
-POSTGRES_COMPAT=( 9.{5..6} {10..13} ) |
782 |
-POSTGRES_USEDEP="server" |
783 |
-inherit autotools postgres-multi |
784 |
- |
785 |
-MY_P="${PN}-$(ver_rs 3 '')" |
786 |
- |
787 |
-if [[ ${PV} = *9999* ]] ; then |
788 |
- inherit git-r3 |
789 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
790 |
-else |
791 |
- PGIS="$(ver_cut 1-2)" |
792 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
793 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
794 |
-fi |
795 |
- |
796 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
797 |
-HOMEPAGE="https://postgis.net" |
798 |
- |
799 |
-S="${WORKDIR}/${MY_P}" |
800 |
- |
801 |
-LICENSE="GPL-2" |
802 |
-SLOT="0" |
803 |
-IUSE="address-standardizer doc gtk static-libs test topology" |
804 |
- |
805 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
806 |
- |
807 |
-# Needs a running psql instance, doesn't work out of the box |
808 |
-RESTRICT="test" |
809 |
- |
810 |
-RDEPEND="${POSTGRES_DEP} |
811 |
- dev-libs/json-c:= |
812 |
- dev-libs/libxml2:2 |
813 |
- dev-libs/protobuf-c:= |
814 |
- >=sci-libs/geos-3.6.0 |
815 |
- >=sci-libs/proj-4.9.0:= |
816 |
- >=sci-libs/gdal-1.10.0:= |
817 |
- address-standardizer? ( dev-libs/libpcre ) |
818 |
- gtk? ( x11-libs/gtk+:2 ) |
819 |
-" |
820 |
-DEPEND="${RDEPEND} |
821 |
- virtual/pkgconfig |
822 |
- doc? ( |
823 |
- app-text/docbook-xsl-stylesheets |
824 |
- app-text/docbook-xml-dtd:4.5 |
825 |
- dev-libs/libxslt |
826 |
- virtual/imagemagick-tools[png] |
827 |
- ) |
828 |
- test? ( dev-util/cunit ) |
829 |
-" |
830 |
- |
831 |
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-arflags.patch" ) |
832 |
- |
833 |
-src_prepare() { |
834 |
- default |
835 |
- |
836 |
- if [[ ${PV} = *9999* ]] ; then |
837 |
- source "${S}"/Version.config |
838 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
839 |
- fi |
840 |
- |
841 |
- # These modules are built using the same *FLAGS that were used to build |
842 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
843 |
- # *FLAGS settings. |
844 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
845 |
- |
846 |
- local AT_M4DIR="macros" |
847 |
- eautoreconf |
848 |
- |
849 |
- postgres-multi_src_prepare |
850 |
-} |
851 |
- |
852 |
-src_configure() { |
853 |
- local myeconfargs=( |
854 |
- --with-protobuf # funky misdetection if enabled but --without-protobuf |
855 |
- $(use_with address-standardizer) |
856 |
- $(use_with gtk gui) |
857 |
- $(use_with topology) |
858 |
- ) |
859 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
860 |
-} |
861 |
- |
862 |
-src_compile() { |
863 |
- postgres-multi_foreach emake |
864 |
- postgres-multi_foreach emake -C topology |
865 |
- |
866 |
- if use doc ; then |
867 |
- postgres-multi_foreach emake comments |
868 |
- postgres-multi_foreach emake cheatsheets |
869 |
- postgres-multi_forbest emake -C doc html |
870 |
- fi |
871 |
-} |
872 |
- |
873 |
-src_install() { |
874 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
875 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
876 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
877 |
- |
878 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
879 |
- |
880 |
- docinto topology |
881 |
- dodoc topology/{TODO,README} |
882 |
- |
883 |
- if use doc ; then |
884 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
885 |
- |
886 |
- docinto html |
887 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
888 |
- |
889 |
- docinto html/images |
890 |
- postgres-multi_forbest dodoc doc/html/images/* |
891 |
- fi |
892 |
- |
893 |
- use static-libs || find "${ED}" -name '*.a' -delete |
894 |
-} |
895 |
- |
896 |
-pkg_postinst() { |
897 |
- ebegin "Refreshing PostgreSQL symlinks" |
898 |
- postgresql-config update |
899 |
- eend $? |
900 |
- |
901 |
- local base_uri="https://postgis.net/docs/manual-" |
902 |
- if [[ ${PV} = *9999* ]] ; then |
903 |
- base_uri+="dev" |
904 |
- else |
905 |
- base_uri+="${PGIS}" |
906 |
- fi |
907 |
- |
908 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
909 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
910 |
-} |
911 |
|
912 |
diff --git a/dev-db/postgis/postgis-3.0.3-r1.ebuild b/dev-db/postgis/postgis-3.0.3-r1.ebuild |
913 |
deleted file mode 100644 |
914 |
index ef6c9bc20db..00000000000 |
915 |
--- a/dev-db/postgis/postgis-3.0.3-r1.ebuild |
916 |
+++ /dev/null |
917 |
@@ -1,138 +0,0 @@ |
918 |
-# Copyright 1999-2020 Gentoo Authors |
919 |
-# Distributed under the terms of the GNU General Public License v2 |
920 |
- |
921 |
-EAPI=7 |
922 |
- |
923 |
-POSTGRES_COMPAT=( 9.{5..6} {10..13} ) |
924 |
-POSTGRES_USEDEP="server" |
925 |
-inherit autotools postgres-multi |
926 |
- |
927 |
-MY_P="${PN}-$(ver_rs 3 '')" |
928 |
- |
929 |
-if [[ ${PV} = *9999* ]] ; then |
930 |
- inherit git-r3 |
931 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
932 |
-else |
933 |
- PGIS="$(ver_cut 1-2)" |
934 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
935 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
936 |
-fi |
937 |
- |
938 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
939 |
-HOMEPAGE="https://postgis.net" |
940 |
- |
941 |
-S="${WORKDIR}/${MY_P}" |
942 |
- |
943 |
-LICENSE="GPL-2" |
944 |
-SLOT="0" |
945 |
-IUSE="address-standardizer doc gtk static-libs test topology" |
946 |
- |
947 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
948 |
- |
949 |
-# Needs a running psql instance, doesn't work out of the box |
950 |
-RESTRICT="test" |
951 |
- |
952 |
-RDEPEND="${POSTGRES_DEP} |
953 |
- dev-libs/json-c:= |
954 |
- dev-libs/libxml2:2 |
955 |
- dev-libs/protobuf-c:= |
956 |
- >=sci-libs/geos-3.6.0 |
957 |
- >=sci-libs/proj-4.9.0:= |
958 |
- >=sci-libs/gdal-1.10.0:= |
959 |
- address-standardizer? ( dev-libs/libpcre ) |
960 |
- gtk? ( x11-libs/gtk+:2 ) |
961 |
-" |
962 |
-DEPEND="${RDEPEND} |
963 |
- virtual/pkgconfig |
964 |
- doc? ( |
965 |
- app-text/docbook-xsl-stylesheets |
966 |
- app-text/docbook-xml-dtd:4.5 |
967 |
- dev-libs/libxslt |
968 |
- virtual/imagemagick-tools[png] |
969 |
- ) |
970 |
- test? ( dev-util/cunit ) |
971 |
-" |
972 |
- |
973 |
-PATCHES=( |
974 |
- "${FILESDIR}/${PN}-2.2.0-arflags.patch" |
975 |
- "${FILESDIR}/${P}-avoid-calling-ar-directly.patch" |
976 |
-) |
977 |
- |
978 |
-src_prepare() { |
979 |
- default |
980 |
- |
981 |
- if [[ ${PV} = *9999* ]] ; then |
982 |
- source "${S}"/Version.config |
983 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
984 |
- fi |
985 |
- |
986 |
- # These modules are built using the same *FLAGS that were used to build |
987 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
988 |
- # *FLAGS settings. |
989 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
990 |
- |
991 |
- local AT_M4DIR="macros" |
992 |
- eautoreconf |
993 |
- |
994 |
- postgres-multi_src_prepare |
995 |
-} |
996 |
- |
997 |
-src_configure() { |
998 |
- local myeconfargs=( |
999 |
- --with-protobuf # funky misdetection if enabled but --without-protobuf |
1000 |
- $(use_with address-standardizer) |
1001 |
- $(use_with gtk gui) |
1002 |
- $(use_with topology) |
1003 |
- ) |
1004 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
1005 |
-} |
1006 |
- |
1007 |
-src_compile() { |
1008 |
- postgres-multi_foreach emake |
1009 |
- postgres-multi_foreach emake -C topology |
1010 |
- |
1011 |
- if use doc ; then |
1012 |
- postgres-multi_foreach emake comments |
1013 |
- postgres-multi_foreach emake cheatsheets |
1014 |
- postgres-multi_forbest emake -C doc html |
1015 |
- fi |
1016 |
-} |
1017 |
- |
1018 |
-src_install() { |
1019 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
1020 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
1021 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
1022 |
- |
1023 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
1024 |
- |
1025 |
- docinto topology |
1026 |
- dodoc topology/{TODO,README} |
1027 |
- |
1028 |
- if use doc ; then |
1029 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
1030 |
- |
1031 |
- docinto html |
1032 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
1033 |
- |
1034 |
- docinto html/images |
1035 |
- postgres-multi_forbest dodoc doc/html/images/* |
1036 |
- fi |
1037 |
- |
1038 |
- use static-libs || find "${ED}" -name '*.a' -delete |
1039 |
-} |
1040 |
- |
1041 |
-pkg_postinst() { |
1042 |
- ebegin "Refreshing PostgreSQL symlinks" |
1043 |
- postgresql-config update |
1044 |
- eend $? |
1045 |
- |
1046 |
- local base_uri="https://postgis.net/docs/manual-" |
1047 |
- if [[ ${PV} = *9999* ]] ; then |
1048 |
- base_uri+="dev" |
1049 |
- else |
1050 |
- base_uri+="${PGIS}" |
1051 |
- fi |
1052 |
- |
1053 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
1054 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
1055 |
-} |
1056 |
|
1057 |
diff --git a/dev-db/postgis/postgis-3.1.0_alpha3-r1.ebuild b/dev-db/postgis/postgis-3.1.0_alpha3-r1.ebuild |
1058 |
deleted file mode 100644 |
1059 |
index d9647334f4e..00000000000 |
1060 |
--- a/dev-db/postgis/postgis-3.1.0_alpha3-r1.ebuild |
1061 |
+++ /dev/null |
1062 |
@@ -1,138 +0,0 @@ |
1063 |
-# Copyright 1999-2020 Gentoo Authors |
1064 |
-# Distributed under the terms of the GNU General Public License v2 |
1065 |
- |
1066 |
-EAPI=7 |
1067 |
- |
1068 |
-POSTGRES_COMPAT=( 9.{5..6} {10..13} ) |
1069 |
-POSTGRES_USEDEP="server" |
1070 |
-inherit autotools postgres-multi |
1071 |
- |
1072 |
-MY_P="${PN}-$(ver_rs 3 '')" |
1073 |
- |
1074 |
-if [[ ${PV} = *9999* ]] ; then |
1075 |
- inherit git-r3 |
1076 |
- EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git" |
1077 |
-else |
1078 |
- PGIS="$(ver_cut 1-2)" |
1079 |
- SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz" |
1080 |
- KEYWORDS="" |
1081 |
-fi |
1082 |
- |
1083 |
-DESCRIPTION="Geographic Objects for PostgreSQL" |
1084 |
-HOMEPAGE="https://postgis.net" |
1085 |
- |
1086 |
-S="${WORKDIR}/${MY_P}" |
1087 |
- |
1088 |
-LICENSE="GPL-2" |
1089 |
-SLOT="0" |
1090 |
-IUSE="address-standardizer doc gtk static-libs test topology" |
1091 |
- |
1092 |
-REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}" |
1093 |
- |
1094 |
-# Needs a running psql instance, doesn't work out of the box |
1095 |
-RESTRICT="test" |
1096 |
- |
1097 |
-RDEPEND="${POSTGRES_DEP} |
1098 |
- dev-libs/json-c:= |
1099 |
- dev-libs/libxml2:2 |
1100 |
- dev-libs/protobuf-c:= |
1101 |
- >=sci-libs/geos-3.6.0 |
1102 |
- >=sci-libs/proj-4.9.0:= |
1103 |
- >=sci-libs/gdal-1.10.0:= |
1104 |
- address-standardizer? ( dev-libs/libpcre ) |
1105 |
- gtk? ( x11-libs/gtk+:2 ) |
1106 |
-" |
1107 |
-DEPEND="${RDEPEND} |
1108 |
- virtual/pkgconfig |
1109 |
- doc? ( |
1110 |
- app-text/docbook-xsl-stylesheets |
1111 |
- app-text/docbook-xml-dtd:4.5 |
1112 |
- dev-libs/libxslt |
1113 |
- virtual/imagemagick-tools[png] |
1114 |
- ) |
1115 |
- test? ( dev-util/cunit ) |
1116 |
-" |
1117 |
- |
1118 |
-PATCHES=( |
1119 |
- "${FILESDIR}/${PN}-2.2.0-arflags.patch" |
1120 |
- "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch" |
1121 |
-) |
1122 |
- |
1123 |
-src_prepare() { |
1124 |
- default |
1125 |
- |
1126 |
- if [[ ${PV} = *9999* ]] ; then |
1127 |
- source "${S}"/Version.config |
1128 |
- PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" |
1129 |
- fi |
1130 |
- |
1131 |
- # These modules are built using the same *FLAGS that were used to build |
1132 |
- # dev-db/postgresql. The right thing to do is to ignore the current |
1133 |
- # *FLAGS settings. |
1134 |
- QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" |
1135 |
- |
1136 |
- local AT_M4DIR="macros" |
1137 |
- eautoreconf |
1138 |
- |
1139 |
- postgres-multi_src_prepare |
1140 |
-} |
1141 |
- |
1142 |
-src_configure() { |
1143 |
- local myeconfargs=( |
1144 |
- --with-protobuf # funky misdetection if enabled but --without-protobuf |
1145 |
- $(use_with address-standardizer) |
1146 |
- $(use_with gtk gui) |
1147 |
- $(use_with topology) |
1148 |
- ) |
1149 |
- postgres-multi_foreach econf "${myeconfargs[@]}" |
1150 |
-} |
1151 |
- |
1152 |
-src_compile() { |
1153 |
- postgres-multi_foreach emake |
1154 |
- postgres-multi_foreach emake -C topology |
1155 |
- |
1156 |
- if use doc ; then |
1157 |
- postgres-multi_foreach emake comments |
1158 |
- postgres-multi_foreach emake cheatsheets |
1159 |
- postgres-multi_forbest emake -C doc html |
1160 |
- fi |
1161 |
-} |
1162 |
- |
1163 |
-src_install() { |
1164 |
- postgres-multi_foreach emake DESTDIR="${D}" install |
1165 |
- postgres-multi_foreach emake -C topology DESTDIR="${D}" install |
1166 |
- postgres-multi_forbest dobin ./utils/postgis_restore.pl |
1167 |
- |
1168 |
- dodoc CREDITS TODO loader/README.* doc/*txt |
1169 |
- |
1170 |
- docinto topology |
1171 |
- dodoc topology/{TODO,README} |
1172 |
- |
1173 |
- if use doc ; then |
1174 |
- postgres-multi_foreach emake DESTDIR="${D}" comments-install |
1175 |
- |
1176 |
- docinto html |
1177 |
- postgres-multi_forbest dodoc doc/html/{postgis.html,style.css} |
1178 |
- |
1179 |
- docinto html/images |
1180 |
- postgres-multi_forbest dodoc doc/html/images/* |
1181 |
- fi |
1182 |
- |
1183 |
- use static-libs || find "${ED}" -name '*.a' -delete |
1184 |
-} |
1185 |
- |
1186 |
-pkg_postinst() { |
1187 |
- ebegin "Refreshing PostgreSQL symlinks" |
1188 |
- postgresql-config update |
1189 |
- eend $? |
1190 |
- |
1191 |
- local base_uri="https://postgis.net/docs/manual-" |
1192 |
- if [[ ${PV} = *9999* ]] ; then |
1193 |
- base_uri+="dev" |
1194 |
- else |
1195 |
- base_uri+="${PGIS}" |
1196 |
- fi |
1197 |
- |
1198 |
- elog "To finish installing PostGIS, follow the directions detailed at:" |
1199 |
- elog "${base_uri}/postgis_installation.html#create_new_db_extensions" |
1200 |
-} |