mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-db/timescaledb: add 2.23.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
parent
0051db3e71
commit
972a8f4a62
@ -1,2 +1,3 @@
|
||||
DIST timescaledb-2.21.4.tar.gz 7913696 BLAKE2B cf2af165d4d76812cd27ee38565328c772bb83d90a923a7c29ae1ad02b40bdb9b467a3fe180a43074d52d94827d73289b7be6a77f2ef34278d8d5f10d6402484 SHA512 3741f068739482f5d3b76732401cd989b8081ecc9fd93034e8c33f34576dd10497bedd6688ab35f693c914c0b4bacb73c7430ab355a9f68be32239e31c575261
|
||||
DIST timescaledb-2.22.1.tar.gz 8149506 BLAKE2B 2881795480f181126db5547dfcff2e34acf6d5e74ad4e1b72e9f5830e0b3fa54ffc9655ffed207d15b12ee6ad3155e164a3322257cf04f0235ff1eda31e89356 SHA512 5cd2938d2d04b7e1daa27ee46fddc09b9342022f536841ead1560ce4c6264dc0e83a737d87ed4cb903008c2c96a65273da25861a49c7f0c7a0a2685bbaec07ee
|
||||
DIST timescaledb-2.23.0.tar.gz 8276552 BLAKE2B 0f7e4689b6dadb0be3b6baddfd88c48d5a1b26a8ed23b7ecec854036c4e7e4704ada1342c2baf694304e828fce7fd956f6d12e71eb56b200f0f7265d1d72687f SHA512 d5887f9635a0b2d086216b9a1312b36726c0dfa90e5a06dcab355e3d6cf4d290cd5c04b650d02f596be842d9b7a50fe5bddbc312ecdc85137da45f5b5b69889e
|
||||
|
||||
65
dev-db/timescaledb/timescaledb-2.23.0.ebuild
Normal file
65
dev-db/timescaledb/timescaledb-2.23.0.ebuild
Normal file
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
POSTGRES_COMPAT=( 15 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"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user