From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 4AC0E158089 for ; Mon, 30 Oct 2023 07:08:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77C5B2BC014; Mon, 30 Oct 2023 07:08:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A43E2BC014 for ; Mon, 30 Oct 2023 07:08:55 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 660C1335C52 for ; Mon, 30 Oct 2023 07:08:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8871412F1 for ; Mon, 30 Oct 2023 07:08:52 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1698649683.1f0bdebd54e972f19748a07dc16e7f3b1dbfb2fc.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.12.2.ebuild X-VCS-Directories: dev-db/timescaledb/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 1f0bdebd54e972f19748a07dc16e7f3b1dbfb2fc X-VCS-Branch: master Date: Mon, 30 Oct 2023 07:08:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8f04b7d-3329-4457-a958-6f244199aa6b X-Archives-Hash: e68acf7a01f337477ae7f5792fc64a51 commit: 1f0bdebd54e972f19748a07dc16e7f3b1dbfb2fc Author: Patrick Lauer gentoo org> AuthorDate: Mon Oct 30 07:08:03 2023 +0000 Commit: 罗百科 gentoo org> CommitDate: Mon Oct 30 07:08:03 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0bdebd dev-db/timescaledb: add 2.12.2 Signed-off-by: Patrick Lauer gentoo.org> dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.12.2.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index 6b79116a1966..0680ff7023f4 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1 +1,2 @@ DIST timescaledb-2.12.0.tar.gz 7510785 BLAKE2B 9b94831988832e04943d69a6d1727a84f8e3d0f59e5db11cdba5cfdd9975e1e932e1df7f9b753ae73b70c3fb503fe92e057f8747a0ec21b7cd36abb4e524c022 SHA512 74d2c73c2c1c5c62d0681adee807c229c6c0454570f625eac4d999a8bcf9292ebc6424d9de084a7826a55e9721d6262fa2e12972185765285c0877cab1f15fd2 +DIST timescaledb-2.12.2.tar.gz 7521115 BLAKE2B 2bc2d43e3185b95cd0b4bcfc852c0850959ac117e4a30cd3b30157a82e7ad7f8192e80cc9787474e169c5ae5476a146cd2510ab93d25f479dcc7d39fa45ae15c SHA512 cb39f632a8c2e02968045f459edaacc291abbda6e64962bfd05519b9c2c00ccaac5f520f2abf8a0b08f4bb740488df56295585c13bb83b82c0d1842a71ff7224 diff --git a/dev-db/timescaledb/timescaledb-2.12.2.ebuild b/dev-db/timescaledb/timescaledb-2.12.2.ebuild new file mode 100644 index 000000000000..5941e85afbb1 --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.12.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 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 +}