1 |
commit: e431f46ae63f33866018e2010e929dc84272d3a8 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 28 13:12:00 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 28 13:12:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e431f46a |
7 |
|
8 |
dev-db/pgrouting: Cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-db/pgrouting/Manifest | 2 - |
13 |
.../files/no-contrib-when-use-extension.patch | 76 ---------------- |
14 |
dev-db/pgrouting/pgrouting-2.0.0.ebuild | 100 --------------------- |
15 |
dev-db/pgrouting/pgrouting-2.5.0.ebuild | 95 -------------------- |
16 |
4 files changed, 273 deletions(-) |
17 |
|
18 |
diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest |
19 |
index d02a4de3b5c..40ae7848e25 100644 |
20 |
--- a/dev-db/pgrouting/Manifest |
21 |
+++ b/dev-db/pgrouting/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST pgrouting-2.0.0.tar.gz 3765933 BLAKE2B 3bf574b79851e33bb9b5f99220757c02061ec052027940d73f7e8602e876644a0cb780fb3291c60a6e4fa54d886ed574d2a651971c01cd950778b561356c997f SHA512 4a74cc1ce1bbbb8d95ae2aabc712e30c97e0418b1e4f28a255ecd9e57577bd7081a52e6e64a63cb06c9ca659271273b37bdbefb94d49e69b9c2ce45e96911884 |
24 |
-DIST pgrouting-2.5.0.tar.gz 7157856 BLAKE2B aa9c9afb982e367692aefc07583d0e362503d6c3d4b7d1ec17f6eee60848e8d01a54b520e7417cc92d6fb3f4b526da1826abc7d7e8db88126d8946ae6f699b0b SHA512 663dd5f5133d0bf1bbf7c35480c644ba848e65259023a0ef7f31b813b8ed99a4e2cfb813d870de7550e98ca1f8b0255aa28b2c948d13e8975af9f0d19f820784 |
25 |
DIST pgrouting-2.5.2.tar.gz 7221479 BLAKE2B afbf29b7cbd52df526203198fb76d9e9e37e88a4b92d2139975238a14fe5a30c8102449d157e391913e690129a1ca8ac718763d9242193cac4080bc7347e1553 SHA512 9d9d9ebbcbc003f62bf1f0d548363e756012cdce55a9c3ef56ae9a5a510f25337898becf42f3e04bf10e8d3672ebf698def03833bba33410b65e0d2bdd42aecd |
26 |
|
27 |
diff --git a/dev-db/pgrouting/files/no-contrib-when-use-extension.patch b/dev-db/pgrouting/files/no-contrib-when-use-extension.patch |
28 |
deleted file mode 100644 |
29 |
index e26af3ef0da..00000000000 |
30 |
--- a/dev-db/pgrouting/files/no-contrib-when-use-extension.patch |
31 |
+++ /dev/null |
32 |
@@ -1,76 +0,0 @@ |
33 |
-diff -Naur pgrouting-2.0.0.orig/CMakeLists.txt pgrouting-2.0.0/CMakeLists.txt |
34 |
---- pgrouting-2.0.0.orig/CMakeLists.txt 2013-09-24 16:38:31.000000000 -0400 |
35 |
-+++ pgrouting-2.0.0/CMakeLists.txt 2014-11-07 06:48:11.555026180 -0500 |
36 |
-@@ -170,16 +170,13 @@ |
37 |
- OUTPUT_VARIABLE SHARE_DIR) |
38 |
- |
39 |
- if(SHARE_DIR) |
40 |
-- # Always install in "contrib" directory of PostgreSQL |
41 |
-- set(CONTRIB_DIR "${SHARE_DIR}/contrib/pgrouting-${PGROUTING_VERSION_MAJOR}.${PGROUTING_VERSION_MINOR}") |
42 |
-- message(STATUS "Contrib directory for SQL files is set to ${CONTRIB_DIR}") |
43 |
-- |
44 |
- # Install as extension if supported by the version of PostgreSQL |
45 |
- if(USE_PG_EXTENSION) |
46 |
- set(SHARE_DIR "${SHARE_DIR}/extension") |
47 |
- message(STATUS "Extension directory for SQL files is set to ${SHARE_DIR}") |
48 |
-- #else(USE_PG_EXTENSION) |
49 |
-- # set(SHARE_DIR "/usr/share/pgrouting") |
50 |
-+ else(USE_PG_EXTENSION) |
51 |
-+ set(CONTRIB_DIR "${SHARE_DIR}/contrib/pgrouting-${PGROUTING_VERSION_MAJOR}.${PGROUTING_VERSION_MINOR}") |
52 |
-+ message(STATUS "Contrib directory for SQL files is set to ${CONTRIB_DIR}") |
53 |
- endif(USE_PG_EXTENSION) |
54 |
- else(SHARE_DIR) |
55 |
- message(FATAL_ERROR "pg_config --sharedir failed to return a value. Please check your PostgreSQL installation!") |
56 |
-@@ -347,22 +344,24 @@ |
57 |
- |
58 |
- install(FILES ${LIBS_TO_INSTALL} DESTINATION ${LIB_DIR}) |
59 |
- |
60 |
--install(FILES |
61 |
-+if(USE_PG_EXTENSION) |
62 |
-+ install(FILES |
63 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting--${PGROUTING_VERSION_STRING}.sql" |
64 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting.control" |
65 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting_legacy.sql" |
66 |
- DESTINATION "${SHARE_DIR}") |
67 |
-- |
68 |
--# The following probably could be done better |
69 |
--# The idea is to also have a "pgrouting-x.x" directory in PostgreSQL contrib |
70 |
--configure_file("${CMAKE_BINARY_DIR}/lib/pgrouting--${PGROUTING_VERSION_STRING}.sql" |
71 |
-+else(USE_PG_EXTENSION) |
72 |
-+ # The following probably could be done better |
73 |
-+ # The idea is to also have a "pgrouting-x.x" directory in PostgreSQL contrib |
74 |
-+ configure_file("${CMAKE_BINARY_DIR}/lib/pgrouting--${PGROUTING_VERSION_STRING}.sql" |
75 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting.sql" COPYONLY) |
76 |
- |
77 |
--install(FILES |
78 |
-+ install(FILES |
79 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting.sql" |
80 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting.control" |
81 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting_legacy.sql" |
82 |
- DESTINATION "${CONTRIB_DIR}") |
83 |
-+endif(USE_PG_EXTENSION) |
84 |
- |
85 |
- # TODO: The following probably should be done better |
86 |
- if(WITH_DD) |
87 |
-@@ -372,12 +371,14 @@ |
88 |
- configure_file("${PGROUTING_SOURCE_DIR}/src/driving_distance/sql/routing_dd_legacy.sql" |
89 |
- "${CMAKE_BINARY_DIR}/lib/pgrouting_dd_legacy.sql" COPYONLY) |
90 |
- |
91 |
-- install(FILES |
92 |
-- "${CMAKE_BINARY_DIR}/lib/pgrouting_dd_legacy.sql" |
93 |
-- DESTINATION "${SHARE_DIR}") |
94 |
-- |
95 |
-- install(FILES |
96 |
-- "${CMAKE_BINARY_DIR}/lib/pgrouting_dd_legacy.sql" |
97 |
-- DESTINATION "${CONTRIB_DIR}") |
98 |
-+ if(USE_PG_EXTENSION) |
99 |
-+ install(FILES |
100 |
-+ "${CMAKE_BINARY_DIR}/lib/pgrouting_dd_legacy.sql" |
101 |
-+ DESTINATION "${SHARE_DIR}") |
102 |
-+ else(USE_PG_EXTENSION) |
103 |
-+ install(FILES |
104 |
-+ "${CMAKE_BINARY_DIR}/lib/pgrouting_dd_legacy.sql" |
105 |
-+ DESTINATION "${CONTRIB_DIR}") |
106 |
-+ endif(USE_PG_EXTENSION) |
107 |
- endif(WITH_DD) |
108 |
- |
109 |
|
110 |
diff --git a/dev-db/pgrouting/pgrouting-2.0.0.ebuild b/dev-db/pgrouting/pgrouting-2.0.0.ebuild |
111 |
deleted file mode 100644 |
112 |
index 7a36fce1799..00000000000 |
113 |
--- a/dev-db/pgrouting/pgrouting-2.0.0.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,100 +0,0 @@ |
116 |
-# Copyright 1999-2016 Gentoo Foundation |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI="5" |
120 |
-POSTGRES_COMPAT=( 9.{0,1,2,3,4} ) |
121 |
- |
122 |
-inherit eutils cmake-utils |
123 |
- |
124 |
-DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." |
125 |
-HOMEPAGE="http://pgrouting.org/index.html" |
126 |
-LICENSE="GPL-2 MIT Boost-1.0" |
127 |
- |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~amd64 ~x86" |
130 |
-SRC_URI="https://github.com/pgRouting/pgrouting/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz" |
131 |
-IUSE="+drivingdistance doc pdf html" |
132 |
- |
133 |
-REQUIRED_USE="html? ( doc ) pdf? ( doc )" |
134 |
- |
135 |
-RDEPEND=" |
136 |
- || ( |
137 |
- dev-db/postgresql:9.4[server] |
138 |
- dev-db/postgresql:9.3[server] |
139 |
- dev-db/postgresql:9.2[server] |
140 |
- dev-db/postgresql:9.1[server] |
141 |
- dev-db/postgresql:9.0[server] |
142 |
- ) |
143 |
- >=dev-db/postgis-2.0 |
144 |
- dev-libs/boost |
145 |
- drivingdistance? ( sci-mathematics/cgal ) |
146 |
-" |
147 |
- |
148 |
-DEPEND=" |
149 |
- doc? ( >=dev-python/sphinx-1.1 ) |
150 |
- pdf? ( >=dev-python/sphinx-1.1[latex] ) |
151 |
-" |
152 |
- |
153 |
-# Needs a running psql instance, doesn't work out of the box |
154 |
-RESTRICT="test" |
155 |
- |
156 |
-postgres_check_slot() { |
157 |
- if ! declare -p POSTGRES_COMPAT &>/dev/null; then |
158 |
- die 'POSTGRES_COMPAT not declared.' |
159 |
- fi |
160 |
- |
161 |
-# Don't die because we can't run postgresql-config during pretend. |
162 |
-[[ "$EBUILD_PHASE" = "pretend" \ |
163 |
- && -z "$(which postgresql-config 2> /dev/null)" ]] && return 0 |
164 |
- |
165 |
- local res=$(echo ${POSTGRES_COMPAT[@]} \ |
166 |
- | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null) |
167 |
- |
168 |
- if [[ "$res" -eq "0" ]] ; then |
169 |
- eerror "PostgreSQL slot must be set to one of: " |
170 |
- eerror " ${POSTGRES_COMPAT[@]}" |
171 |
- return 1 |
172 |
- fi |
173 |
- |
174 |
- return 0 |
175 |
-} |
176 |
- |
177 |
-pkg_pretend() { |
178 |
- postgres_check_slot || die |
179 |
-} |
180 |
- |
181 |
-pkg_setup() { |
182 |
- postgres_check_slot || die |
183 |
-} |
184 |
- |
185 |
-src_prepare() { |
186 |
- epatch "${FILESDIR}/no-contrib-when-use-extension.patch" |
187 |
-} |
188 |
- |
189 |
-src_configure() { |
190 |
- local mycmakeargs=( |
191 |
- $(cmake-utils_use_with drivingdistance DD) |
192 |
- $(cmake-utils_use_with doc DOC) |
193 |
- $(cmake-utils_use_build doc MAN) |
194 |
- $(cmake-utils_use_build html HTML) |
195 |
- $(cmake-utils_use_build pdf LATEX) |
196 |
- ) |
197 |
- |
198 |
- cmake-utils_src_configure |
199 |
-} |
200 |
- |
201 |
-src_compile() { |
202 |
- local make_opts |
203 |
- use doc && make_opts="all doc" |
204 |
- cmake-utils_src_make ${make_opts} |
205 |
-} |
206 |
- |
207 |
-src_install() { |
208 |
- use doc && doman "${BUILD_DIR}"/doc/man/en/pgrouting.7 |
209 |
- use html && dohtml -r "${BUILD_DIR}"/doc/html/* |
210 |
- use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf |
211 |
- |
212 |
- dodoc README* VERSION |
213 |
- |
214 |
- cmake-utils_src_install |
215 |
-} |
216 |
|
217 |
diff --git a/dev-db/pgrouting/pgrouting-2.5.0.ebuild b/dev-db/pgrouting/pgrouting-2.5.0.ebuild |
218 |
deleted file mode 100644 |
219 |
index 79e1b0aa8f7..00000000000 |
220 |
--- a/dev-db/pgrouting/pgrouting-2.5.0.ebuild |
221 |
+++ /dev/null |
222 |
@@ -1,95 +0,0 @@ |
223 |
-# Copyright 1999-2017 Gentoo Foundation |
224 |
-# Distributed under the terms of the GNU General Public License v2 |
225 |
- |
226 |
-EAPI="5" |
227 |
-POSTGRES_COMPAT=( 9.{4,5,6} 10 ) |
228 |
- |
229 |
-inherit eutils cmake-utils |
230 |
- |
231 |
-DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." |
232 |
-HOMEPAGE="http://pgrouting.org/index.html" |
233 |
-LICENSE="GPL-2 MIT Boost-1.0" |
234 |
- |
235 |
-SLOT="0" |
236 |
-KEYWORDS="~amd64 ~x86" |
237 |
-SRC_URI="https://github.com/pgRouting/pgrouting/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz" |
238 |
-IUSE="+drivingdistance doc pdf html" |
239 |
- |
240 |
-REQUIRED_USE="html? ( doc ) pdf? ( doc )" |
241 |
- |
242 |
-RDEPEND=" |
243 |
- || ( |
244 |
- dev-db/postgresql:10[server] |
245 |
- dev-db/postgresql:9.6[server] |
246 |
- dev-db/postgresql:9.5[server] |
247 |
- dev-db/postgresql:9.4[server] |
248 |
- ) |
249 |
- >=dev-db/postgis-2.0 |
250 |
- dev-libs/boost |
251 |
- drivingdistance? ( sci-mathematics/cgal ) |
252 |
-" |
253 |
- |
254 |
-DEPEND=" |
255 |
- doc? ( >=dev-python/sphinx-1.1 ) |
256 |
- pdf? ( >=dev-python/sphinx-1.1[latex] ) |
257 |
-" |
258 |
- |
259 |
-# Needs a running psql instance, doesn't work out of the box |
260 |
-RESTRICT="test" |
261 |
- |
262 |
-postgres_check_slot() { |
263 |
- if ! declare -p POSTGRES_COMPAT &>/dev/null; then |
264 |
- die 'POSTGRES_COMPAT not declared.' |
265 |
- fi |
266 |
- |
267 |
-# Don't die because we can't run postgresql-config during pretend. |
268 |
-[[ "$EBUILD_PHASE" = "pretend" \ |
269 |
- && -z "$(which postgresql-config 2> /dev/null)" ]] && return 0 |
270 |
- |
271 |
- local res=$(echo ${POSTGRES_COMPAT[@]} \ |
272 |
- | grep -c $(postgresql-config show 2> /dev/null) 2> /dev/null) |
273 |
- |
274 |
- if [[ "$res" -eq "0" ]] ; then |
275 |
- eerror "PostgreSQL slot must be set to one of: " |
276 |
- eerror " ${POSTGRES_COMPAT[@]}" |
277 |
- return 1 |
278 |
- fi |
279 |
- |
280 |
- return 0 |
281 |
-} |
282 |
- |
283 |
-pkg_pretend() { |
284 |
- postgres_check_slot || die |
285 |
-} |
286 |
- |
287 |
-pkg_setup() { |
288 |
- postgres_check_slot || die |
289 |
-} |
290 |
- |
291 |
-src_configure() { |
292 |
- local mycmakeargs=( |
293 |
- $(cmake-utils_use_with drivingdistance DD) |
294 |
- $(cmake-utils_use_with doc DOC) |
295 |
- $(cmake-utils_use_build doc MAN) |
296 |
- $(cmake-utils_use_build html HTML) |
297 |
- $(cmake-utils_use_build pdf LATEX) |
298 |
- ) |
299 |
- |
300 |
- cmake-utils_src_configure |
301 |
-} |
302 |
- |
303 |
-src_compile() { |
304 |
- local make_opts |
305 |
- use doc && make_opts="all doc" |
306 |
- cmake-utils_src_make ${make_opts} |
307 |
-} |
308 |
- |
309 |
-src_install() { |
310 |
- use doc && doman "${BUILD_DIR}"/doc/man/en/pgrouting.7 |
311 |
- use html && dohtml -r "${BUILD_DIR}"/doc/html/* |
312 |
- use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf |
313 |
- |
314 |
- dodoc README* VERSION |
315 |
- |
316 |
- cmake-utils_src_install |
317 |
-} |