From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/osm2pgsql/
Date: Thu, 24 Oct 2024 06:08:00 +0000 (UTC) [thread overview]
Message-ID: <1729749931.414a882f2947ac2111cb50e5f1dc3bd7b025f2d1.swegener@gentoo> (raw)
commit: 414a882f2947ac2111cb50e5f1dc3bd7b025f2d1
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 06:05:21 2024 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 06:05:31 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=414a882f
sci-geosciences/osm2pgsql: add 2.0.0
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
sci-geosciences/osm2pgsql/Manifest | 1 +
sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild | 51 ++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/sci-geosciences/osm2pgsql/Manifest b/sci-geosciences/osm2pgsql/Manifest
index bfae50571f56..608550816edb 100644
--- a/sci-geosciences/osm2pgsql/Manifest
+++ b/sci-geosciences/osm2pgsql/Manifest
@@ -1 +1,2 @@
DIST osm2pgsql-1.4.0.tar.gz 2429430 BLAKE2B 5d93a159a87c9cb12d85be8b89377f720e0d94564574f70d6f3686b215a99250967655d0eeee3dcda2742fcab356ecf62de2b4bab384d69a641a06829c401388 SHA512 f0eaceb7f78087a58bba3bbfafbb9d6d70aecd4c3ba1cfb0ce784116b52a57c69855c1a7459cce8b963c87955de269ca320cf4a3934b6ff5ad29b7554e07dd9e
+DIST osm2pgsql-2.0.0.tar.gz 2712209 BLAKE2B 064bca5796f8ede6f6fb816c8fa3758f066788c8e41c300b4a9cadd8058ca9bed49379a260ee8e5990d7a38061808f7ec78d2895c4964e5546b2ed3862d74239 SHA512 24310f0370fe5e5f87f81f553c61cc24ec80d29054f0679a2d34a3f1d72eacff93ef59611ba0938e552c9faf167f187d7117f5a08f0c0c26f258d95ebee86743
diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild
new file mode 100644
index 000000000000..67bfea565657
--- /dev/null
+++ b/sci-geosciences/osm2pgsql/osm2pgsql-2.0.0.ebuild
@@ -0,0 +1,51 @@
+# 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
+}
next reply other threads:[~2024-10-24 6:08 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 6:08 Sven Wegener [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 20:15 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/osm2pgsql/ Arthur Zamarin
2024-01-13 21:40 Sven Wegener
2022-02-19 10:54 Sven Wegener
2021-02-27 10:36 Aaron W. Swenson
2021-01-23 4:20 Sam James
2021-01-23 4:09 Sam James
2021-01-04 15:32 Sam James
2020-12-22 18:57 Sam James
2020-12-21 10:35 Aaron W. Swenson
2020-11-23 2:14 Aaron W. Swenson
2020-02-13 21:28 Andreas Sturmlechner
2020-02-13 21:28 Andreas Sturmlechner
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2020-02-12 23:24 Andreas Sturmlechner
2018-05-15 9:39 Aaron Swenson
2017-12-29 19:02 Mikle Kolyada
2017-10-14 22:44 Aaron Swenson
2017-10-14 22:27 Aaron Swenson
2017-07-30 10:04 Michał Górny
2017-04-23 13:52 Aaron Swenson
2017-04-23 13:49 Aaron Swenson
2017-04-11 17:38 Sven Wegener
2017-03-02 21:13 Andreas Sturmlechner
2017-02-10 10:27 Amy Liffey
2016-03-27 12:02 Sam Jorna
2016-01-12 20:10 Amy Winston
2015-12-19 17:15 Sven Wegener
2015-12-19 17:15 Sven Wegener
2015-12-19 17:15 Sven Wegener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1729749931.414a882f2947ac2111cb50e5f1dc3bd7b025f2d1.swegener@gentoo \
--to=swegener@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox