[dev-db/timescaledb] bump, keep old around for upgraders for a bit

This commit is contained in:
Robert Förster 2021-08-25 00:07:32 +02:00
parent 648f44fa3f
commit 77c495d604
2 changed files with 56 additions and 0 deletions

View File

@ -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

View File

@ -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
}