mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-db/timescaledb: add 2.32.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST timescaledb-2.28.3.tar.gz 8900951 BLAKE2B d833c3549b8275e076002950bda8ddfd5a38e040d089f01acad0c72855d799ef677c518b4c06f037d9877682eb7d14e0935612ec68fc186b17fab6beb2f9dc3b SHA512 f1e8dc223431a8bc74802888bc2f426129f92026a4cdac8cf427043851b5ad6d6d15374de440618443053f7220f39daffd8f45453b5e1be90828a4aed91f31e6
|
||||
DIST timescaledb-2.30.2.tar.gz 9130715 BLAKE2B a7a5e7bab968c76be30e126d2bd47f6bfc3ade47c9d0ec0b958591c0c802451aa87e6fb659fb57ff7ed038c8f7bb67b6a07bf6601ad8788fecdd6408a7f4fa01 SHA512 c765338af6166994c24b19052eb36663a4369b1882fe66d32c59a1b80a7444cea51144810bb1c4ec0e3618258fdbc6c1dc73e0d2e0f6bb37536e056cdfaa9602
|
||||
DIST timescaledb-2.31.0.tar.gz 9376767 BLAKE2B 58cfc9c6a952b52ffafd7d6f37b692903a0bacf8ccab002d8277ae14dff6a0e92a73c1ad32e89374cb8aa9a6c6511219111e804bccc38e7c8f2ac7527efce82c SHA512 2a7e0b6423ada82e44cbacb531fe145473b008967c8492e231ca4c74de43277112f798cc6fed0da5cbfe7380ebf2019cd4d82c0a4b657c8d69037a2987e606f6
|
||||
DIST timescaledb-2.32.0.tar.gz 9421942 BLAKE2B 81cca4112696cf4637896be3830989c5ff497b007bc5219d175c26fb76ccb99e0afcb73693122d65d9debd8356689608dd24b350dc724412c6b970b3f149bd72 SHA512 485c4589c082ca530fc77fadec4128f0e3391e56e18f2b2283078d7915403d4f596128321b96015d83e1f04b394dd6f0ab3d7204e2aff405eccd891bdc718f7a
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
POSTGRES_COMPAT=( 16 17 18 )
|
||||
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="POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="proprietary-extensions"
|
||||
REQUIRED_USE="${POSTGRES_REQ_USE}"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user