From fef76436d902bdb2aed317524a3d1e71d151be30 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Thu, 4 Jun 2026 14:47:44 +0200 Subject: [PATCH] dev-db/pg_wait_sampling: new package, add 1.1.9 Signed-off-by: Conrad Kostecki --- dev-db/pg_wait_sampling/Manifest | 1 + dev-db/pg_wait_sampling/metadata.xml | 17 +++++++++++ .../pg_wait_sampling-1.1.9.ebuild | 28 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 dev-db/pg_wait_sampling/Manifest create mode 100644 dev-db/pg_wait_sampling/metadata.xml create mode 100644 dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild diff --git a/dev-db/pg_wait_sampling/Manifest b/dev-db/pg_wait_sampling/Manifest new file mode 100644 index 0000000000000..6875a16cbabae --- /dev/null +++ b/dev-db/pg_wait_sampling/Manifest @@ -0,0 +1 @@ +DIST pg_wait_sampling-1.1.9.tar.gz 17484 BLAKE2B e2b2492c56a1590e384357e51801bffb83315265ac2bdbbdcd0cf88ad74212d7f083afd2833c28b6df46128b2de2851e462aa5dbc03350d479d774ebc718b7f6 SHA512 42a4fc3f24100a0fb2b90b8cb745dd6bbb46192f3a0be113edbf1293159accada467ed4be78484e18b95cbaf5c26fc74877b75c11d563e68b9385fd70d762810 diff --git a/dev-db/pg_wait_sampling/metadata.xml b/dev-db/pg_wait_sampling/metadata.xml new file mode 100644 index 0000000000000..e5d4d46898f02 --- /dev/null +++ b/dev-db/pg_wait_sampling/metadata.xml @@ -0,0 +1,17 @@ + + + + + conikost@gentoo.org + Conrad Kostecki + + + postgrespro/pg_wait_sampling + + + PostgreSQL provides information about current wait event of particular process. + However, in order to gather descriptive statistics of server behavior user have + to sample current wait event multiple times. This is an extension for collecting + sampling statistics of wait events. + + diff --git a/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild b/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild new file mode 100644 index 0000000000000..88104ea2b3ef0 --- /dev/null +++ b/dev-db/pg_wait_sampling/pg_wait_sampling-1.1.9.ebuild @@ -0,0 +1,28 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( 14 15 16 17 18 ) +POSTGRES_USEDEP="server" + +inherit postgres-multi + +DESCRIPTION="Sampling based statistics of wait events" +HOMEPAGE="https://github.com/postgrespro/pg_wait_sampling" +SRC_URI="https://github.com/postgrespro/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="test" + +src_compile() { + export USE_PGXS="1" + default +} + +src_install() { + default +}