commit:     a59c08dc7d53f3b202e79b740311978e740c8376
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 13:59:48 2024 +0000
Commit:     罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 14:05:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59c08dc

dev-db/pgtap: add 1.3.1

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 dev-db/pgtap/Manifest           |  1 +
 dev-db/pgtap/pgtap-1.3.1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-db/pgtap/Manifest b/dev-db/pgtap/Manifest
index dd00a611ef19..a015f57d011e 100644
--- a/dev-db/pgtap/Manifest
+++ b/dev-db/pgtap/Manifest
@@ -1 +1,2 @@
 DIST pgtap-1.2.0.zip 319374 BLAKE2B 
1cea77860a1928ed7cbf4ddb0bb8ff418023bf88e377196ae2b505c065321e3003179227077567e676a8c551230d259ecd1cdb590001fc71bcc821b87fb3d0f6
 SHA512 
5569bea5e7879787a91fa9b2baae5cbff1db5b9a5a096db2a9a064012d65e02c52bd1520422b5e6f87fb5b6e64845371188ea53c43a277aee68ffc05d5152ed7
+DIST pgtap-1.3.1.zip 654637 BLAKE2B 
412dfcb51813552541f935328e28fbf8f0a014536a5eee8bf55ea680cd22a6424529641040627f91afebb407872d8d3d4aa25e576d965ddb11514229c2b72591
 SHA512 
98129bbbdf2221502e52375c3e55dff324e69cb930865d1589949ad2d96ddeac1a215e10d0612f7cc050d9a725817b01b23a9cc3e9cb42ef23a929e593ecb698

diff --git a/dev-db/pgtap/pgtap-1.3.1.ebuild b/dev-db/pgtap/pgtap-1.3.1.ebuild
new file mode 100644
index 000000000000..ae38357d91c4
--- /dev/null
+++ b/dev-db/pgtap/pgtap-1.3.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE=""
+
+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
+}

Reply via email to