Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/postgis/
Date: Thu, 30 Jan 2020 21:28:00
Message-Id: 1580419657.f41cdaf2f7ab739ccb8ce91a002fc0a976ad5dfd.asturm@gentoo
1 commit: f41cdaf2f7ab739ccb8ce91a002fc0a976ad5dfd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 30 20:40:25 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 30 21:27:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41cdaf2
7
8 dev-db/postgis: Drop 2.4.6
9
10 Package-Manager: Portage-2.3.86, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 dev-db/postgis/Manifest | 1 -
14 dev-db/postgis/postgis-2.4.6.ebuild | 125 ------------------------------------
15 2 files changed, 126 deletions(-)
16
17 diff --git a/dev-db/postgis/Manifest b/dev-db/postgis/Manifest
18 index 72d18f4734e..9b58ba786c7 100644
19 --- a/dev-db/postgis/Manifest
20 +++ b/dev-db/postgis/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST postgis-2.4.6.tar.gz 12616474 BLAKE2B 8e33ae7e8ca5ef2a4dd90f64a8e9910118e4ef711444b196f46e4a63f98ff6044709d65a853c5c10de91308658a206965503b6a85a16438ea422becdbbd9bb40 SHA512 eec4276a58549f3cc57d6574186aebc72df0dd7dc2ab9acbaf410604b4d271dee6d5154caacd7297d20493d879434ca78050672e8197ff0fc63a36100c20c66c
23 DIST postgis-2.4.7.tar.gz 12831401 BLAKE2B 0069a339cc778a02a008835189b5560ffb1724aceaaeeec5264750cdfaa4346310ca1d112f698556e750b6559f0dabb727584c9d41ff8747ed7673e147c9723e SHA512 832f039e582227cd1c6edef98af8dfcceb90db75b18d4ba605b7baf2842227b23fe2d15c3b1cde941182c93230ba41ab94da59e97506c77e79f2016bbd98c885
24 DIST postgis-2.4.8.tar.gz 12846228 BLAKE2B dc7cd26f08774011bddba362040f35fd46dab5f58870643d4e6d939fb107a8e93ccb8c2d57ac67bf5ba44a7dd05c25eee77358548d9d7d9a8b3e2f7538e49538 SHA512 afeddbdcbad68358c3bc36beec5f1baf74c328daba90f0ac7d6322e4330d18da2e5534fa200f8ae3f19e7e897221989a564f6e2855e9181eadfd9cc32315b666
25 DIST postgis-2.5.1.tar.gz 16041872 BLAKE2B 589cf7168d3698737a19d817b8efb91695c2c3f63d6c3aa24189d9a37459a28ca8a7db0450aa2d557699f76cd8e3ab1eec198bd332b294d976330fdc9d8a7f60 SHA512 c6c9c8c5befd945614e92d1062df1d753ca8b7fd69b70226065c2dac77a59783b14ece4da994187079b683ee090ba5a79389ba679f22fce8c20a5afc2c8dfca0
26
27 diff --git a/dev-db/postgis/postgis-2.4.6.ebuild b/dev-db/postgis/postgis-2.4.6.ebuild
28 deleted file mode 100644
29 index 2b057bbea83..00000000000
30 --- a/dev-db/postgis/postgis-2.4.6.ebuild
31 +++ /dev/null
32 @@ -1,125 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -
38 -POSTGRES_COMPAT=( 9.{4..6} {10..11} )
39 -POSTGRES_USEDEP="server"
40 -
41 -inherit autotools eutils postgres-multi versionator
42 -
43 -MY_PV=$(replace_version_separator 3 '')
44 -MY_P="${PN}-${MY_PV}"
45 -S="${WORKDIR}/${MY_P}"
46 -
47 -DESCRIPTION="Geographic Objects for PostgreSQL"
48 -HOMEPAGE="http://postgis.net"
49 -SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
53 -IUSE="address-standardizer doc gtk static-libs mapbox test topology"
54 -
55 -RDEPEND="
56 - ${POSTGRES_DEP}
57 - dev-libs/json-c:=
58 - dev-libs/libxml2:2
59 - >=sci-libs/geos-3.5.0
60 - >=sci-libs/proj-4.6.0
61 - >=sci-libs/gdal-1.10.0
62 - address-standardizer? ( dev-libs/libpcre )
63 - gtk? ( x11-libs/gtk+:2 )
64 - mapbox? ( dev-libs/protobuf )
65 -"
66 -
67 -DEPEND="${RDEPEND}
68 - doc? (
69 - app-text/docbook-xsl-stylesheets
70 - app-text/docbook-xml-dtd:4.5
71 - dev-libs/libxslt
72 - || (
73 - media-gfx/imagemagick[png]
74 - media-gfx/graphicsmagick[imagemagick,png]
75 - )
76 - )
77 - virtual/pkgconfig
78 - test? ( dev-util/cunit )
79 -"
80 -
81 -PGIS="$(get_version_component_range 1-2)"
82 -
83 -REQUIRED_USE="test? ( doc ) ${POSTGRES_REQ_USE}"
84 -
85 -# Needs a running psql instance, doesn't work out of the box
86 -RESTRICT="test"
87 -
88 -MAKEOPTS+=' -j1'
89 -
90 -# These modules are built using the same *FLAGS that were used to build
91 -# dev-db/postgresql. The right thing to do is to ignore the current
92 -# *FLAGS settings.
93 -QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so"
94 -
95 -src_prepare() {
96 - eapply "${FILESDIR}/${PN}-2.2.0-arflags.patch"
97 -
98 - local AT_M4DIR="macros"
99 - eautoreconf
100 -
101 - postgres-multi_src_prepare
102 -}
103 -
104 -src_configure() {
105 - local myargs=""
106 -
107 - use gtk && myargs+=" --with-gui"
108 -
109 - use address-standardizer || myargs+=" --without-address-standardizer"
110 - use mapbox || myargs+=" --without-protobuf"
111 - use topology || myargs+=" --without-topology"
112 -
113 - postgres-multi_foreach econf ${myargs}
114 -}
115 -
116 -src_compile() {
117 - postgres-multi_foreach emake
118 - postgres-multi_foreach emake -C topology
119 -
120 - if use doc ; then
121 - postgres-multi_foreach emake comments
122 - postgres-multi_foreach emake cheatsheets
123 - postgres-multi_forbest emake -C doc html
124 - fi
125 -}
126 -
127 -src_install() {
128 - postgres-multi_foreach emake DESTDIR="${D}" install
129 - postgres-multi_foreach emake -C topology DESTDIR="${D}" install
130 - postgres-multi_forbest dobin ./utils/postgis_restore.pl
131 -
132 - dodoc CREDITS TODO loader/README.* doc/*txt
133 -
134 - docinto topology
135 - dodoc topology/{TODO,README}
136 -
137 - if use doc ; then
138 - postgres-multi_foreach emake DESTDIR="${D}" comments-install
139 -
140 - docinto html
141 - postgres-multi_forbest dodoc doc/html/{postgis.html,style.css}
142 -
143 - docinto html/images
144 - postgres-multi_forbest dodoc doc/html/images/*
145 - fi
146 -
147 - use static-libs || find "${ED}" -name '*.a' -delete
148 -}
149 -
150 -pkg_postinst() {
151 - ebegin "Refreshing PostgreSQL symlinks"
152 - postgresql-config update
153 - eend $?
154 -
155 - elog "To finish installing PostGIS, follow the directions detailed at:"
156 - elog "http://postgis.net/docs/manual-${PGIS}/postgis_installation.html#create_new_db_extensions"
157 -}