From de35cef3483ebf4575b99f5000ca5d58b6191691 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 13 Jun 2024 08:30:29 +0000 Subject: [PATCH 1/4] dev-db/pgtap: add 1.3.3 Signed-off-by: Patrick Lauer --- dev-db/pgtap/Manifest | 1 + dev-db/pgtap/pgtap-1.3.3.ebuild | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-db/pgtap/pgtap-1.3.3.ebuild diff --git a/dev-db/pgtap/Manifest b/dev-db/pgtap/Manifest index a015f57d011e0..40b48a458551b 100644 --- a/dev-db/pgtap/Manifest +++ b/dev-db/pgtap/Manifest @@ -1,2 +1,3 @@ DIST pgtap-1.2.0.zip 319374 BLAKE2B 1cea77860a1928ed7cbf4ddb0bb8ff418023bf88e377196ae2b505c065321e3003179227077567e676a8c551230d259ecd1cdb590001fc71bcc821b87fb3d0f6 SHA512 5569bea5e7879787a91fa9b2baae5cbff1db5b9a5a096db2a9a064012d65e02c52bd1520422b5e6f87fb5b6e64845371188ea53c43a277aee68ffc05d5152ed7 DIST pgtap-1.3.1.zip 654637 BLAKE2B 412dfcb51813552541f935328e28fbf8f0a014536a5eee8bf55ea680cd22a6424529641040627f91afebb407872d8d3d4aa25e576d965ddb11514229c2b72591 SHA512 98129bbbdf2221502e52375c3e55dff324e69cb930865d1589949ad2d96ddeac1a215e10d0612f7cc050d9a725817b01b23a9cc3e9cb42ef23a929e593ecb698 +DIST pgtap-1.3.3.zip 329966 BLAKE2B 03ba9f7af9dbb6a8077e5b6dd430171eef4afeb904c65f82b8b962af68852e32ad1dca57e710c8f722c5e2c10eeebe6c890dd3cc61e7c31257974dfaf19cb207 SHA512 6872208501498cb440e46fff9e9f953560551b60fbde11221a7c2d3ccc075780ad59585e0ab0639b630dd902d185b6844754cbc406eef4e4bf90e616adadf2b4 diff --git a/dev-db/pgtap/pgtap-1.3.3.ebuild b/dev-db/pgtap/pgtap-1.3.3.ebuild new file mode 100644 index 0000000000000..1d71d1666e217 --- /dev/null +++ b/dev-db/pgtap/pgtap-1.3.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +POSTGRES_COMPAT=( {12..16} ) + +inherit postgres-multi + +DESCRIPTION="Unit testing for PostgreSQL" +HOMEPAGE="https://pgtap.org/" +SRC_URI="https://api.pgxn.org/dist/${PN}/${PV}/${P}.zip" + +LICENSE="POSTGRESQL" +SLOT="0" +KEYWORDS="amd64" + +DEPEND="${POSTGRES_DEP} + app-arch/unzip + dev-perl/TAP-Parser-SourceHandler-pgTAP +" +RDEPEND="${DEPEND}" + +# Tests requires a running database that match up with the current +# testing slot. Won't run from ${ED}, want's to install too early. +RESTRICT="test" + +src_configure() { + : +} + +src_install() { + postgres-multi_src_install + + rm -r "${ED}"/usr/share/doc/postgresql* || die "Failed to remove improper doc locations" + dodoc doc/pgtap.mmd +} From 3f7d04093b7483d26fbd7761b4303653f121b50d Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 13 Jun 2024 08:30:50 +0000 Subject: [PATCH 2/4] dev-db/pgtap: drop 1.2.0-r2 Signed-off-by: Patrick Lauer --- dev-db/pgtap/Manifest | 1 - dev-db/pgtap/pgtap-1.2.0-r2.ebuild | 37 ------------------------------ 2 files changed, 38 deletions(-) delete mode 100644 dev-db/pgtap/pgtap-1.2.0-r2.ebuild diff --git a/dev-db/pgtap/Manifest b/dev-db/pgtap/Manifest index 40b48a458551b..c5f392c6b9c09 100644 --- a/dev-db/pgtap/Manifest +++ b/dev-db/pgtap/Manifest @@ -1,3 +1,2 @@ -DIST pgtap-1.2.0.zip 319374 BLAKE2B 1cea77860a1928ed7cbf4ddb0bb8ff418023bf88e377196ae2b505c065321e3003179227077567e676a8c551230d259ecd1cdb590001fc71bcc821b87fb3d0f6 SHA512 5569bea5e7879787a91fa9b2baae5cbff1db5b9a5a096db2a9a064012d65e02c52bd1520422b5e6f87fb5b6e64845371188ea53c43a277aee68ffc05d5152ed7 DIST pgtap-1.3.1.zip 654637 BLAKE2B 412dfcb51813552541f935328e28fbf8f0a014536a5eee8bf55ea680cd22a6424529641040627f91afebb407872d8d3d4aa25e576d965ddb11514229c2b72591 SHA512 98129bbbdf2221502e52375c3e55dff324e69cb930865d1589949ad2d96ddeac1a215e10d0612f7cc050d9a725817b01b23a9cc3e9cb42ef23a929e593ecb698 DIST pgtap-1.3.3.zip 329966 BLAKE2B 03ba9f7af9dbb6a8077e5b6dd430171eef4afeb904c65f82b8b962af68852e32ad1dca57e710c8f722c5e2c10eeebe6c890dd3cc61e7c31257974dfaf19cb207 SHA512 6872208501498cb440e46fff9e9f953560551b60fbde11221a7c2d3ccc075780ad59585e0ab0639b630dd902d185b6844754cbc406eef4e4bf90e616adadf2b4 diff --git a/dev-db/pgtap/pgtap-1.2.0-r2.ebuild b/dev-db/pgtap/pgtap-1.2.0-r2.ebuild deleted file mode 100644 index a4658a7fd8c6b..0000000000000 --- a/dev-db/pgtap/pgtap-1.2.0-r2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -POSTGRES_COMPAT=( 9.6 {10..14} ) - -inherit postgres-multi - -DESCRIPTION="Unit testing for PostgreSQL" -HOMEPAGE="https://pgtap.org/" -SRC_URI="https://api.pgxn.org/dist/${PN}/${PV}/${P}.zip" - -LICENSE="POSTGRESQL" -SLOT="0" -KEYWORDS="amd64" - -DEPEND="${POSTGRES_DEP} - app-arch/unzip - dev-perl/TAP-Parser-SourceHandler-pgTAP -" -RDEPEND="${DEPEND}" - -# Tests requires a running database that match up with the current -# testing slot. Won't run from ${ED}, want's to install too early. -RESTRICT="test" - -src_configure() { - : -} - -src_install() { - postgres-multi_src_install - - rm -r "${ED}"/usr/share/doc/postgresql* || die "Failed to remove improper doc locations" - dodoc doc/pgtap.mmd -} From 68d32bc53a1a134e78b27f9f6c6e3dde54d94ff4 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 13 Jun 2024 08:42:25 +0000 Subject: [PATCH 3/4] dev-db/pglogical: update EAPI 7 -> 8 Signed-off-by: Patrick Lauer --- dev-db/pglogical/pglogical-2.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pglogical/pglogical-2.4.4.ebuild b/dev-db/pglogical/pglogical-2.4.4.ebuild index 27bba65b9239b..9354bae60f332 100644 --- a/dev-db/pglogical/pglogical-2.4.4.ebuild +++ b/dev-db/pglogical/pglogical-2.4.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI="8" POSTGRES_COMPAT=( {12..16} ) From 43db963ea097d859137a1cb6cda8320b1034cdf1 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Thu, 13 Jun 2024 08:44:32 +0000 Subject: [PATCH 4/4] dev-db/pglogical: drop 2.4.1 Signed-off-by: Patrick Lauer --- dev-db/pglogical/Manifest | 1 - dev-db/pglogical/pglogical-2.4.1.ebuild | 32 ------------------------- 2 files changed, 33 deletions(-) delete mode 100644 dev-db/pglogical/pglogical-2.4.1.ebuild diff --git a/dev-db/pglogical/Manifest b/dev-db/pglogical/Manifest index 5741701297c1e..a4d86d4a6f965 100644 --- a/dev-db/pglogical/Manifest +++ b/dev-db/pglogical/Manifest @@ -1,2 +1 @@ -DIST REL2_4_1.tar.gz 277428 BLAKE2B 51319e3b1491e1857e63e63640f2e6d2315ab72a0aabcfe7869456822a294bdb53fd0f4cc9bca0c60bfcf9e0926249acad86f09327c5656735b508851037ccaf SHA512 0d673e1a2b696e2cfbb94d8350bb15c280947f69b6512aa80f8ef7497e30cbd407a01b9a4f8fa9844b4ccb39377a6b2bee390a7887f3050074c2e6a11e6f3e3f DIST REL2_4_4.tar.gz 280564 BLAKE2B 67d9cf090117875f58d671987fcd5593b9db5b78b31c79fc44c23d4ce5ebfcb1eb7b970ebb026ca6dedefd958081a3bc4ef7ce502e7edda027a5d082f879e385 SHA512 163b5f6ea61fd83eadbde843745d72ebe7f1fb401d5506c9bbf3689871e5b81c85e7536103080a71fa6567942f4278326a0fb232e19f432665757e23132be94d diff --git a/dev-db/pglogical/pglogical-2.4.1.ebuild b/dev-db/pglogical/pglogical-2.4.1.ebuild deleted file mode 100644 index 75619daafaddb..0000000000000 --- a/dev-db/pglogical/pglogical-2.4.1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -POSTGRES_COMPAT=( 9.6 {10..14} ) - -inherit postgres-multi - -MY_PV=$(ver_rs 1- '_') -MY_P="${PN}-${MY_PV}" -S="${WORKDIR}/${PN}-REL${MY_PV}" - -DESCRIPTION="Logical replication for PostgreSQL" -HOMEPAGE="https://www.2ndquadrant.com/en/resources/pglogical/" -SRC_URI="https://github.com/2ndQuadrant/pglogical/archive/REL${MY_PV}.tar.gz" - -LICENSE="POSTGRESQL" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="${POSTGRES_DEP}" -RDEPEND="${DEPEND}" - -src_compile() { - postgres-multi_foreach emake USE_PGXS=1 || die "emake failed" -} - -src_install() { - postgres-multi_foreach emake DESTDIR="${D}" USE_PGXS=1 install - postgres-multi_foreach dobin pglogical_create_subscriber -}