From 22f7180b65ba19eebf5963c8371aeb22706fe687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Tue, 28 Nov 2023 17:45:18 +0100 Subject: [PATCH] [dev-db/timescaledb] bump --- dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.13.0.ebuild | 54 ++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-db/timescaledb/timescaledb-2.13.0.ebuild diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 504a7f8..dc31574 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1 +1,2 @@ DIST timescaledb-2.12.2.tar.gz 7521115 BLAKE2B 2bc2d43e3185b95cd0b4bcfc852c0850959ac117e4a30cd3b30157a82e7ad7f8192e80cc9787474e169c5ae5476a146cd2510ab93d25f479dcc7d39fa45ae15c SHA512 cb39f632a8c2e02968045f459edaacc291abbda6e64962bfd05519b9c2c00ccaac5f520f2abf8a0b08f4bb740488df56295585c13bb83b82c0d1842a71ff7224 +DIST timescaledb-2.13.0.tar.gz 8214444 BLAKE2B a03237608f64ca530fef1c4c667b4d392bf3a9d5811df4225866650d1c0e708355e22570aa512fb23040453d0f1d721c7088e5895e18f4fb3aacbc9c89483027 SHA512 640f969daf330b727f373a252b814288939d7935d03fa54cf24a2b49b9914009e253df6885355cc7e93f4d0eef5028719a98007e4d9a42c14228f922708ce1f7 diff --git a/dev-db/timescaledb/timescaledb-2.13.0.ebuild b/dev-db/timescaledb/timescaledb-2.13.0.ebuild new file mode 100644 index 0000000..76eea7b --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.13.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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}" + +CMAKE_BUILD_TYPE=RelWithDebInfo + +src_prepare() { + postgres-multi_foreach cmake_src_prepare +} + +src_configure() { + pg_src_configure () { + local mycmakeargs=( + -DAPACHE_ONLY=$(usex tsl OFF ON) + -DUSE_OPENSSL=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 +}