Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/osm2pgsql/
Date: Sat, 14 Oct 2017 22:29:38
Message-Id: 1508020013.e15c545607ff77ddc8205888c2b3c2a05cce3339.titanofold@gentoo
1 commit: e15c545607ff77ddc8205888c2b3c2a05cce3339
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 14 22:26:53 2017 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 14 22:26:53 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15c5456
7
8 sci-geosciences/osm2pgsql: Version bump to 0.94.0
9
10 Gentoo-Bug: 634086
11 Package-Manager: Portage-2.3.8, Repoman-2.3.3
12
13 sci-geosciences/osm2pgsql/Manifest | 1 +
14 sci-geosciences/osm2pgsql/osm2pgsql-0.94.0.ebuild | 41 +++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/sci-geosciences/osm2pgsql/Manifest b/sci-geosciences/osm2pgsql/Manifest
18 index e18771ef3eb..8f7ba787528 100644
19 --- a/sci-geosciences/osm2pgsql/Manifest
20 +++ b/sci-geosciences/osm2pgsql/Manifest
21 @@ -1 +1,2 @@
22 DIST osm2pgsql-0.92.0.tar.gz 1364481 SHA256 b741cfdf6489fd5def721f75a9558b8cda53165dda7ca9548fcc5b43e163ee77 SHA512 fc2afd6c06f8a44ce3c75e3a731d48cefa17b406c296208519f598531cb3d9561fcfd09c69bc20753ba7e9440087f3f5d38bfe117ab222d8b10987a8d3165ae8 WHIRLPOOL 4fd5d1c645e173f018618edb9fd49da692637fb59a9ccac13ddbef74003fd776af669f23fa2346bb33be2c7d89e121cc206892d18bd2c123debef032827ee45f
23 +DIST osm2pgsql-0.94.0.tar.gz 1203310 SHA256 9e67e400deca48185313921431884171fb087dfe9e0d21e31857b8b06f20d317 SHA512 eceb5de7679048f51a9ad1be4ecf5b2d26da827b3eb8d6b0e86657603c8bf8a6f8d6f665c8ff8db91070a2966057f2deed5e4a3cc8bfb28e60a6031454e4758e WHIRLPOOL 2ebc7f0c09079a9417f7c67b7c2fa8ea275b35f20df9cbfed1c9223d7ee1385af9313c6fc3c165ef410b7480517333284921e2e46c0e2706d318cb21d0761b3b
24
25 diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-0.94.0.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-0.94.0.ebuild
26 new file mode 100644
27 index 00000000000..801da8b39d7
28 --- /dev/null
29 +++ b/sci-geosciences/osm2pgsql/osm2pgsql-0.94.0.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit cmake-utils
37 +
38 +DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db"
39 +HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql https://github.com/openstreetmap/osm2pgsql"
40 +SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="+lua"
46 +
47 +COMMON_DEPEND="
48 + app-arch/bzip2
49 + dev-db/postgresql:=
50 + dev-libs/expat
51 + sci-libs/proj
52 + sys-libs/zlib
53 + lua? ( dev-lang/lua:= )
54 +"
55 +DEPEND="${COMMON_DEPEND}
56 + dev-libs/boost
57 +"
58 +RDEPEND="${COMMON_DEPEND}
59 + dev-db/postgis
60 +"
61 +
62 +# Tries to connect to local postgres server and other shenanigans
63 +RESTRICT="test"
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + -DWITH_LUA=$(usex lua)
68 + -DBUILD_TESTS=OFF
69 + )
70 + cmake-utils_src_configure
71 +}