diff options
author | Patrick Lauer <patrick@gentoo.org> | 2022-12-17 08:07:36 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2022-12-17 08:08:21 +0000 |
commit | 64243df39fa47e4df19094543f8279578d3afddc (patch) | |
tree | cf3edd329e46502001f6a1f54abd415b363d98c8 /dev-db/timescaledb | |
parent | dev-python/botocore: Stabilize 1.29.20 ALLARCHES, #886453 (diff) | |
download | gentoo-64243df39fa47e4df19094543f8279578d3afddc.tar.gz gentoo-64243df39fa47e4df19094543f8279578d3afddc.tar.bz2 gentoo-64243df39fa47e4df19094543f8279578d3afddc.zip |
dev-db/timescaledb: add 2.9.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-db/timescaledb')
-rw-r--r-- | dev-db/timescaledb/Manifest | 1 | ||||
-rw-r--r-- | dev-db/timescaledb/timescaledb-2.9.0.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 8216b536fe84..be96051fc28c 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,3 +1,4 @@ DIST timescaledb-2.7.2.tar.gz 2990906 BLAKE2B 48ed3ad549e331d0f134ba3ecdb7ffe97e6c3aa7d4e8a46d9633def40c86c8be105b0ef15de74a1528f623031645dbf04a8500d13877e7619e95d58f21a5b82e SHA512 1f80ef166bce570d741da48cf7ae3739d6be37802674d9be100017e50936f99ce7c6927c8ddbe290abfede307bfe8442701f5edf85f64669801fd859bc105804 DIST timescaledb-2.8.0.tar.gz 6768327 BLAKE2B cc6895f4389c1a0b04bf492432325212b0ee8bd4b2a6c3c8ba1abbd36bd5ae9ec4a95e520100d87ba0f787fb25c0b98dd42667330b3ba9d72d06e36dc66c0426 SHA512 0d9c947b230b2aecfa8d6bc8c0a995fe2847e8851fff58d5fcfab532cf54581f72acd2c9eaa8e55bd5e425db5c31baa4bef83ccd41413a26ce0a9c940d2ab6db DIST timescaledb-2.8.1.tar.gz 6789998 BLAKE2B 63684a5e18bf6104700bb0d78f5fb16bad35627160e1b96f1688b6b1065da9fd03377d5e56e4832da2e04879bbf416d31587bcc27e9b5a01b635a963515f60ef SHA512 69dfea5874d5c1ca8fef1382b8fc49d709a09908009fe38fe4ae44bebdae701615e3cbeb2f3ecd2044babd1a7c6ff255f96fa31f94f84293cfba942542775c54 +DIST timescaledb-2.9.0.tar.gz 7340009 BLAKE2B b7eb3bb5f866b09ff8c78c4430fa570dd491336428cb74f4d9f961a7f0432dde5dcef58533acdc9541f8c49e93a6d62af4e37762b73de334437276c8e9a39f80 SHA512 7dd7a3d8cc3f3d6480b411c6254e055a723c48c5312a349d4f6e35932798cf8413f77c8b51fb193bdcdc8eee2b3eca970df1fd0a4fa160e3ad433f86e55dc7c7 diff --git a/dev-db/timescaledb/timescaledb-2.9.0.ebuild b/dev-db/timescaledb/timescaledb-2.9.0.ebuild new file mode 100644 index 000000000000..999992a4548e --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.9.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 12 13 14 15 ) +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" + +IUSE="proprietary-extensions" +LICENSE="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )" + +KEYWORDS="~amd64" + +SLOT=0 + +RESTRICT="test" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +CMAKE_IN_SOURCE_BUILD=yes +CMAKE_BUILD_TYPE="RelWithDebInfo" +BUILD_DIR=${WORKDIR}/${P} + +src_prepare() { + postgres-multi_src_prepare + postgres-multi_foreach cmake_src_prepare +} + +timescale_configure() { + local CMAKE_USE_DIR=$BUILD_DIR + local mycmakeargs=( "-DPG_CONFIG=/usr/bin/pg_config${MULTIBUILD_VARIANT}" "-DREGRESS_CHECKS=OFF" ) + + # licensing is tied to features, this useflag disables the non-apache2 licensed bits + if ! use proprietary-extensions ; then + mycmakeargs+=("-DAPACHE_ONLY=ON") + fi + 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 +} |