1 |
commit: fd8ac3f9f7aed7cc9a1241435a75bf4dd3bbb2a9 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 30 19:02:33 2021 +0000 |
4 |
Commit: 罗百科 <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 30 19:02:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd8ac3f9 |
7 |
|
8 |
dev-db/pgrouting: Bump to 3.2.1 |
9 |
|
10 |
Also support postgres-14 |
11 |
|
12 |
Package-Manager: Portage-3.0.26, Repoman-3.0.3 |
13 |
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> |
14 |
|
15 |
dev-db/pgrouting/Manifest | 1 + |
16 |
dev-db/pgrouting/pgrouting-3.2.1.ebuild | 52 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest |
20 |
index ef329624523..c87ff7d72cf 100644 |
21 |
--- a/dev-db/pgrouting/Manifest |
22 |
+++ b/dev-db/pgrouting/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST pgrouting-3.1.1.tar.gz 6133979 BLAKE2B b7657eeb88773773e6166190cda73d9e657774ff81ce7e9f005333a8dcb9d56587d4a793410356092bb1623ec287549dbc60d814b1d5156ff28301503acee776 SHA512 73285d2d47be844203df136b8a8c13d1672ad8c2dac44a1ff7ce16e4676043692a8f2a60a305542132891da83560c49c5eaeb7712e3e3dd250cd8fd550260d4a |
25 |
DIST pgrouting-3.1.2.tar.gz 6063893 BLAKE2B a371fb9c744b14072c65af5ceb1ea73d2cdb69821626be3ac79e08c9dee854272ce8cb3816d1de3eade06d50a7520846dd6bccda06934b9db926f9092719f131 SHA512 3cf3e0a4a726f6f11887d15ad71b789a9067f3bc5a675288f22730215aa12d12b94d75f9bdc8ab3077de8368c45c55c0dc27128d0453c4c30965bfc0cf118dcd |
26 |
DIST pgrouting-3.1.3.tar.gz 6057504 BLAKE2B 73bc5d810a2f7bb383ba4fef4ffa52ccb3f21dbc00c68f02665dc459c0e0a2810e0ed10ab73bb3099be5ea6dde86bad884d82039a50c9c4eb423b614845e94b6 SHA512 1051f0a91813ccb3c396c78a059b99839b3352e562372bcc459dfaf289e35ea08bdba8a159032a3df46913548fc717968c187b8c480187497a5b5f7327ca470e |
27 |
+DIST pgrouting-3.2.1.tar.gz 5940439 BLAKE2B 01f4ec19d4cee9165a5aca946935cf4786a42f943602eca99414b536dec11ffe298f960e11aaa8b747c1b9c1839625ac9d3e7f67f1f606e941c9c738b4970479 SHA512 ead51de138950707008a7ea6b1a18cfe4d8b1885bfe92849464c2714e39f8e43ef3dbebd1c68279987a1321705fe33a598efb463078491d52cb90a8d1a0414c7 |
28 |
|
29 |
diff --git a/dev-db/pgrouting/pgrouting-3.2.1.ebuild b/dev-db/pgrouting/pgrouting-3.2.1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..b7b14cb3151 |
32 |
--- /dev/null |
33 |
+++ b/dev-db/pgrouting/pgrouting-3.2.1.ebuild |
34 |
@@ -0,0 +1,52 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+CMAKE_BUILD_TYPE="Release" |
41 |
+ |
42 |
+POSTGRES_COMPAT=( 9.6 {10..14} ) |
43 |
+POSTGRES_USEDEP="server" |
44 |
+ |
45 |
+inherit cmake postgres-multi |
46 |
+ |
47 |
+DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality." |
48 |
+HOMEPAGE="https://pgrouting.org/" |
49 |
+LICENSE="GPL-2 MIT Boost-1.0" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+IUSE="" |
55 |
+ |
56 |
+RDEPEND="${POSTGRES_DEP} |
57 |
+ >=dev-db/postgis-2.0 |
58 |
+ dev-libs/boost |
59 |
+ sci-mathematics/cgal |
60 |
+" |
61 |
+ |
62 |
+DEPEND="${RDEPEND}" |
63 |
+# Needs a running psql instance, doesn't work out of the box |
64 |
+RESTRICT="test" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ cmake_src_prepare |
68 |
+ postgres-multi_src_prepare |
69 |
+} |
70 |
+ |
71 |
+my_src_configure() { |
72 |
+ local mycmakeargs=( -DPOSTGRESQL_BIN="$($PG_CONFIG --bindir)" ) |
73 |
+ cmake_src_configure |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ postgres-multi_foreach my_src_configure |
78 |
+} |
79 |
+ |
80 |
+src_compile() { |
81 |
+ postgres-multi_foreach cmake_build |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ postgres-multi_foreach cmake_src_install |
86 |
+} |