From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1468169-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AE5EF158020
	for <garchives@archives.gentoo.org>; Sat, 17 Dec 2022 08:08:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D20DFE0891;
	Sat, 17 Dec 2022 08:08:26 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8CD8AE0891
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Dec 2022 08:08:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A057834116A
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Dec 2022 08:08:25 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C8A172B
	for <gentoo-commits@lists.gentoo.org>; Sat, 17 Dec 2022 08:08:24 +0000 (UTC)
From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" <patrick@gentoo.org>
Message-ID: <1671264501.64243df39fa47e4df19094543f8279578d3afddc.patrick@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/timescaledb/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-db/timescaledb/Manifest dev-db/timescaledb/timescaledb-2.9.0.ebuild
X-VCS-Directories: dev-db/timescaledb/
X-VCS-Committer: patrick
X-VCS-Committer-Name: 罗百科
X-VCS-Revision: 64243df39fa47e4df19094543f8279578d3afddc
X-VCS-Branch: master
Date: Sat, 17 Dec 2022 08:08:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 85cbc8a1-248b-4bf8-a764-dae0664e28b7
X-Archives-Hash: c10fc30eba0517e13ed5eb279a5d2a59

commit:     64243df39fa47e4df19094543f8279578d3afddc
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 17 08:07:36 2022 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Dec 17 08:08:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64243df3

dev-db/timescaledb: add 2.9.0

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-db/timescaledb/Manifest                 |  1 +
 dev-db/timescaledb/timescaledb-2.9.0.ebuild | 67 +++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

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
+}