From 484eaea70c7395289fc59429c279edcf2e6abb44 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Wed, 11 Mar 2026 16:32:36 +0000 Subject: [PATCH] dev-db/pgrouting: add 4.0.1 Signed-off-by: Patrick Lauer --- dev-db/pgrouting/Manifest | 1 + dev-db/pgrouting/pgrouting-4.0.1.ebuild | 52 +++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-db/pgrouting/pgrouting-4.0.1.ebuild diff --git a/dev-db/pgrouting/Manifest b/dev-db/pgrouting/Manifest index 8865bf5f9eb7e..0efc1b2b5d713 100644 --- a/dev-db/pgrouting/Manifest +++ b/dev-db/pgrouting/Manifest @@ -2,3 +2,4 @@ DIST pgrouting-3.6.2.tar.gz 3873384 BLAKE2B 118d57018d344055e3a7d7daef07f0f89169 DIST pgrouting-3.7.0.tar.gz 3870824 BLAKE2B 19f5327dd76311e9ec1409c5e77fc59c599f2b22b847fb936f11e891d433fb43629dd2f2223cb923f45f7ebbcdd58cb749076851f3d0a980953e257adc3a3265 SHA512 8ebe82a6c0e6d2974d298fbdb2b3d48304da76395da5459183e8ade56b247e179b606fc3a6ab60478696a0dd9671be20995b1f13beb61df2393d4f36050baf23 DIST pgrouting-3.7.3.tar.gz 3873167 BLAKE2B 987b6f746b277a9258e46d598e9eeb1a451de286de497b79fde7dd66ae0e44c6b75e7aecdf7d9a86505ae8c3615d3064fabfa67b21aca23e8b9c2af2be593751 SHA512 fdc46853268b7c54df73f50cfc1fad99fbfb6ef214ec5651fbae37e8f6335cb03c9fc95d6309f43ba3fb35d0c8453f64d1a7416cd4ff565e32864786484b8440 DIST pgrouting-3.8.0.tar.gz 3878578 BLAKE2B f6c4d60fb41f7ea6a1b6a6856c6079294da9cb8a3ee7eba3e1f88b42449132cac30e920c6548715b82319e315e317aa0d80e40449748cc9c7fa847eb65a46ac3 SHA512 d79bc879e3d95d04309c50de8b5abdadc29a54f47f777d0dc513e995ff9839595d4824326cc4d6997881b8f8a4d0b01c890f449edae4f5421a4cb2c217e8fd34 +DIST pgrouting-4.0.1.tar.gz 3854718 BLAKE2B d28bc413ef505db650adcab5f6f55c9c0b0966bb0e7d39655e90962b7fa5d9414c1f1b6082fe63ddfb357eb136394b57f13e3e729533c4d6687bc33877208696 SHA512 a1608d37a6f9619fe831c936da5fda0148df677e667d41e1a257ba637f9337235b4eaa6a80209d4d6276ab2aaceb98ed4a7c9e4cb876974ffd507b75b03b92e6 diff --git a/dev-db/pgrouting/pgrouting-4.0.1.ebuild b/dev-db/pgrouting/pgrouting-4.0.1.ebuild new file mode 100644 index 0000000000000..54015bd808ff4 --- /dev/null +++ b/dev-db/pgrouting/pgrouting-4.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_BUILD_TYPE="Release" + +POSTGRES_COMPAT=( {14..18} ) +POSTGRES_USEDEP="server" + +inherit cmake postgres-multi + +DESCRIPTION="pgRouting extends PostGIS and PostgreSQL with geospatial routing functionality" +HOMEPAGE="https://pgrouting.org/" +LICENSE="GPL-2 MIT Boost-1.0" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +SRC_URI="https://github.com/pgRouting/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +IUSE="" + +RDEPEND="${POSTGRES_DEP} + >=dev-db/postgis-2.0 + dev-libs/boost + sci-mathematics/cgal +" + +DEPEND="${RDEPEND}" +# Needs a running psql instance, doesn't work out of the box +RESTRICT="test" + +src_prepare() { + cmake_src_prepare + postgres-multi_src_prepare +} + +my_src_configure() { + local mycmakeargs=( -DPOSTGRESQL_BIN="$($PG_CONFIG --bindir)" ) + cmake_src_configure +} + +src_configure() { + postgres-multi_foreach my_src_configure +} + +src_compile() { + postgres-multi_foreach cmake_build +} + +src_install() { + postgres-multi_foreach cmake_src_install +}