1 |
commit: ace027057c48ca32a1a0fe0ed5e2faad14756db7 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 28 13:10:52 2018 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 28 13:10:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace02705 |
7 |
|
8 |
dev-db/pgrouting: Bump to 2.5.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
dev-db/pgrouting/Manifest | 1 + |
13 |
dev-db/pgrouting/pgrouting-2.5.2.ebuild | 64 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest |
17 |
index a0c76dbe8b5..d02a4de3b5c 100644 |
18 |
--- a/dev-db/pgrouting/Manifest |
19 |
+++ b/dev-db/pgrouting/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pgrouting-2.0.0.tar.gz 3765933 BLAKE2B 3bf574b79851e33bb9b5f99220757c02061ec052027940d73f7e8602e876644a0cb780fb3291c60a6e4fa54d886ed574d2a651971c01cd950778b561356c997f SHA512 4a74cc1ce1bbbb8d95ae2aabc712e30c97e0418b1e4f28a255ecd9e57577bd7081a52e6e64a63cb06c9ca659271273b37bdbefb94d49e69b9c2ce45e96911884 |
22 |
DIST pgrouting-2.5.0.tar.gz 7157856 BLAKE2B aa9c9afb982e367692aefc07583d0e362503d6c3d4b7d1ec17f6eee60848e8d01a54b520e7417cc92d6fb3f4b526da1826abc7d7e8db88126d8946ae6f699b0b SHA512 663dd5f5133d0bf1bbf7c35480c644ba848e65259023a0ef7f31b813b8ed99a4e2cfb813d870de7550e98ca1f8b0255aa28b2c948d13e8975af9f0d19f820784 |
23 |
+DIST pgrouting-2.5.2.tar.gz 7221479 BLAKE2B afbf29b7cbd52df526203198fb76d9e9e37e88a4b92d2139975238a14fe5a30c8102449d157e391913e690129a1ca8ac718763d9242193cac4080bc7347e1553 SHA512 9d9d9ebbcbc003f62bf1f0d548363e756012cdce55a9c3ef56ae9a5a510f25337898becf42f3e04bf10e8d3672ebf698def03833bba33410b65e0d2bdd42aecd |
24 |
|
25 |
diff --git a/dev-db/pgrouting/pgrouting-2.5.2.ebuild b/dev-db/pgrouting/pgrouting-2.5.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fa48f5a3fb6 |
28 |
--- /dev/null |
29 |
+++ b/dev-db/pgrouting/pgrouting-2.5.2.ebuild |
30 |
@@ -0,0 +1,64 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+POSTGRES_COMPAT=( 9.{4,5,6} 10 ) |
37 |
+POSTGRES_USEDEP="server" |
38 |
+ |
39 |
+inherit postgres cmake-utils |
40 |
+ |
41 |
+DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." |
42 |
+HOMEPAGE="http://pgrouting.org/" |
43 |
+LICENSE="GPL-2 MIT Boost-1.0" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+IUSE="+drivingdistance doc pdf html" |
49 |
+ |
50 |
+REQUIRED_USE="html? ( doc ) pdf? ( doc )" |
51 |
+ |
52 |
+RDEPEND="${POSTGRES_DEP} |
53 |
+ >=dev-db/postgis-2.0 |
54 |
+ dev-libs/boost |
55 |
+ drivingdistance? ( sci-mathematics/cgal ) |
56 |
+" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ doc? ( >=dev-python/sphinx-1.1 ) |
60 |
+ pdf? ( >=dev-python/sphinx-1.1[latex] ) |
61 |
+" |
62 |
+ |
63 |
+# Needs a running psql instance, doesn't work out of the box |
64 |
+RESTRICT="test" |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ postgres_pkg_setup |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local mycmakeargs=( |
72 |
+ -DBUILD_HTML=$(usex html) |
73 |
+ -DBUILD_LATEX=$(usex pdf) |
74 |
+ -DBUILD_MAN=$(usex doc) |
75 |
+ -DWITH_DD=$(usex drivingdistance) |
76 |
+ -DWITH_DOC=$(usex doc) |
77 |
+ ) |
78 |
+ |
79 |
+ cmake-utils_src_configure |
80 |
+} |
81 |
+ |
82 |
+src_compile() { |
83 |
+ local make_opts |
84 |
+ use doc && make_opts="all doc" |
85 |
+ cmake-utils_src_make ${make_opts} |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ cmake-utils_src_install |
90 |
+ |
91 |
+ use doc && doman "${BUILD_DIR}"/doc/man/en/pgrouting.7 |
92 |
+ use html && dodoc -r "${BUILD_DIR}"/doc/html |
93 |
+ use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf |
94 |
+} |