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 C19F415810D for ; Mon, 29 May 2023 06:30:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE77AE07F1; Mon, 29 May 2023 06:30:09 +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 8CA24E07F1 for ; Mon, 29 May 2023 06:30:09 +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 7C23133D3C1 for ; Mon, 29 May 2023 06:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D32A7A67 for ; Mon, 29 May 2023 06:30:06 +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: <1685341805.8c21cf08d4a18326f8e0afe6a6396b335326800b.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.11.0.ebuild X-VCS-Directories: dev-db/timescaledb/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 8c21cf08d4a18326f8e0afe6a6396b335326800b X-VCS-Branch: master Date: Mon, 29 May 2023 06:30:06 +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: ae0052f6-104b-4e19-aac8-4b41aaf72779 X-Archives-Hash: b1bb461b305f78e5a006235e91b90582 commit: 8c21cf08d4a18326f8e0afe6a6396b335326800b Author: Patrick Lauer gentoo org> AuthorDate: Mon May 29 06:29:16 2023 +0000 Commit: 罗百科 gentoo org> CommitDate: Mon May 29 06:30:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c21cf08 dev-db/timescaledb: add 2.11.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.11.0.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index fc108b15b517..645bb9aefa91 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,4 +1,5 @@ DIST timescaledb-2.10.0.tar.gz 7410903 BLAKE2B e93117f41b918e315f1d867ef65a608ec4021d365e3854750ee788233d64435d37b6ff5e7b1a014c8bf095857c745978daece3dc5ff149ba0b869afa6e7d8e7c SHA512 6028146a421de91a356539d8027cfee8dc38dd03cf02fe04887ddaf134fa057c953cf6b6179a9160d797271943a8fe35ffe2f4d8959fe3be8e7bf527a3fe7d41 DIST timescaledb-2.10.1.tar.gz 7417084 BLAKE2B 506da755d164fd82bbea0267a24f6db438b895402c29bb88b5f48178b018c003f251427b5fa9befcfe801db496181819ef18249e537bd89b72a085f51291ce19 SHA512 573369d85f40a4176beaf5862bd0d20966fbdff83ec8573ba185bcfd90a03ef8de09aad3ed8dce7ee47bc123f967224bae2899c22ed023ab73260c3bd0548fed DIST timescaledb-2.10.3.tar.gz 7465897 BLAKE2B 2a70e281738fac63cd3b5c753f82a7e8faf162c015ad87b1cb3b24558d70e042bb16281b32a931fbb4daae280bede40bc239de8e8b3228c2571da33d4e5975ec SHA512 c94227d9aa1df36634bbf2626f580165860cab543efbfeb448f9799cf70ef6c1891af0077c2280ae22dbfb2360cf2b6012e7f05c26b0cf7aef6eb217c583b444 +DIST timescaledb-2.11.0.tar.gz 7699408 BLAKE2B 841ed5c95d15665a3d264067d7ae38ddecec4c2ae3cb4e6ddeb6b926b30453b0554a451117f939a7137abc1a1b3f0a0d0523782b337930984c76066355fe2457 SHA512 0bc1f7824fdac0a9014918bf053da3b282eaf6f91c18dec5ba4ec40204e29cb53d17f8d09c9426572969e2722b77788bb477a695d78f487415198cb3186d2cc2 DIST timescaledb-2.9.3.tar.gz 7269123 BLAKE2B 009f3b9787e4dce49abb50a446b88f5a37ab9b1a3abb040fe5d332ab10d5a40e13fae7985fca6f6d412f7e555ab1833f83ce0c43bbda7054f668fa12288eac18 SHA512 0664ccc6e6846500757466646e2c8a9bdbdca079bd931cc95ad8ea687f37b099d846cf8cc8311f928a33d9228592e460b6fe331a639046bc845a25b4a7d914c6 diff --git a/dev-db/timescaledb/timescaledb-2.11.0.ebuild b/dev-db/timescaledb/timescaledb-2.11.0.ebuild new file mode 100644 index 000000000000..83f98f57647b --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.11.0.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=( 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 +}