From 77c495d60436a5c1d8464db727414e1c7fee77e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Wed, 25 Aug 2021 00:07:32 +0200 Subject: [PATCH] [dev-db/timescaledb] bump, keep old around for upgraders for a bit --- dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.4.1.ebuild | 55 +++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-db/timescaledb/timescaledb-2.4.1.ebuild diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 53eb412..593f568 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1 +1,2 @@ DIST timescaledb-2.3.1.tar.lzma 1256454 BLAKE2B 43ec4a5a5f802f2e096bfa126765b4e9b3f5b80bb08cae80f5a005767f4063c844b2b17a20de5cc494a9d9d19d2f8ff62af450cde2efbbb386e6c5ab0031dbaf SHA512 68c5af6265979d418559db3454adb75c83862bedba20f5a7014599374da659902d7c57a3f016e17c1e56a4907ab85b7bac7bfc97246ae895e01c48a4df1d3627 +DIST timescaledb-2.4.1.tar.gz 2401410 BLAKE2B 752d484b03a59cde22f295d47a90d05bfc0674428dd2d03152dbf6604e10c0fb6780815666f65f4d2df58075f7911636c13a671504eed78642e211ceda8aba3d SHA512 54baced28eb20aa14c78605ce7828f7c48210125d9193c3e1c88e9ae81616b2baf37a1eb97c5eb0ddc9b6820d534d134ad047f3c7ace374e29191a42142f35a1 diff --git a/dev-db/timescaledb/timescaledb-2.4.1.ebuild b/dev-db/timescaledb/timescaledb-2.4.1.ebuild new file mode 100644 index 0000000..ee8f18b --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.4.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( {12..13} ) +POSTGRES_USEDEP="server,ssl?" + +inherit cmake postgres-multi + +DESCRIPTION="A time-series database optimized for fast ingest and complex queries" +HOMEPAGE="https://www.timescale.com/" +SRC_URI="https://github.com/timescale/${PN}/archive/refs/tags//${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 + tsl? ( timescale )" +SLOT="0" +IUSE="ssl +tsl" +KEYWORDS="~amd64 ~x86" + +DEPEND="${POSTGRES_DEP} + ssl? ( dev-libs/openssl ) + " +RDEPEND="${DEPEND}" + +CMAKE_BUILD_TYPE=RelWithDebInfo + +src_prepare() { + postgres-multi_foreach cmake_src_prepare +} + +src_configure() { + pg_src_configure () { + local mycmakeargs=( + -DUSE_OPENSSL=$(usex ssl ON OFF) + -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 +}