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 8CA3A15808B for ; Thu, 17 Mar 2022 14:37:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7258E07EC; Thu, 17 Mar 2022 14:37:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33A80E07EC for ; Thu, 17 Mar 2022 14:37:45 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A0EE34362C for ; Thu, 17 Mar 2022 14:37:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 85DD231A for ; Thu, 17 Mar 2022 14:37:42 +0000 (UTC) From: "Aaron W. Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron W. Swenson" Message-ID: <1647527847.98f188b45eefa86a191b908da93851f38fc5eccc.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgtap/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgtap/pgtap-1.2.0-r1.ebuild X-VCS-Directories: dev-db/pgtap/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron W. Swenson X-VCS-Revision: 98f188b45eefa86a191b908da93851f38fc5eccc X-VCS-Branch: master Date: Thu, 17 Mar 2022 14:37:42 +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: 67403ff9-b95a-4eea-8b63-956e33a5ff46 X-Archives-Hash: 165dc31655ca1e1d4ca55a434afac5f4 commit: 98f188b45eefa86a191b908da93851f38fc5eccc Author: Aaron W. Swenson gentoo org> AuthorDate: Thu Mar 17 14:30:11 2022 +0000 Commit: Aaron W. Swenson gentoo org> CommitDate: Thu Mar 17 14:37:27 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f188b4 dev-db/pgtap: Fix unexpected paths, support Pg 14 Bug: https://bugs.gentoo.org/801097 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgtap/pgtap-1.2.0-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-db/pgtap/pgtap-1.2.0-r1.ebuild b/dev-db/pgtap/pgtap-1.2.0-r1.ebuild new file mode 100644 index 000000000000..747da8ca2c29 --- /dev/null +++ b/dev-db/pgtap/pgtap-1.2.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 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" +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() { + default + + rm -r ${ED}/usr/share/doc/postgresql* || die "Failed to remove improper doc locations" + dodoc doc/pgtap.mmd +}