Skip to content

Commit 8f76957

Browse files
committed
sci-geosciences/osm2pgsql: 0.92.0 version bump, sync live ebuild
USE=lua also needs to trigger a build switch. Add dev-db/postgis to RDEPEND. Live: Switch to git-r3.eclass. EAPI 6. Last bumps seem to not have been made from more correct live ebuild. Gentoo-bug: 608590 Package-Manager: Portage-2.3.3, Repoman-2.3.1
1 parent e11a3a6 commit 8f76957

File tree

3 files changed

+62
-4
lines changed

3 files changed

+62
-4
lines changed

sci-geosciences/osm2pgsql/Manifest

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ DIST osm2pgsql-0.87.0.tar.gz 2139841 SHA256 6f5538d098e17a578a384f70f61b335f10ed
44
DIST osm2pgsql-0.87.1.tar.gz 2139623 SHA256 49cdfb36ab1abbc568bd5d8593a671d76205ed47efba5a23d84ab1b975b4b62e SHA512 2efa1e350c24cc6a5aac69e9df60172bfbe99a5fc10d4fea8f1af28afaf4c0176e51dd357c89e2d68a264b283457e798746da47515684f2aeee3a26abe6d1171 WHIRLPOOL d00be1f2613c7fa779ece1ce2b16b68d423a365569d4355848fd5fcaa72cbcc49b11b9c083fd28533c92b42c0f59ab3a9538a4cc5253cb74c50ee271aacd948a
55
DIST osm2pgsql-0.88.1.tar.gz 2140606 SHA256 08ec33c833768dec9856f537bbf4416ad45837ee0851eeeab0081c7bbed3449e SHA512 fe98afdeab9fa966bacc1b5886dc10494f2d58e0c8d26be1c732e782b583c1285689506c412d16b70cdd5b3e4146204f52201283ef54a0746fcf99f76cbe1fd5 WHIRLPOOL b20e84c2187a99555619e098035805e6916a7b9f96f27cc5e94f68f80d09e3ec3c773f1058a5b41b5fa8c834f7a78d39a7b4fb7a4b9901629bfd98007c392025
66
DIST osm2pgsql-0.90.0.tar.gz 1326711 SHA256 cebf53c54ab2cd8b2fec351327f3849778ffd0c1c1fa811b8d5e7dae88ef4fd8 SHA512 ef523bb1e5600884143a8303af318792d0a7412515455230eeaa18875b453ea52b8b76a217416c1f30bf53245cc51e15d4d30b84067624d1b5692e3f3bff4ed8 WHIRLPOOL 093e5a3cdb0e2697be59d123a0476ae49299dc76ffe349ebeb801ebda0fddbd201ae2ac1231ed0cf65a087f383e7dad4cd099d34569d62c23cf8d1993411b7d7
7+
DIST osm2pgsql-0.92.0.tar.gz 1364481 SHA256 b741cfdf6489fd5def721f75a9558b8cda53165dda7ca9548fcc5b43e163ee77 SHA512 fc2afd6c06f8a44ce3c75e3a731d48cefa17b406c296208519f598531cb3d9561fcfd09c69bc20753ba7e9440087f3f5d38bfe117ab222d8b10987a8d3165ae8 WHIRLPOOL 4fd5d1c645e173f018618edb9fd49da692637fb59a9ccac13ddbef74003fd776af669f23fa2346bb33be2c7d89e121cc206892d18bd2c123debef032827ee45f
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright 1999-2017 Gentoo Foundation
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=6
5+
6+
inherit cmake-utils
7+
8+
DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db"
9+
HOMEPAGE="http://wiki.openstreetmap.org/wiki/Osm2pgsql https://github.com/openstreetmap/osm2pgsql"
10+
SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
11+
12+
LICENSE="GPL-2"
13+
SLOT="0"
14+
KEYWORDS="~amd64 ~x86"
15+
IUSE="+lua"
16+
17+
COMMON_DEPEND="
18+
app-arch/bzip2
19+
dev-db/postgresql:=
20+
dev-libs/expat
21+
<sci-libs/geos-3.6.0
22+
sci-libs/proj
23+
sys-libs/zlib
24+
lua? ( dev-lang/lua:= )
25+
"
26+
DEPEND="${COMMON_DEPEND}
27+
dev-libs/boost
28+
"
29+
RDEPEND="${COMMON_DEPEND}
30+
dev-db/postgis
31+
"
32+
33+
# Tries to connect to local postgres server and other shenanigans
34+
RESTRICT="test"
35+
36+
src_configure() {
37+
local mycmakeargs=(
38+
-DWITH_LUA=$(usex lua)
39+
-DBUILD_TESTS=OFF
40+
)
41+
cmake-utils_src_configure
42+
}

sci-geosciences/osm2pgsql/osm2pgsql-99999999.ebuild

+19-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Copyright 1999-2017 Gentoo Foundation
22
# Distributed under the terms of the GNU General Public License v2
33

4-
EAPI=5
4+
EAPI=6
55

6-
inherit cmake-utils git-2
6+
inherit cmake-utils git-r3
77

88
EGIT_REPO_URI="git://github.com/openstreetmap/osm2pgsql.git"
99

@@ -20,10 +20,25 @@ DEPEND="
2020
app-arch/bzip2
2121
dev-db/postgresql:=
2222
dev-libs/expat
23-
dev-libs/boost
2423
<sci-libs/geos-3.6.0
2524
sci-libs/proj
2625
sys-libs/zlib
2726
lua? ( dev-lang/lua:= )
2827
"
29-
RDEPEND="${DEPEND}"
28+
DEPEND="${COMMON_DEPEND}
29+
dev-libs/boost
30+
"
31+
RDEPEND="${COMMON_DEPEND}
32+
dev-db/postgis
33+
"
34+
35+
# Tries to connect to local postgres server and other shenanigans
36+
RESTRICT="test"
37+
38+
src_configure() {
39+
local mycmakeargs=(
40+
-DWITH_LUA=$(usex lua)
41+
-DBUILD_TESTS=OFF
42+
)
43+
cmake-utils_src_configure
44+
}

0 commit comments

Comments
 (0)