Gentoo Archives: gentoo-commits

From: "罗百科" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/postgis/
Date: Wed, 02 Feb 2022 07:38:55
Message-Id: 1643787527.88bedb55c8854da274641b9b6bda9066275c59f6.patrick@gentoo
1 commit: 88bedb55c8854da274641b9b6bda9066275c59f6
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 2 07:38:36 2022 +0000
4 Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 2 07:38:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88bedb55
7
8 dev-db/postgis: Remove old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
12
13 dev-db/postgis/Manifest | 3 -
14 dev-db/postgis/postgis-3.1.1-r1.ebuild | 143 ---------------------------------
15 dev-db/postgis/postgis-3.1.2.ebuild | 143 ---------------------------------
16 dev-db/postgis/postgis-3.1.4.ebuild | 143 ---------------------------------
17 4 files changed, 432 deletions(-)
18
19 diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest
20 index d26a55fc59c9..09362cd0745f 100644
21 --- a/dev-db/postgis/Manifest
22 +++ b/dev-db/postgis/Manifest
23 @@ -1,9 +1,6 @@
24 DIST postgis-3.0.3.tar.gz 16871696 BLAKE2B 891f814271de9193cd17013d6d971a752d2e984cb0f68b05510450adef97fc96827e3d1a1c7e4fa4cf79a5d15eb3f74b32e6e9a8db1947f7bad7c2b23656bc8f SHA512 478f0971e18c2a1bd651c9bf7b995236aad32fda037762505cf8ac9e67a4e40917436248c1e62827a1a6da96c15c4ae8d0b606d548fa080cdff453642b897115
25 DIST postgis-3.0.4.tar.gz 16871782 BLAKE2B 188e9b843526299bb112cb5f9437a9471a1b2cbf51cf85f68094172cfe98101f66cd2a72b2667161a0d40c4719ceed14299c04494e8165716b5dfd4aa84cd5c7 SHA512 0b01414433137af2708f5dee3cc054823dd788d311273f9055ab2d7bce5901e18206021381f3705408d6e263f7afc9cfcf6eaa5298b82690efaeac66486f8c0e
26 DIST postgis-3.1.0.tar.gz 17262134 BLAKE2B dbc6edde826328b84ca7d6cc9329d648c7874d51528252759499131d7ad5dbc1a7a4ef881054f2fa1fc255810157270dc1c0ae0e2ea24ec702f06b9fd5f6dfed SHA512 c5b063ff7cbe855ab6ce4104d170b27eea04ae632fd6fcb8de38b14699296a8e0c9ce06bfb48ab14cba51b7a1b3f7e0a3996d9377a954dfc39fd68fe3f839e8f
27 -DIST postgis-3.1.1.tar.gz 17261826 BLAKE2B a14bdce3773f8cc50c72880d9b8158c32b546332884645e91cba539ab9238c3cbcbc9ee60292932c86de67a0134bdab6a2b4e6b1f3c55881afbb36a08d8f138a SHA512 b975d26c1ad01fa6b90b5b3b51fd2b4b33204a380af0f76b98d1bfd6bd95f527d4ac3548f1b822e114be17bb3a133bc88c3d33a17d4effdfa1f90ec0c683e5e5
28 -DIST postgis-3.1.2.tar.gz 17266501 BLAKE2B acc65e3ab70667c57a71bcb9c7bbfc382f8a6038ceb0e91aac07e36fb6b4cb6365aa968b30af13eda8292410cc1b567d871970e6cb7dfaadb454147224f9b834 SHA512 df9d2fa118987e29acd635912a708e643770ad3df82c098f8129f11ab07a9eafde969302d2d2e59a68fea6fc7312fe768a231dd4cb5de7002c418725da75848a
29 DIST postgis-3.1.3.tar.gz 17273487 BLAKE2B 603be66476037fca5e75b00079a26b4beaa50f0af0626f89660f17da398576d929574cb363c4177877d9c8db5459f7eac964b85796cd93b0d0c6ff2462d7ad3f SHA512 525c982de6b5888d1f4a4f6d2cca5dfa945d8899d8038b1d62ce222e0149c4ab26a2a3602bb8c85e89ce22b3d5b20d278fc4f841144f4b0d19e6de4f48d819ad
30 -DIST postgis-3.1.4.tar.gz 17269391 BLAKE2B 6070fb72c777f8baf9c520ec51cf436837fffb54f21af5b4cf800940240f2fb9fcee162b2d3817cbfd4e60c2cef37eb4cf902d9e9f065e537d8d9b8ec965bef3 SHA512 afd84b45b146bdae310580fc9f8a878dd658f9e74f99c41f5d143f32974d5f5017ab4190855dcaea915a31ac2a78d34bf5561f206965264de3252f2c2ac57683
31 DIST postgis-3.1.5.tar.gz 17282333 BLAKE2B 3abe3b24ad0b8a9621c206f881a920ec4e37aa75ccc68ab8e4a43a372bb9047613c81d375051a948999068595de04f14bf4f0b7921b3f3894ff77a9d8c1c3063 SHA512 640196f4c983aeb1d661d98e099f4e2a47f32b15bfde21479b8fdb2aa5d12b4c564b0962973ec1a8dd64fbfac7cd7bc94d84376935294f23ba31d7501fe64a06
32 DIST postgis-3.2.0.tar.gz 16884722 BLAKE2B 118ae754199521e46508b404275bfe323465e5543ad8351d3dec3582800f6c475c30333b35ad48aac373f9d8e3875790c58858f638ee4ecb7465764703d07d40 SHA512 b49b2fbb88ec07981c0fd05400ad807e85553164023a4b47326c21f48b4e07827a183676c497ad6823dc3a6b97518e1d40906826b8a91739c96966d62858b2b5
33
34 diff --git a/dev-db/postgis/postgis-3.1.1-r1.ebuild b/dev-db/postgis/postgis-3.1.1-r1.ebuild
35 deleted file mode 100644
36 index 718c94942b1d..000000000000
37 --- a/dev-db/postgis/postgis-3.1.1-r1.ebuild
38 +++ /dev/null
39 @@ -1,143 +0,0 @@
40 -# Copyright 1999-2021 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -POSTGRES_COMPAT=( 9.6 {10..13} )
46 -POSTGRES_USEDEP="server"
47 -inherit autotools postgres-multi toolchain-funcs
48 -
49 -MY_P="${PN}-$(ver_rs 3 '')"
50 -
51 -if [[ ${PV} = *9999* ]] ; then
52 - inherit git-r3
53 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
54 -else
55 - PGIS="$(ver_cut 1-2)"
56 - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
57 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
58 -fi
59 -
60 -DESCRIPTION="Geographic Objects for PostgreSQL"
61 -HOMEPAGE="https://postgis.net"
62 -
63 -S="${WORKDIR}/${MY_P}"
64 -
65 -LICENSE="GPL-2"
66 -SLOT="0"
67 -IUSE="address-standardizer doc gtk static-libs topology"
68 -
69 -REQUIRED_USE="${POSTGRES_REQ_USE}"
70 -
71 -# Needs a running psql instance, doesn't work out of the box
72 -RESTRICT="test"
73 -
74 -RDEPEND="${POSTGRES_DEP}
75 - dev-libs/json-c:=
76 - dev-libs/libxml2:2
77 - dev-libs/protobuf-c:=
78 - >=sci-libs/geos-3.9.0
79 - <sci-libs/proj-8:=
80 - >=sci-libs/gdal-1.10.0:=
81 - address-standardizer? ( dev-libs/libpcre )
82 - gtk? ( x11-libs/gtk+:2 )
83 -"
84 -DEPEND="${RDEPEND}
85 - virtual/pkgconfig
86 - doc? (
87 - app-text/docbook-xsl-stylesheets
88 - app-text/docbook-xml-dtd:4.5
89 - dev-libs/libxslt
90 - virtual/imagemagick-tools[png]
91 - )
92 -"
93 -
94 -PATCHES=(
95 - "${FILESDIR}/${PN}-2.2.0-arflags.patch"
96 - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch"
97 - "${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch"
98 - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
99 -)
100 -
101 -src_prepare() {
102 - default
103 -
104 - if [[ ${PV} = *9999* ]] ; then
105 - source "${S}"/Version.config
106 - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
107 - fi
108 -
109 - # These modules are built using the same *FLAGS that were used to build
110 - # dev-db/postgresql. The right thing to do is to ignore the current
111 - # *FLAGS settings.
112 - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
113 -
114 - # bug #775968
115 - touch build-aux/ar-lib || die
116 -
117 - local AT_M4DIR="macros"
118 - eautoreconf
119 -
120 - postgres-multi_src_prepare
121 -}
122 -
123 -src_configure() {
124 - export CPP=$(tc-getCPP)
125 -
126 - local myeconfargs=(
127 - $(use_with address-standardizer)
128 - $(use_with gtk gui)
129 - $(use_with topology)
130 - )
131 - postgres-multi_foreach econf "${myeconfargs[@]}"
132 -}
133 -
134 -src_compile() {
135 - postgres-multi_foreach emake
136 - postgres-multi_foreach emake -C topology
137 -
138 - if use doc ; then
139 - postgres-multi_foreach emake comments
140 - postgres-multi_foreach emake cheatsheets
141 - postgres-multi_forbest emake -C doc html
142 - fi
143 -}
144 -
145 -src_install() {
146 - postgres-multi_foreach emake DESTDIR="${D}" install
147 - postgres-multi_foreach emake -C topology DESTDIR="${D}" install
148 - postgres-multi_forbest dobin ./utils/postgis_restore.pl
149 -
150 - dodoc CREDITS TODO loader/README.* doc/*txt
151 -
152 - docinto topology
153 - dodoc topology/{TODO,README}
154 -
155 - if use doc ; then
156 - postgres-multi_foreach emake DESTDIR="${D}" comments-install
157 -
158 - docinto html
159 - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
160 -
161 - docinto html/images
162 - postgres-multi_forbest dodoc doc/html/images/*
163 - fi
164 -
165 - use static-libs || find "${ED}" -name '*.a' -delete
166 -}
167 -
168 -pkg_postinst() {
169 - ebegin "Refreshing PostgreSQL symlinks"
170 - postgresql-config update
171 - eend $?
172 -
173 - local base_uri="https://postgis.net/docs/manual-"
174 - if [[ ${PV} = *9999* ]] ; then
175 - base_uri+="dev"
176 - else
177 - base_uri+="${PGIS}"
178 - fi
179 -
180 - elog "To finish installing PostGIS, follow the directions detailed at:"
181 - elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
182 -}
183
184 diff --git a/dev-db/postgis/postgis-3.1.2.ebuild b/dev-db/postgis/postgis-3.1.2.ebuild
185 deleted file mode 100644
186 index a81f3e9072c3..000000000000
187 --- a/dev-db/postgis/postgis-3.1.2.ebuild
188 +++ /dev/null
189 @@ -1,143 +0,0 @@
190 -# Copyright 1999-2021 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=7
194 -
195 -POSTGRES_COMPAT=( 9.6 {10..13} )
196 -POSTGRES_USEDEP="server"
197 -inherit autotools postgres-multi toolchain-funcs
198 -
199 -MY_P="${PN}-$(ver_rs 3 '')"
200 -
201 -if [[ ${PV} = *9999* ]] ; then
202 - inherit git-r3
203 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
204 -else
205 - PGIS="$(ver_cut 1-2)"
206 - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
207 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
208 -fi
209 -
210 -DESCRIPTION="Geographic Objects for PostgreSQL"
211 -HOMEPAGE="https://postgis.net"
212 -
213 -S="${WORKDIR}/${MY_P}"
214 -
215 -LICENSE="GPL-2"
216 -SLOT="0"
217 -IUSE="address-standardizer doc gtk static-libs topology"
218 -
219 -REQUIRED_USE="${POSTGRES_REQ_USE}"
220 -
221 -# Needs a running psql instance, doesn't work out of the box
222 -RESTRICT="test"
223 -
224 -RDEPEND="${POSTGRES_DEP}
225 - dev-libs/json-c:=
226 - dev-libs/libxml2:2
227 - dev-libs/protobuf-c:=
228 - >=sci-libs/geos-3.9.0
229 - >=sci-libs/proj-4.9.0:=
230 - >=sci-libs/gdal-1.10.0:=
231 - address-standardizer? ( dev-libs/libpcre )
232 - gtk? ( x11-libs/gtk+:2 )
233 -"
234 -DEPEND="${RDEPEND}
235 - virtual/pkgconfig
236 - doc? (
237 - app-text/docbook-xsl-stylesheets
238 - app-text/docbook-xml-dtd:4.5
239 - dev-libs/libxslt
240 - virtual/imagemagick-tools[png]
241 - )
242 -"
243 -
244 -PATCHES=(
245 - "${FILESDIR}/${PN}-2.2.0-arflags.patch"
246 - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch"
247 - "${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch"
248 - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
249 -)
250 -
251 -src_prepare() {
252 - default
253 -
254 - if [[ ${PV} = *9999* ]] ; then
255 - source "${S}"/Version.config
256 - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
257 - fi
258 -
259 - # These modules are built using the same *FLAGS that were used to build
260 - # dev-db/postgresql. The right thing to do is to ignore the current
261 - # *FLAGS settings.
262 - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
263 -
264 - # bug #775968
265 - touch build-aux/ar-lib || die
266 -
267 - local AT_M4DIR="macros"
268 - eautoreconf
269 -
270 - postgres-multi_src_prepare
271 -}
272 -
273 -src_configure() {
274 - export CPP=$(tc-getCPP)
275 -
276 - local myeconfargs=(
277 - $(use_with address-standardizer)
278 - $(use_with gtk gui)
279 - $(use_with topology)
280 - )
281 - postgres-multi_foreach econf "${myeconfargs[@]}"
282 -}
283 -
284 -src_compile() {
285 - postgres-multi_foreach emake
286 - postgres-multi_foreach emake -C topology
287 -
288 - if use doc ; then
289 - postgres-multi_foreach emake comments
290 - postgres-multi_foreach emake cheatsheets
291 - postgres-multi_forbest emake -C doc html
292 - fi
293 -}
294 -
295 -src_install() {
296 - postgres-multi_foreach emake DESTDIR="${D}" install
297 - postgres-multi_foreach emake -C topology DESTDIR="${D}" install
298 - postgres-multi_forbest dobin ./utils/postgis_restore.pl
299 -
300 - dodoc CREDITS TODO loader/README.* doc/*txt
301 -
302 - docinto topology
303 - dodoc topology/{TODO,README}
304 -
305 - if use doc ; then
306 - postgres-multi_foreach emake DESTDIR="${D}" comments-install
307 -
308 - docinto html
309 - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
310 -
311 - docinto html/images
312 - postgres-multi_forbest dodoc doc/html/images/*
313 - fi
314 -
315 - use static-libs || find "${ED}" -name '*.a' -delete
316 -}
317 -
318 -pkg_postinst() {
319 - ebegin "Refreshing PostgreSQL symlinks"
320 - postgresql-config update
321 - eend $?
322 -
323 - local base_uri="https://postgis.net/docs/manual-"
324 - if [[ ${PV} = *9999* ]] ; then
325 - base_uri+="dev"
326 - else
327 - base_uri+="${PGIS}"
328 - fi
329 -
330 - elog "To finish installing PostGIS, follow the directions detailed at:"
331 - elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
332 -}
333
334 diff --git a/dev-db/postgis/postgis-3.1.4.ebuild b/dev-db/postgis/postgis-3.1.4.ebuild
335 deleted file mode 100644
336 index 098fa4c328c8..000000000000
337 --- a/dev-db/postgis/postgis-3.1.4.ebuild
338 +++ /dev/null
339 @@ -1,143 +0,0 @@
340 -# Copyright 1999-2021 Gentoo Authors
341 -# Distributed under the terms of the GNU General Public License v2
342 -
343 -EAPI=7
344 -
345 -POSTGRES_COMPAT=( 9.6 {10..14} )
346 -POSTGRES_USEDEP="server"
347 -inherit autotools postgres-multi toolchain-funcs
348 -
349 -MY_P="${PN}-$(ver_rs 3 '')"
350 -
351 -if [[ ${PV} = *9999* ]] ; then
352 - inherit git-r3
353 - EGIT_REPO_URI="https://git.osgeo.org/gitea/postgis/postgis.git"
354 -else
355 - PGIS="$(ver_cut 1-2)"
356 - SRC_URI="https://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
357 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
358 -fi
359 -
360 -DESCRIPTION="Geographic Objects for PostgreSQL"
361 -HOMEPAGE="https://postgis.net"
362 -
363 -S="${WORKDIR}/${MY_P}"
364 -
365 -LICENSE="GPL-2"
366 -SLOT="0"
367 -IUSE="address-standardizer doc gtk static-libs topology"
368 -
369 -REQUIRED_USE="${POSTGRES_REQ_USE}"
370 -
371 -# Needs a running psql instance, doesn't work out of the box
372 -RESTRICT="test"
373 -
374 -RDEPEND="${POSTGRES_DEP}
375 - dev-libs/json-c:=
376 - dev-libs/libxml2:2
377 - dev-libs/protobuf-c:=
378 - >=sci-libs/geos-3.9.0
379 - >=sci-libs/proj-4.9.0:=
380 - >=sci-libs/gdal-1.10.0:=
381 - address-standardizer? ( dev-libs/libpcre )
382 - gtk? ( x11-libs/gtk+:2 )
383 -"
384 -DEPEND="${RDEPEND}
385 - virtual/pkgconfig
386 - doc? (
387 - app-text/docbook-xsl-stylesheets
388 - app-text/docbook-xml-dtd:4.5
389 - dev-libs/libxslt
390 - virtual/imagemagick-tools[png]
391 - )
392 -"
393 -
394 -PATCHES=(
395 - "${FILESDIR}/${PN}-2.2.0-arflags.patch"
396 - "${FILESDIR}/${PN}-3.0.3-avoid-calling-ar-directly.patch"
397 - "${FILESDIR}/${PN}-3.0.3-detect-only-stdc.patch"
398 - "${FILESDIR}/${PN}-3.0.3-try-other-cpp-names.patch"
399 -)
400 -
401 -src_prepare() {
402 - default
403 -
404 - if [[ ${PV} = *9999* ]] ; then
405 - source "${S}"/Version.config
406 - PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}"
407 - fi
408 -
409 - # These modules are built using the same *FLAGS that were used to build
410 - # dev-db/postgresql. The right thing to do is to ignore the current
411 - # *FLAGS settings.
412 - QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
413 -
414 - # bug #775968
415 - touch build-aux/ar-lib || die
416 -
417 - local AT_M4DIR="macros"
418 - eautoreconf
419 -
420 - postgres-multi_src_prepare
421 -}
422 -
423 -src_configure() {
424 - export CPP=$(tc-getCPP)
425 -
426 - local myeconfargs=(
427 - $(use_with address-standardizer)
428 - $(use_with gtk gui)
429 - $(use_with topology)
430 - )
431 - postgres-multi_foreach econf "${myeconfargs[@]}"
432 -}
433 -
434 -src_compile() {
435 - postgres-multi_foreach emake
436 - postgres-multi_foreach emake -C topology
437 -
438 - if use doc ; then
439 - postgres-multi_foreach emake comments
440 - postgres-multi_foreach emake cheatsheets
441 - postgres-multi_forbest emake -C doc html
442 - fi
443 -}
444 -
445 -src_install() {
446 - postgres-multi_foreach emake DESTDIR="${D}" install
447 - postgres-multi_foreach emake -C topology DESTDIR="${D}" install
448 - postgres-multi_forbest dobin ./utils/postgis_restore.pl
449 -
450 - dodoc CREDITS TODO loader/README.* doc/*txt
451 -
452 - docinto topology
453 - dodoc topology/{TODO,README}
454 -
455 - if use doc ; then
456 - postgres-multi_foreach emake DESTDIR="${D}" comments-install
457 -
458 - docinto html
459 - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
460 -
461 - docinto html/images
462 - postgres-multi_forbest dodoc doc/html/images/*
463 - fi
464 -
465 - use static-libs || find "${ED}" -name '*.a' -delete
466 -}
467 -
468 -pkg_postinst() {
469 - ebegin "Refreshing PostgreSQL symlinks"
470 - postgresql-config update
471 - eend $?
472 -
473 - local base_uri="https://postgis.net/docs/manual-"
474 - if [[ ${PV} = *9999* ]] ; then
475 - base_uri+="dev"
476 - else
477 - base_uri+="${PGIS}"
478 - fi
479 -
480 - elog "To finish installing PostGIS, follow the directions detailed at:"
481 - elog "${base_uri}/postgis_installation.html#create_new_db_extensions"
482 -}