From 6d44a3eddf62cca056fb32c86d3f9b1df4164d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Sat, 31 Aug 2024 04:01:33 +0200 Subject: [PATCH] [dev-db/timescaledb] bump --- dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.16.1.ebuild | 56 ++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-db/timescaledb/timescaledb-2.16.1.ebuild diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index f2f6335..f258d9f 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1 +1,2 @@ DIST timescaledb-2.15.3.tar.gz 7441097 BLAKE2B 35d6edb31be79045ab8b8b409e4fcd28acac261f96be946dfa079bc544890391a6fe1f4695b0c88c8d56aca674563b4f347bb1f5519923b38aeb992e4a527f1c SHA512 c259bea088a03286a392812b23eda05ba7e5c714f9b52cd25b39ea9a280c5147e43d13a71027c43a5029df03e021a0022feb1ae311baae577ec3c56f1d7dfcae +DIST timescaledb-2.16.1.tar.gz 7449327 BLAKE2B 4eac0f41596db1b7669850cbb576a2d710998f7207f566fb9b4965804e6810f1571d18058a126acdae7862bf77424db44f27720f3600d1191ae1a3c3cf8680ae SHA512 4972ccc385a3c7bda8fab8736c63f75c5b290a3a0206add84718326fcd07c24a52dbbae2114e857fb78246bf5a4b5ec3310cc2219a163af4d5f30f1766e37fae diff --git a/dev-db/timescaledb/timescaledb-2.16.1.ebuild b/dev-db/timescaledb/timescaledb-2.16.1.ebuild new file mode 100644 index 0000000..bb8c8ec --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.16.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {13..16} ) +POSTGRES_USEDEP="ssl" + +inherit cmake postgres-multi + +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="Apache-2.0 + tsl? ( timescale )" +SLOT="0" +IUSE="+tsl" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-no-openssl.patch" +) + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +src_configure() { + pg_src_configure () { + local mycmakeargs=( + -DAPACHE_ONLY=$(usex tsl OFF ON) + -DWARNINGS_AS_ERRORS=OFF + -DSEND_TELEMETRY_DEFAULT=OFF + -DREGRESS_CHECKS=OFF + -DPG_CONFIG=${PG_CONFIG} + ) + cmake_src_configure + } + postgres-multi_foreach pg_src_configure +} + +src_compile() { + postgres-multi_foreach cmake_src_compile +} + +src_install() { + postgres-multi_foreach cmake_src_install + + find "${ED}" -name '*.a' -delete +}