From e60c7cd1dcf4e9383ec34397f87b10be759b076b Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 26 Mar 2026 10:30:39 +0000 Subject: [PATCH] dev-db/timescaledb: add 2.25.2, 2.26.0 Signed-off-by: Patrick Lauer --- dev-db/timescaledb/Manifest | 2 + dev-db/timescaledb/timescaledb-2.25.2.ebuild | 65 ++++++++++++++++++++ dev-db/timescaledb/timescaledb-2.26.0.ebuild | 65 ++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 dev-db/timescaledb/timescaledb-2.25.2.ebuild create mode 100644 dev-db/timescaledb/timescaledb-2.26.0.ebuild diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 744d37b621dc7..87e23d2ebd9e7 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,3 +1,5 @@ DIST timescaledb-2.23.1.tar.gz 8276671 BLAKE2B bc94d9e4b459c7c6903cd58b532d5e7242095b2f9fe0a3a824b26580d65e23b7f67b5eacf2516fc30101cb27a9f08ad4a909ffef0e90cc56a20e7adf8cb7996e SHA512 120efa5b859cd27f0f671261335372f7ebda30c1a7e66be9f7ebb0aa86c13b3acda45fa25c7e0744ffb54f9f225db2e7c4959db54f42df3c21b399219542b46b DIST timescaledb-2.24.0.tar.gz 8324256 BLAKE2B 382552cf26986bea7eb3ace7dfa772c69cff2822c694fc441dbcf545ad0751a8c133810823aff25a0444628a4c089ccada4c8ef9cc8be8f9da7e9adcec678037 SHA512 d3f5bad924c7f7a244242afa866994e75627534d1a2b3e076c88ad06dba8a09d79479fbb77f4b84543ec3a201b009a7bdcff8b80a05672d4b8bebf8a6822d241 DIST timescaledb-2.25.1.tar.gz 8282380 BLAKE2B 24c1b01582b64cfd3474c3c069b9224b15db7410f90d8d12a3139291ff877259af177fd1d8971e9a0284b355bfcc3c92b7560626b9aa2c05bdd454effcfc5fb5 SHA512 04dbd1dfe5074e19a5dc276943d1ee25380c5739db6786902c6baa132dc7c33ba003ff1b4484156e6149e635d3d931ec36c2b979ca2236b71905bfb307a1d91a +DIST timescaledb-2.25.2.tar.gz 8308761 BLAKE2B 416e8e44573c2fe4b19becb0aabf30558a46261ee9b8cd1659b634b458fda5c7f2bc73b55b30f499fcda6aba6b8e16ae1ef4f8951a4744edbd42ab313c8ffca8 SHA512 c4a3c6feb49a71dc373fa19316d617c442dfcd94ed2284a9f43bf845dac1a2e6e754dfb50072c80b57e3f986298a25a3d0631b2883465f7b1857f9ee670d36ae +DIST timescaledb-2.26.0.tar.gz 8438839 BLAKE2B 76374a4c90bdb3728fabcfa6a9c35ccac6f2cc9dc24d0ac404ddd5692eaa5d498304d42e982666f3d81294e18e1a8d9a59e08ded3b05b6c03776440d8022ea54 SHA512 87f13d5e6d86740200374c2f1159765c35d27171357a50d362e347c82b75fc9a0ef6d222e9c80f0307788331ab282537530d6f5813201fbb1f792876b43800b1 diff --git a/dev-db/timescaledb/timescaledb-2.25.2.ebuild b/dev-db/timescaledb/timescaledb-2.25.2.ebuild new file mode 100644 index 0000000000000..308f5fb016dd3 --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.25.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 15 16 17 18 ) +POSTGRES_USEDEP="ssl" + +inherit postgres-multi cmake + +DESCRIPTION="Open-source time-series SQL database" +HOMEPAGE="https://www.timescale.com/" +SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" +SLOT=0 +KEYWORDS="~amd64" +IUSE="proprietary-extensions" + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +CMAKE_IN_SOURCE_BUILD=yes +CMAKE_BUILD_TYPE="RelWithDebInfo" +BUILD_DIR=${WORKDIR}/${P} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) + + # licensing is tied to features, this useflag disables the non-apache2 licensed bits + if ! use proprietary-extensions ; then + mycmakeargs+=("-DAPACHE_ONLY=ON") + fi + cmake_src_configure +} + +src_configure() { + postgres-multi_foreach timescale_configure +} + +timescale_src_compile() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_compile +} + +src_compile() { + postgres-multi_foreach timescale_src_compile +} + +timescale_src_install() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_install +} + +src_install() { + postgres-multi_foreach timescale_src_install +} diff --git a/dev-db/timescaledb/timescaledb-2.26.0.ebuild b/dev-db/timescaledb/timescaledb-2.26.0.ebuild new file mode 100644 index 0000000000000..308f5fb016dd3 --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.26.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 15 16 17 18 ) +POSTGRES_USEDEP="ssl" + +inherit postgres-multi cmake + +DESCRIPTION="Open-source time-series SQL database" +HOMEPAGE="https://www.timescale.com/" +SRC_URI="https://github.com/timescale/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" +SLOT=0 +KEYWORDS="~amd64" +IUSE="proprietary-extensions" + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +CMAKE_IN_SOURCE_BUILD=yes +CMAKE_BUILD_TYPE="RelWithDebInfo" +BUILD_DIR=${WORKDIR}/${P} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) + + # licensing is tied to features, this useflag disables the non-apache2 licensed bits + if ! use proprietary-extensions ; then + mycmakeargs+=("-DAPACHE_ONLY=ON") + fi + cmake_src_configure +} + +src_configure() { + postgres-multi_foreach timescale_configure +} + +timescale_src_compile() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_compile +} + +src_compile() { + postgres-multi_foreach timescale_src_compile +} + +timescale_src_install() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_install +} + +src_install() { + postgres-multi_foreach timescale_src_install +}