mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
sci-geosciences/osm2pgsql: drop 2.0.0
Closes: https://bugs.gentoo.org/963617 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
c89b7ffb9a
commit
4e4c10faa2
@ -1,2 +1 @@
|
||||
DIST osm2pgsql-2.0.0.tar.gz 2712209 BLAKE2B 064bca5796f8ede6f6fb816c8fa3758f066788c8e41c300b4a9cadd8058ca9bed49379a260ee8e5990d7a38061808f7ec78d2895c4964e5546b2ed3862d74239 SHA512 24310f0370fe5e5f87f81f553c61cc24ec80d29054f0679a2d34a3f1d72eacff93ef59611ba0938e552c9faf167f187d7117f5a08f0c0c26f258d95ebee86743
|
||||
DIST osm2pgsql-2.2.0.tar.gz 2729137 BLAKE2B 70d3ec394638bb02e613b7796e239e02748436452cbf8c672459c968ce11c2352b76ec153c82dc8905a3a6f01e9fb6a4a8775e064b4dfb8cf4f10c35481f5ace SHA512 873d6fb6470f2a61ec5243e20faa556739122de55b90770ab8df62d3a86a9751875e1f036c3fca3836354c39a690729f712265df1151f169ed988589139e5cb2
|
||||
|
||||
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua-single
|
||||
|
||||
DESCRIPTION="Converts OSM planet.osm data to a PostgreSQL/PostGIS database"
|
||||
HOMEPAGE="https://osm2pgsql.org/"
|
||||
SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-arch/bzip2
|
||||
dev-db/postgresql:=
|
||||
dev-libs/expat
|
||||
sci-libs/proj:=
|
||||
sys-libs/zlib
|
||||
${LUA_DEPS}
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
dev-libs/boost:=
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-db/postgis
|
||||
"
|
||||
|
||||
# Tries to connect to local postgres server and other shenanigans
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.0-cmake_lua_version.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_LUAJIT=$(usex lua_single_target_luajit)
|
||||
# To prevent the "unused variable" QA warning
|
||||
$(usex !lua_single_target_luajit "-DLUA_VERSION=$(lua_get_version)" "")
|
||||
-DBUILD_TESTS=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user