diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 18148d1..5777cec 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1 +1,2 @@ DIST timescaledb-2.18.2.tar.gz 7908965 BLAKE2B e48bec6e92a8bde36dccb0ffc9017fd67eed202cbbb4107ca949f4e8dacee900118e43fe5c28251cb5f65bd486a090aaeecf04e95da4afcf1ef7f94e3869ae3b SHA512 eb5c2d5ab1568ca9c213c775fd665c66ae0f78d4ce18d4bddcba3de20f1a9fce8bd9bc782efd8c9c537575dfae0e8f701f34368d1a3370789f43a7d82b988f7c +DIST timescaledb-2.19.3.tar.gz 8010948 BLAKE2B f1bf6b376c281b35f154f47d00c1e7777cf7cfe9bece09097ac28d0d14b90f23c589f2cd8e5377fda1a65ef066530c8d958d0456d320304da26d013c318e12bd SHA512 44310ddced2899b6a60989fc5e96aa4c999898e5ec59a29ea1bc4c82e6ae9339fa11fd6e20805a2d09a351c1c6fe1429593367f73a91229043c02ba6648468e7 diff --git a/dev-db/timescaledb/timescaledb-2.19.3.ebuild b/dev-db/timescaledb/timescaledb-2.19.3.ebuild new file mode 100644 index 0000000..b57cff0 --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.19.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {14..17} ) +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="Apache-2.0 + tsl? ( timescale )" +SLOT=0 +KEYWORDS="~amd64" +IUSE="+tsl" + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +timescale_src_prepare() { + local CMAKE_USE_DIR=$BUILD_DIR + cmake_src_prepare +} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach timescale_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + 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 +} + +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 + + find "${ED}" -name '*.a' -delete +}