Gentoo Archives: gentoo-commits

From: "Aaron W. Swenson" <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgrouting/
Date: Wed, 02 Oct 2019 23:51:16
Message-Id: 1570060257.4efc08d4a2b1cb4c2dd3ac39cb7baf3d55c674f8.titanofold@gentoo
1 commit: 4efc08d4a2b1cb4c2dd3ac39cb7baf3d55c674f8
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 2 23:50:51 2019 +0000
4 Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 2 23:50:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efc08d4
7
8 dev-db/pgrouting: Cleanup
9
10 Closes: https://bugs.gentoo.org/625778
11 Package-Manager: Portage-2.3.69, Repoman-2.3.16
12 Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
13
14 dev-db/pgrouting/Manifest | 1 -
15 dev-db/pgrouting/metadata.xml | 1 -
16 dev-db/pgrouting/pgrouting-2.5.2.ebuild | 64 ---------------------------------
17 dev-db/pgrouting/pgrouting-2.6.2.ebuild | 64 ---------------------------------
18 4 files changed, 130 deletions(-)
19
20 diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest
21 index 8c026319d9c..aa2c6d3e681 100644
22 --- a/dev-db/pgrouting/Manifest
23 +++ b/dev-db/pgrouting/Manifest
24 @@ -1,2 +1 @@
25 -DIST pgrouting-2.5.2.tar.gz 7221479 BLAKE2B afbf29b7cbd52df526203198fb76d9e9e37e88a4b92d2139975238a14fe5a30c8102449d157e391913e690129a1ca8ac718763d9242193cac4080bc7347e1553 SHA512 9d9d9ebbcbc003f62bf1f0d548363e756012cdce55a9c3ef56ae9a5a510f25337898becf42f3e04bf10e8d3672ebf698def03833bba33410b65e0d2bdd42aecd
26 DIST pgrouting-2.6.2.tar.gz 6065517 BLAKE2B e27e28cf988040de1e894a857e3d210bc7676271f69d898afc2d6116d5b88d87404723b2cb1283ef77b4449b4aa62a03e2dbcd489ac641a4721a596d29f8fecd SHA512 6e37f66e631d0cc87e135be7d095822aae21656bb56b3d18afa5bececaad8cee6324d37e8e152bbf69e3374ded1f10aa4b9a4c52b873e3a4c43e73cd877fddcb
27
28 diff --git a/dev-db/pgrouting/metadata.xml b/dev-db/pgrouting/metadata.xml
29 index 01cf346d26b..a88d7650380 100644
30 --- a/dev-db/pgrouting/metadata.xml
31 +++ b/dev-db/pgrouting/metadata.xml
32 @@ -7,7 +7,6 @@
33 </maintainer>
34 <use>
35 <flag name="html">Install HTML formatted documentation</flag>
36 - <flag name="drivingdistance">Enable to calculate driving distance</flag>
37 </use>
38 <upstream>
39 <remote-id type="github">pgRouting/pgrouting</remote-id>
40
41 diff --git a/dev-db/pgrouting/pgrouting-2.5.2.ebuild b/dev-db/pgrouting/pgrouting-2.5.2.ebuild
42 deleted file mode 100644
43 index 7a0afdc63ea..00000000000
44 --- a/dev-db/pgrouting/pgrouting-2.5.2.ebuild
45 +++ /dev/null
46 @@ -1,64 +0,0 @@
47 -# Copyright 1999-2018 Gentoo Foundation
48 -# Distributed under the terms of the GNU General Public License v2
49 -
50 -EAPI=6
51 -
52 -POSTGRES_COMPAT=( 9.{4,5,6} 10 )
53 -POSTGRES_USEDEP="server"
54 -
55 -inherit postgres cmake-utils
56 -
57 -DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality."
58 -HOMEPAGE="https://pgrouting.org/"
59 -LICENSE="GPL-2 MIT Boost-1.0"
60 -
61 -SLOT="0"
62 -KEYWORDS="~amd64 ~x86"
63 -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
64 -IUSE="+drivingdistance doc pdf html"
65 -
66 -REQUIRED_USE="html? ( doc ) pdf? ( doc )"
67 -
68 -RDEPEND="${POSTGRES_DEP}
69 - >=dev-db/postgis-2.0
70 - dev-libs/boost
71 - drivingdistance? ( sci-mathematics/cgal )
72 -"
73 -
74 -DEPEND="
75 - doc? ( >=dev-python/sphinx-1.1 )
76 - pdf? ( >=dev-python/sphinx-1.1[latex] )
77 -"
78 -
79 -# Needs a running psql instance, doesn't work out of the box
80 -RESTRICT="test"
81 -
82 -pkg_setup() {
83 - postgres_pkg_setup
84 -}
85 -
86 -src_configure() {
87 - local mycmakeargs=(
88 - -DBUILD_HTML=$(usex html)
89 - -DBUILD_LATEX=$(usex pdf)
90 - -DBUILD_MAN=$(usex doc)
91 - -DWITH_DD=$(usex drivingdistance)
92 - -DWITH_DOC=$(usex doc)
93 - )
94 -
95 - cmake-utils_src_configure
96 -}
97 -
98 -src_compile() {
99 - local make_opts
100 - use doc && make_opts="all doc"
101 - cmake-utils_src_make ${make_opts}
102 -}
103 -
104 -src_install() {
105 - cmake-utils_src_install
106 -
107 - use doc && doman "${BUILD_DIR}"/doc/man/en/pgrouting.7
108 - use html && dodoc -r "${BUILD_DIR}"/doc/html
109 - use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf
110 -}
111
112 diff --git a/dev-db/pgrouting/pgrouting-2.6.2.ebuild b/dev-db/pgrouting/pgrouting-2.6.2.ebuild
113 deleted file mode 100644
114 index 7690a22ce13..00000000000
115 --- a/dev-db/pgrouting/pgrouting-2.6.2.ebuild
116 +++ /dev/null
117 @@ -1,64 +0,0 @@
118 -# Copyright 1999-2019 Gentoo Authors
119 -# Distributed under the terms of the GNU General Public License v2
120 -
121 -EAPI=6
122 -
123 -POSTGRES_COMPAT=( 9.{4..6} 10 11 )
124 -POSTGRES_USEDEP="server"
125 -
126 -inherit postgres cmake-utils
127 -
128 -DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality."
129 -HOMEPAGE="http://pgrouting.org/"
130 -LICENSE="GPL-2 MIT Boost-1.0"
131 -
132 -SLOT="0"
133 -KEYWORDS="~amd64 ~x86"
134 -SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
135 -IUSE="doc pdf html"
136 -
137 -REQUIRED_USE="html? ( doc ) pdf? ( doc )"
138 -
139 -RDEPEND="${POSTGRES_DEP}
140 - >=dev-db/postgis-2.0
141 - dev-libs/boost
142 - sci-mathematics/cgal
143 -"
144 -
145 -DEPEND="
146 - doc? ( >=dev-python/sphinx-1.2 )
147 - pdf? ( >=dev-python/sphinx-1.2[latex] )
148 -"
149 -
150 -# Needs a running psql instance, doesn't work out of the box
151 -RESTRICT="test"
152 -
153 -pkg_setup() {
154 - postgres_pkg_setup
155 -}
156 -
157 -src_configure() {
158 - local mycmakeargs=(
159 - -DBUILD_HTML=$(usex html)
160 - -DBUILD_LATEX=$(usex pdf)
161 - -DBUILD_MAN=ON
162 - -DWITH_DOC=$(usex doc)
163 - )
164 -
165 - cmake-utils_src_configure
166 -}
167 -
168 -src_compile() {
169 - local make_opts
170 - use doc && make_opts="all doc"
171 - cmake-utils_src_make ${make_opts}
172 -}
173 -
174 -src_install() {
175 - cmake-utils_src_install
176 -
177 - doman "${BUILD_DIR}"/doc/man/en/pgrouting.7
178 -
179 - use html && dodoc -r "${BUILD_DIR}"/doc/html
180 - use pdf && dodoc "${BUILD_DIR}"/doc/latex/en/*.pdf
181 -}