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 EEA2415800D for ; Sat, 1 Jul 2023 16:34:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1472FE0843; Sat, 1 Jul 2023 16:34:57 +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 EAE94E0843 for ; Sat, 1 Jul 2023 16:34:56 +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 CFA5C340B4D for ; Sat, 1 Jul 2023 16:34:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02CBD136 for ; Sat, 1 Jul 2023 16:34:54 +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: <1688229292.63ffaef10f12231756e1cb43a2ef34992719c93c.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.1.ebuild X-VCS-Directories: dev-db/timescaledb/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 63ffaef10f12231756e1cb43a2ef34992719c93c X-VCS-Branch: master Date: Sat, 1 Jul 2023 16:34:54 +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: b56af002-644f-4a23-8ae3-257fed62b516 X-Archives-Hash: 8419a8afb932bf8baa18e43ae9b44622 commit: 63ffaef10f12231756e1cb43a2ef34992719c93c Author: Patrick Lauer gentoo org> AuthorDate: Sat Jul 1 16:23:50 2023 +0000 Commit: 罗百科 gentoo org> CommitDate: Sat Jul 1 16:34:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ffaef1 dev-db/timescaledb: add 2.11.1 Signed-off-by: Patrick Lauer gentoo.org> dev-db/timescaledb/Manifest | 1 + dev-db/timescaledb/timescaledb-2.11.1.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest index a7457df10e94..d08eee9b9be2 100644 --- a/dev-db/timescaledb/Manifest +++ b/dev-db/timescaledb/Manifest @@ -1,2 +1,3 @@ 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.11.1.tar.gz 7723360 BLAKE2B a45f7a4466397b47e0a07cf9af388fa6c6ccbfd98d62a038159eafab74ba0c58b8891ebc52a82e9694f103cb48992c9b78c0b6f377c6ae7832fe8740c42d9bbf SHA512 e29a378bfe1e5bb72d6d9bd430b972d1e14cf2345f2599559f73075146fd8c5839f08459880681140eff607b152671beeb1876bf509008ad2b653d258eb356b8 diff --git a/dev-db/timescaledb/timescaledb-2.11.1.ebuild b/dev-db/timescaledb/timescaledb-2.11.1.ebuild new file mode 100644 index 000000000000..83f98f57647b --- /dev/null +++ b/dev-db/timescaledb/timescaledb-2.11.1.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 +}