dev-db/timescaledb - 2.26.4 (gentoo)

Search

Install

Install this version:

emerge -a =dev-db/timescaledb-2.26.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-db/timescaledb-2.26.4

Or alternatively:

emerge --autounmask-write -a =dev-db/timescaledb-2.26.4

Package Information

Description:
Open-source time-series SQL database
Homepage:
https://www.timescale.com/
License:
POSTGRESQL Apache-2.0 proprietary-extensions? ( timescale )

Ebuild Details

Version EAPI Keywords Slot
2.26.4 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-db/timescaledb | euse -E <flag> -p dev-db/timescaledb | euse -D <flag> -p dev-db/timescaledb

Global/Standard Flags

Inherited Eclasses

Manifest for 2.26.4

Type File Size Source URLs
DIST timescaledb-2.26.4.tar.gz 8503337 bytes https://github.com/timescale/timescaledb/archive/2.26.4.tar.gz