From c8af8fdc099876646ab1444eaed194a605cd3285 Mon Sep 17 00:00:00 2001 From: Sibu Thomas Mathew Date: Mon, 17 Jun 2024 14:15:42 +0200 Subject: [PATCH] [PE-1307]: Custom ebuild for dev-db/pg_repack This ebuild is pinned to the following upstream commit: https://github.com/reorg/pg_repack/tree/3edf5b3df04dff792e693ff899b33de2e4fad859 Signed-off-by: Sibu Thomas Mathew --- dev-db/pg_repack/pg_repack-19062024.ebuild | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 dev-db/pg_repack/pg_repack-19062024.ebuild diff --git a/dev-db/pg_repack/pg_repack-19062024.ebuild b/dev-db/pg_repack/pg_repack-19062024.ebuild new file mode 100644 index 00000000..68b7a2a8 --- /dev/null +++ b/dev-db/pg_repack/pg_repack-19062024.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +POSTGRES_COMPAT=( 10 11 12 13 14 15 16 17 ) +POSTGRES_USEDEP="server" + +inherit git-r3 postgres-multi + +DESCRIPTION="Reorganize tables in PostgreSQL databases with minimal locks" +HOMEPAGE="https://github.com/reorg/pg_repack" +EGIT_REPO_URI="https://github.com/reorg/pg_repack.git" +EGIT_COMMIT="3edf5b3df04dff792e693ff899b33de2e4fad859" +S="${WORKDIR}/${P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="${POSTGRES_DEP}" +RDEPEND="${DEPEND}" + +# Needs a running PostgreSQL server +RESTRICT="test"